Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #################################
- # SimpleAnnouncer Configuration #
- #################################
- Locale: en_UK # The locale for the plugin. Requires a translated locale file. Defaults to en_UK
- # To use a custom locale make sure you have the appropriate file in the LangFiles folder
- # The format is [LOCALE].properties
- DebugMode: false # Spams a load of stuff to the console. Useful for error reporting
- DelayFromStart: 0 # The delay between announcements starting and the first announcement (in seconds)
- Interval: 100 # The interval between announcements (in seconds)
- DateFormat: 'hh:mm aa dd/MM/yy' # The date format for all the date related tags
- # See http://v.gd/SimpleDateFormat for more date formatting
- Vault:
- Bother: false # Whether the plugin should even bother doing anything Vault related
- Tag: '&5[Alert]&r ' # The prefix for all announcements. You can use tags here too!
- AnnouncementMode: SHUFFLE # NORMAL = Announces in order written and then restarts (defaults NORMAL unless otherwise stated)
- # RANDOM = Announces in a completely random order
- # SHUFFLE = Announces in a random order but will not repeat announcements until all others have been announced
- Announcements:
- 1: '&eHelp the server community! Buy &bPerks&e, &aVIP &eand &6Moneys&e!'
- 2: '&eVote the server, get free &bDiamonds&e!'
- 3: '&eFound a bug? Please report it to one of the &9Helper&e, &2Moderator&e or &cOwner&e, immediately!'
- 4: '&eStuck and glitched? Type /spawn to teleport back to the Main Area!'
- # Announcements run in this order:
- # Worlds checked -> Groups checked (if Vault is usable) -> Permissions checked -> [RB] Commands executed -> Announcement broadcasted -> Commands executed
- Worlds:
- 1: 'world' # Again, fairly self explanatory
- YouDontHaveToUseNumbers: 'another_world'
- 3: ['world', 'world_nether', 'world_the_end'] # Broadcast to several worlds with this much easier way of doing YAML lists
- Groups: # VAULT IS NEEDED TO DO GROUP CHECKS
- 1: 'Admin' # All groups are dependent upon Vault being present.
- 2: 'Visitor'
- 3: ['Admin', 'Visitor'] # Broadcast to two groups using the easy list method
- Permissions:
- 1: 'some.permission' # Fairly self explanatory.
- 2: 'another.random.permission'
- 3:
- - 'some.permission' # You can split several permissions by spreading them over several lines
- - 'another.permission' # This announcement would only go to people with both permissions
- Commands:
- 1: '/heal %pname%' # You can use tags in commands too!
- 2: 'smite %pname%' # You don't have to start with a slash...
- # You can even miss out announcements if you want
- 3: # Here's where stuff gets complicated ;)
- - 'P:/balance' # Prefix with P: and the command will be run as every player who receives the announcement
- - 'C:/heal all' # Same as prefixing with P:, but this command will be run from the console (as op)
- - 'say spammy spammy spam spam' # By default the commands will act as if prefixed with C:
- YouCanUseWhateverYouWantHere: '[RB]feed %pname%' # Start a command with [RB] and it will be run before the announcement
- YouDontHaveToUseNumbers: '[RB]C:/say Hello!' # You can mix the command and order tags. Make sure [RB] is first!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement