Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for CodingGuru1968

Allows verified players to start votes to ban/kick/mute players without having mod permissions.

Report VoteBan?

VoteBan

Allows players with the correct permission to start a vote with a reason as to why any player should be banned, kicked or muted from playing on the server. This could be used an alternative for when staff members are inactive on your server and allow verified players to initiate a vote which would lower the chance of these players abusing by having official ban, kick or mute permissions.

This plugin supports ANY ban or mute system since it uses custom commands.

Discord For Support + New Features: https://discord.gg/Rqmngywv57

Commands:

  • /votemute [reason] - Start a vote mute for a player online.
  • /voteban [reason] - Start a vote ban for a player online.
  • /votekick [reason] - Start a vote kick for a player online.
  • /addvote - Vote for a current ban/kick in progress.

Permissions:

  • VOTEBAN.* - Access to all commands.
  • VOTEBAN.VOTE - Use the /addvote command.
  • VOTEBAN.STARTKICK - Use the /votekick command.
  • VOTEBAN.STARTBAN - Use the /voteban command.
  • VOTEBAN.STARTMUTE - Use the /votemute command.
  • VOTEBAN.BYPASS - Not allow votes on players with this permission.
images

https://i.gyazo.com/515cb8d4a2ac657210367bc0c31c940e.png

https://i.gyazo.com/4f8f84858a9188947f7486dd8786200d.png

https://i.gyazo.com/fecf5a11dcef8e445822bfbd3538905a.png

config.yml
# General Settings

check-for-updates: true # Check for new plugin updates

# Use mini messages
# Allows for clickable links, actions and more.
# https://www.spigotmc.org/threads/minimessage-rich-text-messages-made-easy.433454/

use-mini-message: false
  
# Already voted for player settings
# This setting will stop players from spamming the same player multiple times
# So once voted for and failed, it will not allow you to start another vote on that player

already-voted:
  enabled: true
  length: 300 # Length in seconds that they will not allowed to be voted for again
  # If enabled it will only block that player for the vote that was started (for example it will only block /votemute and not /voteban)
  # If disabled then that player cannot be voted for with any command once failed (/voteban, /votemute and /votekick)
  allow-different-votes: false

# Command to vote ban players

vote-ban:
   enabled: true # Is command enabled
   requires-permission: true # Requires permission to use this command
   announce-votes: false # Announce in chat every time a player votes
   automatically-add-vote: true # The player that starts the vote, automatically votes   
   
   ban-cmd: 'ban %player% %reason%' # This is the command to execute when a successful vote occurs
 
   decision:
     instant: false # This means the vote will instantly end once the minimum votes have been reached (rather than continuing until timer ends)
     countdown: 60 # Count down in seconds before a decision is made
   
   stop-chat:
     enabled: false # Use this to disable chat while a vote is in progress
     requires-permission: true # Use this to require an additional permission to stop the chat (VOTEBAN.STOPCHAT)
     
   votes: 
     type: 'MIN_VOTES' # This value will either be "MIN_VOTES" or "SERVER_PERCENTAGE"
     min-votes: 1 # Minimum votes required to kick the player (will only be used if type is "MIN_VOTES")
     server-percentage: 10 # This value is a percentage out of 100 based on the number of players online compared to the number of votes (will only be used if type is "SERVER_PERCENTAGE")
     
   broadcast-times: # Times in seconds that it will broadcast a message
   - 60
   - 30
   - 10

# Command to vote mute players

vote-mute:
   enabled: true # Is command enabled
   requires-permission: true # Requires permission to use this command
   announce-votes: false # Announce in chat every time a player votes
   automatically-add-vote: true # The player that starts the vote, automatically votes
   
   mute-cmd: 'mute %player%' # This is the command to execute when a successful vote occurs
   
   decision:
     instant: false # This means the vote will instantly end once the minimum votes have been reached (rather than continuing until timer ends)
     countdown: 60 # Count down in seconds before a decision is made
   
   stop-chat:
     enabled: false # Use this to disable chat while a vote is in progress
     requires-permission: true # Use this to require an additional permission to stop the chat (VOTEBAN.STOPCHAT)
        
   votes: 
     type: 'MIN_VOTES' # This value will either be "MIN_VOTES" or "SERVER_PERCENTAGE"
     min-votes: 10 # Minimum votes required to kick the player (will only be used if type is "MIN_VOTES")
     server-percentage: 10 # This value is a percentage out of 100 based on the number of players online compared to the number of votes (will only be used if type is "SERVER_PERCENTAGE")
     
   broadcast-times: # Times in seconds that it will broadcast a message
   - 60
   - 30
   - 10
   
# Command to vote kick players

vote-kick:
   enabled: true # Is command enabled
   requires-permission: true # Requires permission to use this command
   announce-votes: false # Announce in chat every time a player votes
   automatically-add-vote: true # The player that starts the vote, automatically votes
   
   decision:
     instant: false # This means the vote will instantly end once the minimum votes have been reached (rather than continuing until timer ends)
     countdown: 60 # Count down in seconds before a decision is made
   
   stop-chat:
     enabled: false # Use this to disable chat while a vote is in progress
     requires-permission: true # Use this to require an additional permission to stop the chat (VOTEBAN.STOPCHAT)
        
   votes: 
     type: 'MIN_VOTES' # This value will either be "MIN_VOTES" or "SERVER_PERCENTAGE"
     min-votes: 10 # Minimum votes required to kick the player (will only be used if type is "MIN_VOTES")
     server-percentage: 10 # This value is a percentage out of 100 based on the number of players online compared to the number of votes (will only be used if type is "SERVER_PERCENTAGE")
     
   broadcast-times: # Times in seconds that it will broadcast a message
   - 60
   - 30
   - 10
ignore - search tags
  • ban plugin
  • kick plugin
  • mute plugin
  • spigot punishment plugin
  • minecraft punish
  • votekick
  • voteban
  • votemute
  • start a vote
  • mute players
  • kick players
  • ban players
  • verified players start votes

Information

CategoryAdmin Tools
Published onAugust 12, 2024
LicenseUnspecified
Downloads23
Stars0
Watchers0

Pinned Versions

Members