Advertisement
Guest User

Untitled

a guest
Aug 25th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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: 300 # 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: true # Whether the plugin should even bother doing anything Vault related
  20.  
  21. Tag: '[&3SimpleAnnouncer!&f] ' # The prefix for all announcements. You can use tags here too!
  22.  
  23. AnnouncementMode: NORMAL # 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: 'This is a test announcement!'
  29. 2: '&boldYou can even use &1color &2and &3style codes'
  30. 3: 'Thank you for using SimpleAnnouncer :)'
  31. YouDontHaveToUseNumbers: 'New in 1.8: Tags! %version%'
  32. YouCanUseWhateverYouWantHere: 'New in 2.0: Commands, Permissions, Worlds, Groups, More tags: %phealth%. Enjoy!'
  33.  
  34. # Announcements run in this order:
  35. # Worlds checked -> Groups checked (if Vault is usable) -> Permissions checked -> [RB] Commands executed -> Announcement broadcasted -> Commands executed
  36.  
  37. Worlds:
  38. 1: 'world' # Again, fairly self explanatory
  39. YouDontHaveToUseNumbers: 'another_world'
  40. 3: ['world', 'world_nether', 'world_the_end'] # Broadcast to several worlds with this much easier way of doing YAML lists
  41.  
  42. Groups: # VAULT IS NEEDED TO DO GROUP CHECKS
  43. 1: 'Admin' # All groups are dependent upon Vault being present.
  44. 2: 'Visitor'
  45. 3: ['Admin', 'Visitor'] # Broadcast to two groups using the easy list method
  46.  
  47. Permissions:
  48. 1: 'some.permission' # Fairly self explanatory.
  49. 2: 'another.random.permission'
  50. 3:
  51. - 'some.permission' # You can split several permissions by spreading them over several lines
  52. - 'another.permission' # This announcement would only go to people with both permissions
  53.  
  54. Commands:
  55. 1: '/heal %pname%' # You can use tags in commands too!
  56. 2: 'smite %pname%' # You don't have to start with a slash...
  57. # You can even miss out announcements if you want
  58.  
  59. 3: # Here's where stuff gets complicated ;)
  60. - 'P:/balance' # Prefix with P: and the command will be run as every player who receives the announcement
  61. - 'C:/heal all' # Same as prefixing with P:, but this command will be run from the console (as op)
  62. - 'say spammy spammy spam spam' # By default the commands will act as if prefixed with C:
  63. YouCanUseWhateverYouWantHere: '[RB]feed %pname%' # Start a command with [RB] and it will be run before the announcement
  64. 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