About VoteBan
A powerful and configurable voting system that allows players to democratically ban disruptive players from your Rust server.
Features
- Democratic Banning System: Players can initiate votes to ban other players
- Configurable Parameters: Customize voting duration, required percentage, and cooldown periods
- Temporary or Permanent Bans: Set ban durations or make them permanent
- Discord Integration: Automatic notifications for ban votes and results
-
Localization Support: Easily translate messages to any language
Anti-Abuse Measures:
- Cooldown between votes
- Minimum player requirement
- Optional admin protection
- Self-vote prevention
Commands
- /voteban playername/steamid - Start a vote to ban a player
- /y - Vote yes on the current ban vote
-
/n - Vote no on the current ban vote
Permissions
- voteban.start - Allows starting ban votes
- voteban.vote - Allows participating in ban votes
Configuration
{
"Required percentage (0-100)": 80.0,
"Vote duration (seconds)": 120,
"Cooldown between votes (minutes)": 10,
"Ban duration (minutes, 0 for permanent)": 60,
"Discord Webhook URL": "",
"Log to console": false,
"Minimum players required for voting": 4,
"Allow voting to ban self": false,
"Allow voting to ban admins": false,
"Reminder interval (seconds)": 30
}
Messages
All messages are customizable and support color formatting:
- Vote initiation notifications
- Vote success/failure messages
- Error messages and warnings
- Permission denied notifications
-
Instructions for voting
Installation
- Place the plugin in your server's oxide/plugins folder
- Configure the settings to match your server's needs
- Set up permissions for your players
-
(Optional) Configure Discord webhook for notifications
Notes
- The plugin automatically manages temporary bans
- Integrates with Discord for ban notifications (if webhook URL is provided)
- Saves ban data between server restarts