⭐ VoteBan ⭐ - Allow Verified Players To Start Votes (1.7-1.21) icon

⭐ VoteBan ⭐ - Allow Verified Players To Start Votes (1.7-1.21) -----

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




+ Fixed an issue with broadcasting messages with Mini Message enabled.
----------, Oct 1, 2024

+ Added support for MiniMessages in the config ("use-mini-message")
----------, Oct 1, 2024

+ Added "automatically-add-vote" for the player voting in the config for each vote type.
+ Added a way to store previously voted for players so they cannot be spammed in the config file "already-voted".
+ Fixed an issue with not being able to start more than one vote.
+ Fixed an issue with the stop chat permission.
+ Cleaned up some areas of the code.
----------, Sep 3, 2024

+ Fixed plugin not working on lower versions of Java.
+ Added support for Java version 8+.
----------, Aug 22, 2024

+ Updated to the latest version of Spigot.
----------, Jul 8, 2024

INFORMATION:

You will need to reset your config.yml when installing this new version.
This is for readability purpose and will not happen again.


+ Changed config.yml so much more readable.
+ Removed the use of a prefix in messages.
+ Removed help command as not needed.
+ Added an update check on startup for new versions (+ option to disable this).
+ Added images to the plugin page.
----------, Jun 12, 2024

+ Added a help menu with the command "/voteban h" (VOTEBAN.HELP).
+ Fixed discord link on front page.
----------, Jun 2, 2024

+ Added a new option to the vote system that allows you to base the vote on the percentage of players online rather than a specified minimum number of votes.

For example you could say 50% of the server have to vote for it to be successful.

+ Added a new section to each vote type in the config.yml instead of "MIN_VOTES", it will now have the following section (if you are already using the plugin then you will need to add this manually, check the plugin page for the full config file):

Code (Text):
   VOTES:
     TYPE: 'MIN_VOTES' # This value will either be "MIN_VOTES" or "SERVER_PERCENTAGE"
     MIN_VOTES: 10 # Minimum votes required to mute 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")
----------, May 25, 2024

- Fixed a major issue with commands not being loaded.
- Updated Java to version 22.
- Added a api-version to plugin.yml
----------, May 21, 2024

+ Removed some unused code.
+ Added a much more detailed console log.
----------, May 19, 2024

+ Massive code cleanup, improved many areas.

+ Fixed an issue with announcing votes boolean only applying to bans.
+ Fixed a minor issue with /votekick being a different permission.

+ Added the option to /votemute <player> [reason] (Permission = "VOTEBAN.STARTMUTE")
+ Added the following section to the config.yml file (if you are already using the plugin then you will need to add this manually):

VOTE_MUTE:
ENABLED: true
REQUIRES_PERMISSION: true
ANNOUNCE_VOTES: false
MUTE_CMD: 'mute %player%' # This is the command to execute when a successful vote occurs
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)
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
MIN_VOTES: 10 # Minimum votes required to mute the player
BROADCAST_TIMES: # Times in seconds that it will broadcast a message
- 60
- 30
- 10
----------, May 17, 2024

IMPORTANT:

Please refer to version 1.4.1 changelog if you're already using this plugin and want to update.


+ Added a permission to disallow players to start a vote on players with this permission (VOTEBAN.BYPASS)
----------, May 13, 2024

IMPORTANT PLUGIN CHANGES. PLEASE READ.

If you already have this plugin installed, then it will reset your current bans due to the new system. This will not happen again.

If you want to migrate your bans over then view the banned-players.json file and ban all the UUIDs stored in that file.

This plugin now uses a custom ban command rather than built-in system.

If you already have the plugin installed, and you want access to the new features then delete the config.yml file to allow it to reset.

These changes allow for your server to use a better, more customized ban system while still having the option for vote bans no matter your ban plugin.


Changes:


+ Removed commands /tempban, /unban, /ban.
+ Removed some unused messages.
+ Cleaned up plugin code.

+ Added a custom command for when players are banned.
+ Added the option to stop chat while a voteban is in progress (With a custom permission if needed).
+ Added the option for an instant stop to the vote task once the minimum number of votes has been reached (doesn't continue timer)

+ Fixed the successful vote ban message being the kick message.
+ Fixed a minor issue with cancelling the task after complete.
----------, May 13, 2024

+ Fixed messages in the lang.yml not being applied.
+ Fixed an issue where players could vote multiple times.
----------, May 12, 2024

+ Cleaned up some unused code.
+ Updated to the latest Spigot version.
----------, May 12, 2024

+ Changed command /vote to /addvote to prevent any conflict with voting plugins.
+ Added a version number on plugin startup.
----------, May 7, 2024

Resource Information
Author:
----------
Total Downloads: 695
First Release: May 2, 2024
Last Update: Oct 1, 2024
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings