AutoBroadcast
Bottom of config.yml
The following is a code snippet of the AutoBroadcast functionality.
Enable or disable auto broadcasting
Enable if you wish to center all text in the Messages
List of strings that allow for PAPI & Internal Variables replacement for each top and bottom of the announcements
Header Message Text here Footer
Number of seconds between each broadcast
A list of unique keys which contain list of strings used for the actual announcement. Within each key, you can use the following values - PAPI Variables (Global) - Internal Variables from the config.yml
<center> When placed at the beginning of the line, it will center it to the average size of the box for a majority of players (154px) relative to the letter sizing of the string. <command=/someCMD/> Allow users to click on the text and run a command. The user is prompted on the screen to ensure they wish to actually run the command. <link=https://www.google.com/> Allow users to click on the text and open a website. The user is prompted on the screen to ensure they wish to actually open the website they clicked on.
AutoBroadcast:
Enabled: true
centerall: false
use_this_to_override: "<center>"
use_this_for_commands: "<command=/bc test2/> &dCLICK"
Header:
- ''
- '&8&l&m------------------------------------&7'
- '<center>&d&l%SERVERNAME%'
- ''
Footer:
- ''
- '&8&l&m------------------------------------&7'
- ''
Interval: 180
Messages:
website:
- '<link="http://www.google.com"><center>View My Website Google.com!'
rules:
- '<center>&f%RULES%'
discord:
- '<center>&f%DISCORD%'
store:
- '<center>&f%STORE%'
islandfly:
- '<command=/vote/><center>&d/Vote &ffor 3 hours of &d/is fly&f!'
- '<center>&7&o(Click to run the vote command)'
warzone:
- '<command=/warzone/><center>&fBattle in pvp with &c/warzone'
- '<center>&7&o(Click to run the warzone command)'
Last updated