PluginLicenseRef-All-Rights-Reserved
UpVotes
A plugin that allows players to ban themselves.
22
Downloads
0
Followers
1 years ago
Updated
📦
1
Versions
📖About UpVotes
Plugin UpVotes
A plugin for SMP servers that allows players to ban each other by voting!
Main functions and commands:
/startvote [nick] [ban/permission] [1s/m/h/d]
This command allows you to initiate a vote.
To use it, you need the upvotes.startvote permission.
The ban vote will be directed to the player's ban.
permission - voting, giving the player the right to start voting himself.
/vote [for/against]
This command is used when voting has already begun, and obviously it is your vote.
Players who have played more than a certain number of hours specified in the config can vote.
It requires PlaceholdersAPI and its Statistics library
/papi ecloud download Statistics
/papi reload
Contents of config.yml:
# Minimum number of hours played for voting
min-hours-played: 10
# Voting time in seconds
vote-duration: 120
# Percentage of votes for success (for example, 60 means 60% of votes in favor)
success-percentage: 51
# Maximum number of votes per day per player
max-votes-per-day: 3