BanTools | v1.2 Features
- Ban Functionality:
- Supports banning by UUID, IP address, or player name.
- Default ban duration is permanent (if no duration is specified).
- Supports specifying ban duration (e.g.,
7d
for 7 days,2024/1/10-2025/01/10
for a custom date range). - Automatically kicks banned online players.
- Unban Functionality:
- Supports unbanning a player using the
/bantools unban
command. - Unbanning does not delete the ban record but marks the ban status as invalid.
- Supports unbanning a player using the
- Kick Functionality:
- Supports immediately kicking a player using the
/bantools kick
command. - A custom kick reason can be specified (default uses the configured reason in the config file).
- Supports immediately kicking a player using the
- Automatic Unban Mechanism:
- If a ban duration is specified, the ban will automatically expire when the time ends.
- Multi-Condition Matching:
- On login, checks if UUID, IP address, or player name matches any ban records.
- If any condition matches, the player is considered banned.
- Configuration File Support:
- All ban records are stored in the
config.conf
file, which supports manual editing. - The configuration file allows setting default ban and kick reasons.
- All ban records are stored in the
- Dynamic Configuration Reload:
- Supports dynamically reloading the configuration file via the
/bantools reload
command without restarting the server.
- Supports dynamically reloading the configuration file via the
- Real-Time Synchronization:
- All ban, unban, and kick operations are synchronized in real-time across all downstream servers.
更新日志: 优化了部分代码结构 删除了一些冗余代码 更新了英文版README.md
如果有bug,欢迎提交Issues!
BanTools - Velocity Ban Management Plugin
BanTools is an advanced ban management plugin designed for Minecraft Velocity servers. It supports banning players by UUID, IP address, or username, and provides dynamic configuration reloading and real-time kicking of online players.
Note: This plugin is AI-developed to help server administrators manage player bans more efficiently.
Features
- Multi-Dimensional Bans:
- Supports banning players by UUID, IP address, or username.
- Ban priority: UUID > IP > Username.
- Dynamic Ban Management:
- Use
/ban uuid <uuid>
,/ban ip <ip>
, and/ban name <name>
to dynamically add bans. - Bans are instantly written to the configuration file (
config.conf
).
- Use
- Online Player Handling:
- Banned players currently online are kicked immediately.
- Configuration Reload:
- Use
/bantools reload
to reload the configuration file without restarting the server.
- Use
- User-Friendly:
- Configuration files use HOCON format for easy maintenance and scalability.