
描述:
SimpleWarnings 正如名称所示,是一个简单的警告系统,允许服务器管理员设置、查看和删除警告。
SimpleWarnings 可以轻松配置为在发出警告时执行自定义命令、自动封禁用户以及/或在他们超过预设的警告上限时执行自定义命令、在玩家加入时广播其总警告数到服务器、在收到警告时踢出玩家等等更多功能...
引用:升级到 0.8.8 或更高版本?
在 Simplewarnings-0.8.8 中,数据处理方式已从 YAML 更改为 MySQL/SQLite。
但这并不意味着你会丢失之前的警告数据,因为你可以快速且轻松地更新旧的警告记录。
要将你的警告记录更新至兼容 0.8.8+ 版本,只需输入 /fixwarn 即可开始更新过程。
注意:你只需运行一次,并且仅当你从 早于 0.8.8 的版本升级时才需要这样做。
安装方法:
1. 下载 .jar 文件
2. 将 .jar 文件放入 plugins 目录
3. 重启服务器
配置说明:
有关配置的详细信息,请参阅此处:Configuration
| 命令: | |
| /sw 或 /warn | 查看 SimpleWarnings 命令菜单 |
| /sw reload | 重新加载 Simplewarnings 配置 |
| /warn <playername> <warning> | 向玩家发出警告 |
| /warnings [playername] | 查看你自己或其他玩家的警告记录 |
| /dwarn <playername> <warning number> | 删除玩家的警告 |
| /cwarns <playername> | 清除玩家的警告 |
| /fixwarn | 将警告记录从 YAML 更新为 SQL(0.8.8+) |
| 权限: | |
| sw.warn | 拥有此权限的用户可以发出警告 |
| sw.check | 拥有此权限的用户可以查看自己的警告 |
| sw.check.other | 拥有此权限的用户可以查看其他玩家的警告 |
| sw.delete | 拥有此权限的用户可以清除/删除其他玩家的警告 |
| sw.mod | 拥有此权限的用户可以执行上述所有操作 |
| sw.reload | 拥有此权限的用户可以重载配置文件 |
| sw.fix | 拥有此权限的用户可以更新过时的警告记录 |
引用:近期更新日志:
1.0
- 更新了 UUID 兼容性
0.9.3
- 更新:DefineFinalBanMsg 现在指的是被封禁用户尝试重新加入时看到的消息;如果未设置,他们将看到最后一次警告
- 更新:最终警告将作为踢出信息显示,并在最终警告广播中显示,而不是最终的 BanMsg
- 修复:SimpleWarnings 不再干扰其他被封禁玩家的封禁消息,仅针对达到最大警告次数的被封禁玩家。
0.9.2
- 修复了 v0.9.1 版本中引入的 bug - 由于字符冲突导致首次使用时 config.yml 未生成
0.9.1
- 更新:当被封禁玩家尝试登录时显示 Autoban BanMsg;如果 未定义 BanMsg,则显示最终警告。
- 新增:所有自定义命令和惩罚的多条命令

Description:
SimpleWarnings is just that, a simple warnings system which allows server admins to set, check, and delete warnings.
SimpleWarnings can be easily configured to execute custom commands on warning, auto-ban a user and/or execute a custom command once they've exceeded a pre-defined warning limit, broadcast a users total number of warnings to the server on join, kick a user when they receive a warning and much more...
Quote:Upgrading to 0.8.8 or above?
In Simplewarnings-0.8.8 the data handling is changed from YAML to MySQL/SQLite.
However this doesn't mean you'll lose your previous warning data, as you can update your previous warning records quickly and easily.
To update your warning records to 0.8.8+ compatibility, simply type /fixwarn to begin the update process.
Remember: You only need run it once, and only if you're upgrading from a version earlier than 0.8.8
Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server
Configuration:
For details on configuration see here: Configuration
| Commands: | |
| /sw or /warn | View the SimpleWarnings Commands Menu |
| /sw reload | Reload Simplewarnings config |
| /warn <playername> <warning> | Issue a player with a warning |
| /warnings [playername] | Review your own or another player's warnings |
| /dwarn <playername> <warning number> | Delete a player's warning |
| /cwarns <playername> | Clear a player's warnings |
| /fixwarn | Update warnings records from YAML to SQL (0.8.8+) |
| Permissions: | |
| sw.warn | Users with this permission may issue a warning |
| sw.check | Users with this permission may view their own warnings |
| sw.check.other | Users with this permission may view other player's warnings |
| sw.delete | Users with this permission may clear/delete other player's warnings |
| sw.mod | Users with this permission may do all of the above |
| sw.reload | Users with this permission may reload the config |
| sw.fix | Users with this permission may update outdated warning records |
Quote:Recent ChangeLog:
1.0
- Updated for UUID compatability
0.9.3
- Updated: DefineFinalBanMsg now refers to the message a banned user will see upon attempting to rejoin, if not set they will see their last warning instead
- Updated: Final warning will be shown as kick message and in the final warning broadcast, instead of the final BanMsg
- Fixed: SimpleWarnings no longer interferes with other banned players ban messages, only banned players with the max number of warnings.
0.9.2
- Fixed bug introduced in v0.9.1 - config.yml not generating on first use due to character conflict
0.9.1
- Updated Autoban BanMsg to be displayed when banned player attempts to log in, if BanMsg not defined the final warning is displayed instead.
- Added: Multiple commands for all custom commands & penalties
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
下载 SimpleWarnings
从 0.8.7 或更低版本升级?
在 Simplewarnings-0.8.8 中,数据处理方式已从 YAML 更改为 MySQL/SQLite。
但这并不意味着你会丢失之前的警告数据,因为你可以快速且轻松地更新以前的警告记录。
要将你的警告记录更新至兼容 0.8.8+ 版本,只需输入 /FIXWARN 即可开始更新过程。
记住:如果你是从旧版本升级,只需运行一次该命令。
更新日志:
0.1- 更新:UUID 兼容性
0.9.3
- 更新:DefineFinalBanMsg 现在引用被禁用户在尝试重新加入时将看到的消息;如果未设置,他们将看到最后一条警告而非封禁消息
- 更新:最终警告将作为踢出消息显示,并在最终警告广播中展示,替代原来的最终封禁消息(Final BanMsg)
- 修复:SimpleWarnings 不再干扰其他被封禁玩家的封禁消息,仅针对拥有最大警告次数的被封禁玩家生效。
0.9.2
- 修复了 v0.9.1 版本引入的 bug:由于字符冲突,config.yml 在首次使用时未能生成
0.9.1 - 更新了 Autoban 的 BanMsg,使其在被封禁玩家尝试登录时显示;若未定义,则显示最终警告信息。
- 为所有场景设置了多个命令(customcommand / customcommandoneach / customcommandonmax)
0.9 - 修复了 SQLite 过期时间相关的问题
- 将 placedby 和 name 变量的长度从 16 更新为 32
0.8.9 - Bugfix:修复了 /cwarns 命令清除所有警告记录的问题
0.8.8
-
更新:数据存储从 YAML 迁移至 SQL
-
新增:将旧版 YML 数据转换为新版 SQL 数据的工具(/fixwarn)
-
新增:警告过期功能
-
修复:若启用 KickOnWarning 且被警告用户不在线时,会出现空指针异常(NPE)
0.8.7 -
修复:菜单已修正
管理员权限已修复。
从控制台显示菜单时出现空指针异常(warn)。 -
修复:玩家加入时,用户/管理员的警告通知已分离。
0.8.6
- 修复了警告达到上限时自动封禁未触发的错误
0.8.5
- 为每个警告添加了可配置的独立自定义命令
- 进行了微小的代码优化
0.8
- 在 Warn 和 MaxWarning 时执行自定义命令
- 转换为小写数据处理(TYPE /FIXWARN TO UPDATE RECORDS TO 0.8+ COMPATIBLE)
- 清理配置文件
0.7 - 重大重写
- 修复所有已知错误。
- 更改输出和外观
- 为即将到来的升级奠定基础
0.6
- 修复从控制台警告用户的问题
- 小幅更新
0.5 - 修复尾随 '.' 导致 CBR1.3(Beta) 中 'cannot set empty path' 错误
- 在 /dwarn 中添加健全性检查
0.4.9
-
修复了在启用 KickOnWarn 时向离线玩家发出警告的 bug
0.4.8 -
在 config.yml 中添加了配置选项的描述
-
修复了玩家加入时出现的控制台输出残留问题
-
代码清理 / 改进了加入时的警告通知器。
0.4.7 -
修复了 /dwarns 命令中的一个 bug,该 bug 导致部分数据遗留
-
修复了从控制台设置警告的问题
-
更新了 'fixwarn' 以清除上述 /dwarns bug 遗留的多余数据
-
添加了玩家加入时的检查功能,自动更新/修复任何过时或有问题的警告记录
0.4.6 -
添加了 NotifyAdminOnJoin 选项
0.4.5 -
修复了控制台命令
-
更新了菜单
-
添加了 NotifyUserOnJoin 选项,用于在玩家加入时向其发送警告通知,而非广播
-
修复了删除不存在的警告时会报错的 bug
0.4.4 -
为警告添加了编号
-
添加了菜单别名 (/warn)
0.4.3 -
Bugfix: 对权限进行了微调修复
-
Update: 针对 v0.4 之前设置的警告,新增了 fixwarn 命令进行更新
0.4.2 -
添加了基于警告踢出玩家的选项
-
添加/修改了新权限
-
添加了自定义最终封禁消息的选项。
-
添加了清除用户所有警告的命令 /cwarn
0.4.1 -
Bugfix: 部分用户无法查看自己的警告
-
Update: 日期与格式调整
0.4 -
更新了获取/处理玩家名称的方式
-
为警告添加了日期和时间
-
清理了格式
0.3
Bugfix: 当最终警告被移除时,用户的警告记录未被清除。
0.2 -
Bugfix: 修复了权限,使所有用户都能查看自己的警告
-
添加了 /sw 命令菜单
0.1 -
设置、检查和删除警告
-
广播警告、加入时自动封禁 + 配置 & 权限
如果警告上限提高,那些警告数量低于新 maxwarnings 的封禁玩家在尝试重新加入时,将不会看到定义的 BanMsg 或最终警告信息。
[将在下一个版本中修复。]
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。

评论 0
登录后参与评分
还没有评论,来抢沙发吧