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
- # Once you've configured SuperbVote, add it to our official server list, CraftServers.net:
- # Official server list: https://www.craftservers.net/
- # 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 must pass before allowing another vote (per-service). This will apply per service.
- # Default: 3600 seconds (1 hour)
- cooldown-per-service: 3600
- # 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. See https://github.com/minecrafter/SuperbVote/wiki/Configuration#if for a full list of available
- # matchers.
- - if:
- permission: superbvote.test
- chance-percentage: 5
- service: SpecialService
- commands:
- - crate give %player% Vote
- - crate give %player% Bomb
- player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 4 diamonds and $1000."
- broadcast-message: "&c%player% &7voted and received a &cVote Crate Key, but got lucky and got a &cBomb&7create key&7!"
- # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
- # be used with this matcher and only one such reward can be the default reward.
- - if:
- default: true
- commands:
- - crate give %player% Vote 1
- player-message: "&7Thanks for voting for us you have been rewarded with a &cVote&7 crate key!"
- broadcast-message: "&c%player% &7voted and received a &cVote Crate Key&7!"
- # 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: true
- use-json-text: true
- text: |-
- &m&7-------------------------------------------
- &c https://minecraftservers.org/server/521144
- &m&7-------------------------------------------
- # Vote reminder.
- vote-reminder:
- message: "&c(!) &7Don't forget to vote for us! You currently have &c%votes%&7 votes."
- on-join: true
- repeat: 180
- # Controls the /sv <top/leaderboard> command.
- leaderboard:
- # Supported: text, scoreboard
- display: text
- # The text format supports pagination.
- text:
- per-page: 10
- header: "&c&m---------&r&7[&c Top Voters &r&7]&c&m---------&r"
- entry: "&c%num% &8> &c%player% &7(&c%votes%&c votes&7)"
- page: "&7(&cpage %page%/%total%&7)"
- # 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