Advertisement
Guest User

koenkoro's SimpleAnnouncer config.yml

a guest
Sep 30th, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. #################################
  2. # SimpleAnnouncer Configuration #
  3. #################################
  4.  
  5. Locale: en_UK # The locale for the plugin. Requires a translated locale file. Defaults to en_UK
  6. # To use a custom locale make sure you have the appropriate file in the LangFiles folder
  7. # The format is [LOCALE].properties
  8.  
  9. DebugMode: false # Spams a load of stuff to the console. Useful for error reporting
  10.  
  11. DelayFromStart: 0 # The delay between announcements starting and the first announcement (in seconds)
  12.  
  13. Interval: 100 # The interval between announcements (in seconds)
  14.  
  15. DateFormat: 'hh:mm aa dd/MM/yy' # The date format for all the date related tags
  16. # See http://v.gd/SimpleDateFormat for more date formatting
  17.  
  18. Vault:
  19. Bother: false # Whether the plugin should even bother doing anything Vault related
  20.  
  21. Tag: '&5[Alert]&r ' # The prefix for all announcements. You can use tags here too!
  22.  
  23. AnnouncementMode: SHUFFLE # NORMAL = Announces in order written and then restarts (defaults NORMAL unless otherwise stated)
  24. # RANDOM = Announces in a completely random order
  25. # SHUFFLE = Announces in a random order but will not repeat announcements until all others have been announced
  26.  
  27. Announcements:
  28. 1: '&eHelp the server community! Buy &bPerks&e, &aVIP &eand &6Moneys&e!'
  29. 2: '&eVote the server, get free &bDiamonds&e!'
  30. 3: '&eFound a bug? Please report it to one of the &9Helper&e, &2Moderator&e or &cOwner&e, immediately!'
  31. 4: '&eStuck and glitched? Type /spawn to teleport back to the Main Area!'
  32.  
  33. # Announcements run in this order:
  34. # Worlds checked -> Groups checked (if Vault is usable) -> Permissions checked -> [RB] Commands executed -> Announcement broadcasted -> Commands executed
  35.  
  36. Worlds:
  37. 1: 'world' # Again, fairly self explanatory
  38. YouDontHaveToUseNumbers: 'another_world'
  39. 3: ['world', 'world_nether', 'world_the_end'] # Broadcast to several worlds with this much easier way of doing YAML lists
  40.  
  41. Groups: # VAULT IS NEEDED TO DO GROUP CHECKS
  42. 1: 'Admin' # All groups are dependent upon Vault being present.
  43. 2: 'Visitor'
  44. 3: ['Admin', 'Visitor'] # Broadcast to two groups using the easy list method
  45.  
  46. Permissions:
  47. 1: 'some.permission' # Fairly self explanatory.
  48. 2: 'another.random.permission'
  49. 3:
  50. - 'some.permission' # You can split several permissions by spreading them over several lines
  51. - 'another.permission' # This announcement would only go to people with both permissions
  52.  
  53. Commands:
  54. 1: '/heal %pname%' # You can use tags in commands too!
  55. 2: 'smite %pname%' # You don't have to start with a slash...
  56. # You can even miss out announcements if you want
  57.  
  58. 3: # Here's where stuff gets complicated ;)
  59. - 'P:/balance' # Prefix with P: and the command will be run as every player who receives the announcement
  60. - 'C:/heal all' # Same as prefixing with P:, but this command will be run from the console (as op)
  61. - 'say spammy spammy spam spam' # By default the commands will act as if prefixed with C:
  62. YouCanUseWhateverYouWantHere: '[RB]feed %pname%' # Start a command with [RB] and it will be run before the announcement
  63. 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