Guest User

SuperbVote

a guest
Feb 23rd, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. # SuperbVote configuration
  2. # A superb vote plugin made by Tux.
  3. #
  4. # https://github.com/minecrafter/SuperbVote/wiki
  5.  
  6. # Once you've configured SuperbVote, add it to our official server list, CraftServers.net:
  7. # Official server list: https://www.craftservers.net/
  8.  
  9. # Database configuration.
  10. storage:
  11. database: json
  12. json:
  13. file: votes.json
  14. mysql:
  15. host: 127.0.0.1
  16. username: root
  17. password: topsecret
  18. database: superbvote
  19. table: votes
  20. read-only: false
  21.  
  22. # General vote configuration.
  23. votes:
  24. # At least this many seconds must pass before allowing another vote (per-service). This will apply per service.
  25. # Default: 3600 seconds (1 hour)
  26. cooldown-per-service: 3600
  27.  
  28. # Whether or not to treat fake votes as real votes
  29. process-fake-votes: true
  30.  
  31. # Rewards. This is the main section you will need to edit. Ordering is important.
  32. rewards:
  33. # Example of matchers. See https://github.com/minecrafter/SuperbVote/wiki/Configuration#if for a full list of available
  34. # matchers.
  35. - if:
  36. permission: superbvote.test
  37. chance-percentage: 5
  38. service: SpecialService
  39. commands:
  40. - give %player% diamond 4
  41. - eco give %player% 1000
  42. player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 4 diamonds and $1000."
  43. broadcast-message: "&a%player% got really lucky and was rewarded with 4 diamonds and $1000!"
  44. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  45. # be used with this matcher and only one such reward can be the default reward.
  46. - if:
  47. default: true
  48. commands:
  49. - eco give %player% 1000
  50. player-message: "&aThanks for voting for us on %service%, you have been rewarded with $1000."
  51. broadcast-message: "&a%player% has voted for us on %service% and was rewarded with $1000!"
  52.  
  53. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  54. require-online: true
  55.  
  56. # Broadcast settings:
  57. broadcast:
  58. # Should we broadcast votes at all?
  59. enabled: true
  60.  
  61. # Should we tell players if they voted?
  62. message-player: true
  63.  
  64. # Should we broadcast queued votes?
  65. queued: true
  66.  
  67. # Vote command.
  68. # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
  69. # and https://www.minecraftjson.com for json text format
  70. vote-command:
  71. enabled: false
  72. use-json-text: false
  73. text: |-
  74. You could vote for us, but the owner forgot to add the list of websites to vote at!
  75.  
  76. # Vote reminder.
  77. vote-reminder:
  78. message: "&cDon't forget to vote for us! You currently have &a%votes%&c votes."
  79. on-join: true
  80. repeat: 180
  81.  
  82. # Controls the /sv <top/leaderboard> command.
  83. leaderboard:
  84. # Supported: text, scoreboard
  85. display: text
  86.  
  87. # The text format supports pagination.
  88. text:
  89. per-page: 10
  90. header: "&c&m &r&b Top Voters &r&c&m &r"
  91. entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
  92. page: "&7(page %page%/%total%)"
  93.  
  94. # Control the scoreboard.
  95. scoreboard:
  96. title: Top voters
  97. max: 10
  98.  
  99. # Control top player signs.
  100. top-player-signs:
  101. format:
  102. - "#%num%"
  103. - ""
  104. - "%player%"
  105. - "&l%votes% &rvotes"
Add Comment
Please, Sign In to add comment