Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SuperbVote configuration
- # A superb vote plugin made by Tux.
- #
- # https://github.com/minecrafter/SuperbVote/wiki
- # Database configuration.
- storage:
- database: json
- json:
- file: votes.json
- mysql:
- host: 127.0.0.1
- username: root
- password: topsecret
- database: superbvote
- table: votes
- read-only: false
- # General vote configuration.
- votes:
- # At least this many seconds need to pass before allowing another vote (per-service). This will apply per service.
- # Default: 3600 seconds (1 hour)
- cooldown-per-service: 1
- # Whether or not to treat the server as online-mode. This is mostly required for BungeeCord setups.
- force-online-mode: false
- # Whether or not to treat fake votes as real votes
- process-fake-votes: true
- # Rewards. This is the main section you will need to edit. Ordering is important.
- rewards:
- # Example of matchers.
- - if:
- permission: superbvote.newbie
- cumulative-votes: 16
- commands:
- - pex user %player% group add recruit
- player-message: ""
- broadcast-message: "&6%player% has voted 16 times and was upgraded to the Recruit rank!"
- - if:
- permission: superbvote.recruit
- cumulative-votes: 55
- commands:
- - pex user %player% group add ranger
- player-message: ""
- broadcast-message: "&6%player% has voted 55 times and was upgraded to the Ranger rank!"
- - if:
- permission: superbvote.ranger
- cumulative-votes: 90
- commands:
- - pex user %player% group add wanderer
- player-message: ""
- broadcast-message: "&6%player% has voted 90 times and was upgraded to the Wanderer rank!"
- - if:
- permission: superbvote.random
- chance-fractional: 10
- services:
- - minecraft-server.net
- - minecraft-mp.com
- commands:
- - pex user %player% group add wanderer
- player-message: ""
- broadcast-message: "&6%player% ot lucky and won wanderer"
- - if:
- permission: superbvote.random
- chance-fractional: 5
- services:
- - minecraft-server.net
- - minecraft-mp.com
- commands:
- - pex user %player% group add ranger
- player-message: ""
- broadcast-message: "&6%player% ot lucky and won ranger"
- # Default rewards are defined by having no preconditions. Place it at the bottom of the config
- - if: {}
- commands:
- - eco give %player% 125
- - give %player% experience_bottle 4
- - give %player% diamond 1
- - give %player% cooked_beef 2
- - crate key %player% vote 1
- player-message: ""
- broadcast-message: "&a%player% just voted and won cash, EXP, diamonds, food and a vote crate key!"
- # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
- require-online: true
- # Broadcast settings:
- broadcast:
- # Should we broadcast votes at all?
- enabled: true
- # Should we tell players if they voted?
- message-player: true
- # Should we broadcast queued votes?
- queued: true
- # Vote command.
- # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
- # and https://www.minecraftjson.com for json text format
- vote-command:
- enabled: false
- use-json-text: false
- text: |-
- You could vote for us, but the owner forgot to add the list of websites to vote at!
- # Vote reminder.
- vote-reminder:
- message: ""
- on-join: false
- repeat: -1
- # Controls the /sv command.
- leaderboard:
- # Supported: text, scoreboard
- display: text
- # The text format supports pagination.
- text:
- per-page: 10
- header: "&c&m &r&b Top Voters &r&c&m &r"
- entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
- # Control the scoreboard.
- scoreboard:
- title: Top voters
- max: 10
- # Control top player signs.
- top-player-signs:
- format:
- - "#%num%"
- - ""
- - "%player%"
- - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement