Advertisement
BlackBeltPanda

automatic-rewards.yml

Aug 1st, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. #-----------------------------------------#
  2. # #
  3. # LeaderHeads 2 #
  4. # A full-fledged solution to manage #
  5. # statistics and create leaderboards #
  6. # (R) RobiRami 2016 #
  7. # #
  8. #-----------------------------------------#
  9. # #
  10. # Automatic-rewards config #
  11. # #
  12. #-----------------------------------------#
  13.  
  14. # Automatic rewards
  15. # Change this to "rewards: []" to have no rewards.
  16. rewards:
  17. # Name of this automatic reward.
  18. # Used for logging in console
  19. votes:
  20. # Time interval to execute this automatic reward.
  21. # Options: daily, weekly or monthly
  22. # (Example: month would execute this reward at the end of every month)
  23. time-interval: monthly
  24. # The type of the leaderboard of this reward
  25. type: vr-monthly
  26. # Identifier of this leaderboard:
  27. # Options: all-time, daily, weekly, monthly or the name of one of your custom-statistics
  28. identifier: monthly
  29. # Whether it should wait until the player is online to execute the commands
  30. queue-commands: true
  31. # Commands
  32. # You can set up a command rewards per rank in the leaderboard (Example: 1 is the first in the leaderboard)
  33. # You can use any number between 1 and 10
  34. # Variables: {name}, {score}
  35. # Use 'broadcast' without a slash to broadcast a message
  36. commands:
  37. 1:
  38. - "/broadcast {name} is the top voter of the month with {score} votes"
  39. - "/mail send BlackBeltPanda Monthly top voter: {name} with {score} votes."
  40. - "/case givekey {name} 1 1"
  41. - "/case givekey {name} 1 2"
  42. - "/case givekey {name} 1 3"
  43. - "/case givekey {name} 1 4"
  44. - "/pex user {name} group add voter * 2628000"
  45. 2:
  46. - "/broadcast {name} is the second top voter of the month with {score} votes"
  47. - "/case givekey {name} 1 1"
  48. 3:
  49. - "/broadcast {name} is the third top voter of the month with {score} votes"
  50. - "/case givekey {name} 1 3"
  51.  
  52. # Version of the config
  53. # Do NOT change this
  54. config-version: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement