主要改动:
修复 TAB 列示:修改了 tabListFormat 的处理逻辑。现在,格式字符串中的 %name% 会被替换为玩家的实际名字,确保名字总是显示。 兼容称号系统:通过调整 setPlayerListName 的使用方式,使其更有可能与现有称号系统协同工作,而不是覆盖它。在 1.12.2 中,如果其他插件也使用 setPlayerListName,可能会有冲突,但此修改使其更健壮。 开发者称号:为特定玩家(如 MB_BBIT)添加特殊称号前缀。 全服小号警告:当检测到小号时,向所有在线玩家广播警告信息。 禁言系统:添加了 /ipchat chatban <player> <时长(分钟)> [原因] 命令和相应的事件监听。
Key changes:
Fixed TAB Listing: Modified the processing logic of tabListFormat. Now, the %name% in the format string will be replaced with the player's actual name, ensuring that the name is always displayed. Compatible with the title system: Make it more likely to work with the existing title system by adjusting how setPlayerListName is used, rather than overriding it. at In 1.12.2, there may be conflicts if other plugins also use setPlayerListName, but this modification makes it more robust. Developer Title: Add a special title prefix to a specific player, such as MB_BBIT. Server Trumpet Warning: When a trumpet is detected, a warning message is broadcast to all online players. Mug system: Added /ipchat chatban <player> < duration (minutes) > [Reason] command and corresponding event listening.