Advertisement
Guest User

SuperbVote

a guest
May 13th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 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-pecentage: 5
  38. service: SpecialService
  39. commands:
  40. - give %player% diamond 4
  41. - eco give %player% 1000
  42. player-message: "&aThanks for voting."
  43. broadcast-message: "&a%player% got really lucky and was rewarded with 4 diamonds and $1000!"
  44. # Default rewards are defined by having no preconditions. Place it at the bottom of the config.
  45. - if: {}
  46. commands:
  47. - eco give %player% 200
  48. - crate givekey %player% Voter 1
  49. player-message: "&aThanks for voting."
  50. broadcast-message: "&2%player% &7has voted at &2vote.kystromc.com &7and received &21 voter key &7and &2200 skybucks&7!"
  51.  
  52. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  53. require-online: true
  54.  
  55. # Broadcast settings:
  56. broadcast:
  57. # Should we broadcast votes at all?
  58. enabled: true
  59.  
  60. # Should we tell players if they voted?
  61. message-player: true
  62.  
  63. # Should we broadcast queued votes?
  64. queued: true
  65.  
  66. # Vote command.
  67. # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
  68. # and https://www.minecraftjson.com for json text format
  69. vote-command:
  70. enabled: true
  71. use-json-text: false
  72. text: |-
  73. &aVote daily for 1 voter key and 200 skybucks at &7http://vote.kystromc.com
  74.  
  75. # Vote reminder.
  76. vote-reminder:
  77. message: "&aVote daily for 1 voter key and 200 skybucks at &7http://vote.kystromc.com"
  78. on-join: true
  79. repeat:
  80.  
  81. # Controls the /sv <top/leaderboard> command.
  82. leaderboard:
  83. # Supported: text, scoreboard
  84. display: text
  85.  
  86. # The text format supports pagination.
  87. text:
  88. per-page: 10
  89. header: "&c&m &r&b Top Voters &r&c&m &r"
  90. entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
  91.  
  92. # Control the scoreboard.
  93. scoreboard:
  94. title: Top voters
  95. max: 10
  96.  
  97. # Control top player signs.
  98. top-player-signs:
  99. format:
  100. - "#%num%"
  101. - ""
  102. - "%player%"
  103. - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement