BanSystem
一款适用于 Paper 1.21x 的轻量级封禁插件
运营服务器意味着你需要处理那些迟早会违反规则的玩家。
BanSystem 为你提供应对这些问题的工具,以快速的方式完成,无需为了单一功能而安装臃肿的多功能插件。
为什么选择 BanSystem?
大多数封禁插件要么过于复杂,要么过于简陋。BanSystem 正好处于中间地带。
无需数据库设置。无需十几个配置文件。没有占用服务器资源的额外功能。只需将 jar 文件放入服务器并启动,即可立即使用。
工作人员可以在几秒钟内封禁玩家,Tab 补全功能会引导他们完成每个参数的输入。标准化的理由和时长确保团队中的每个人都遵循统一的封禁方式。不再出现历史记录的 hacker、hacking 和 cheating 杂乱无章的情况。
功能特性
自动过期的封禁
设置如 7d、12h 或 1mo 这样的时长,然后忘掉它。时间一到,玩家将被自动解封。无需 cron 任务,无需额外操作。
针对罪有应得者的永久封禁
一条命令。除非工作人员决定解除,否则他们将永远无法再回来。
玩家真正会阅读的封禁界面
不同于通用的踢出消息,玩家会确切地看到是谁封禁了他们、原因是什么、剩余多久以及何时可以回来。临时封禁和永久封禁各有独立的显示界面。
每位玩家的完整历史记录
/check <player> 显示一切信息。每一次封禁、每一次解封、执行者是谁、时间及原因。当玩家声称自己从未被警告过,或者你在考虑是否要给某人一次改过自新的机会时,这将非常有用。
无噪音的工作人员广播
当发生封禁或解封时,只有拥有相应权限的工作人员才能看到广播通知。普通玩家永远不会被不需要看到的消息打扰。
全面的 Tab 补全支持
玩家名称、temp 或 perm 时长、理由等所有选项都会自动出现在 Tab 补全中。你的工作人员几乎无需手动输入。
标准化的理由和时长
在配置文件中定义服务器的封禁理由,它们会自动出现在每位工作人员的 Tab 补全中。保持封禁历史记录整洁统一,确保团队内部的一致性。
保护重要玩家免受封禁
赋予某人 permission 权限后,任何人都无法通过插件封禁该玩家。这对于服务器所有者或高级工作人员非常实用。
所有数据存储在单个文件中
无需数据库。无需额外插件。所有封禁数据都保存在你的 config.yml 中。你可以轻松读取、编辑,并将配置文件与其他服务器文件一起备份。
命令
| 命令 |
描述 |
/ban temp <player> <duration> <reason> |
临时封禁一名玩家 |
/ban perm <player> <reason> |
永久封禁一名玩家 |
/unban <player> |
解封一名玩家 |
/check <player> |
查看玩家的封禁历史 |
权限
| 权限节点 |
描述 |
默认值 |
bansystem.ban |
封禁玩家 |
op |
bansystem.unban |
解封玩家 |
op |
bansystem.check |
查看封禁历史 |
op |
bansystem.broadcast.see |
查看封禁/解封广播 |
op |
bansystem.exempt |
不可被他人封禁 |
false |
时长格式
支持以下单位的任意组合:
| 单位 |
含义 |
s |
秒 |
m |
分钟 |
h |
小时 |
d |
天 |
w |
周 |
mo |
月 |
y |
年 |
示例: 30m 6h 3d 2w 1mo 1y 1d12h
兼容性
|
|
| 平台 |
Paper |
| 版本 |
1.21x |
| Java |
21 |
| 依赖项 |
无 |
BanSystem
A simple light-weight ban plugin for Paper 1.21x
Running a server means dealing with people who break the rules at some point.
BanSystem gives you the tools to handle that. In a way fast way and without installing a heavy multi-purpose plugin just for one thing.
Why BanSystem?
Most ban plugins are either too complicated or too simple. BanSystem is right in the middle.
No database setup. No ten config files. No extra features taking up your server resources. Just put the jar in start the server and you are ready to go.
Staff can ban players in seconds with tab-complete guiding them through every argument. Standard reasons and durations mean everyone on your team bans the way. No more hacker vs hacking vs cheating scattered in your history.
Features
bans that end by themselves
Set a time like 7d 12h or 1mo and forget about it. The moment the time ends the player is automatically unbanned. No need for cron jobs no work.
Permanent bans for the ones who deserve it
One command. They are gone for good unless a staff member decides otherwise.
Ban screens players will actually read
of a generic kick message players see exactly who banned them why how long they have left and when they can come back. Temporary and permanent bans each have their screen.
Full history on every player
/check <player> shows everything. Every ban, every unban, who did it when and why. Useful when a player says they were never warned before or when you are deciding whether to give someone another chance.
Staff broadcasts without the noise
When a ban or unban happens only staff with the permission see the broadcast. Regular players are never bothered with messages they do not need to see.
Tab-complete on everything
Player names, temp or perm durations reasons. All of it shows up in tab-complete automatically. Your staff barely has to type.
Standard reasons and durations
Define your servers ban reasons once in the config and they appear in tab-complete for every staff member. Keeps your ban history clean and consistent across the team.
Protect important players from being banned
Give someone the `permission and no one can ban them through the plugin. Useful, for server owners or senior staff.
Everything stored in one file
No database. No extra plugins needed. All ban data lives in your config.yml. To read, edit and back up with the rest of your server files.
Commands
Command | Description |
|---|---|
/ban temp <player> <duration> <reason>` | Temporarily ban a player |
| /ban perm <player> <reason> | Permanently ban a player |
/unban <player>` Unban a player |
| /check <player> | View the ban history of a player |
Permissions
| Permission | Description | Default |
|---|---|---|
| bansystem.ban | Ban players | op |
| bansystem.unban | Unban players | op |
bansystem.check` | View ban history | op |
| bansystem.broadcast.see | See ban/unban broadcasts | op |
| bansystem.exempt | Cannot be banned | false |
Duration Format
Supports any combination of the following units:
| Unit | Meaning |
|---|---|
| s | Seconds |
| m | Minutes |
h` | Hours |
| d | Days |
| w | Weeks |
mo` | Months |
| y | Years |
Examples: 30m. Nbsp; 6h 3d 2w 1mo 1y 1d12h
Compatibility
| | |
|---|---|
| Platform Paper |
| Version | 1.21x |
Java* |. |
| Dependencies | None |
No dependencies. No setup. Just works.
评论 0
登录后参与评分
还没有评论,来抢沙发吧