Vote to Kick - By FAXES
About
Today I release a vote-to-kick system.This system allows players to be able to vote-to-kick. This can be helpful then there’s no admins on the server at the time. The system is simple and has a config for basically everything. You can customize the needed votes before the player is kicked from the server, see further configs below! Note: This scripts permissions are compatible with Fax-Core but are not required
In the Download
__resource.lua
server.lua
client.lua
config.lua
License.md
Commands
Default Commands - These can be easily changed
/votekick <ID> # Starts the vote-to-kick process
/voteyes # Votes yes on the active vote-to-kick
/voteno # Votes no on the active vote-to-kick
/cancelvote # Admin commands to force cancel a current vote
Features List
- Configurable amount of time before starting another vote
- Editable Commands
- Changeable amount of ‘yes’ votes needed before the player is kicked
- One vote per-player
- Compatible with Fax-Core
- Configurable kick messages
- big config
- Displays message in chat
Default Configuration
faxCore = false -- If you have FAX-CORE and want to use its permissions set this to true.
minVoteAmt = 5 -- Amount of 'yes' votes needed to kick the player.
voteWaitTime = 10 -- Time in MINUTES that players must wait before using the voteCmd again (to prevent vote-to-kick spam).
playerKickMessages = true -- Do you want a kick message to display in chat when a player is kicked?
kickMessage = "You were vote kicked from the server" -- Message displayed to the player when they are vote kicked.
voteCmd = "votekick" -- Command that starts the vote to kick process.
CancelCmd = "cancelvote" -- Command to cancel the vote-to-kick event (Admin Use Only).
voteYesCmd = "voteyes" -- Command to vote yes on the kick.
voteNoCmd = "voteno" -- Command to vote no on the kick.
faxDebug = false -- Only set to true if asked by FAXES.
Requirements
None. This is a STANDALONE!!! script, but does work with Fax-Core (not required) NO ESX!
Downloads:
Installation
Place in your resources folder, just like any other NORMAL resource. Be sure to follow this link for ACE Perms Docs.
If you have any issues or comments please put them below.