• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

ChatControl

来自Minecraft插件百科
Qsefthuopq讨论 | 贡献2018年12月31日 (一) 22:51的版本 (创建页面,内容为“如果你喜欢这款拥有5年历史的插件的话,你也可以考虑购买付费的[https://www.spigotmc.org/resources/chatcontrol-pro.10258/ 专业版]. 如果…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

如果你喜欢这款拥有5年历史的插件的话,你也可以考虑购买付费的专业版.

如果你觉得这款插件不错,那么你也有可能堆插件作者的 ConfiscateCoreArena 插件感兴趣.

ChatControl是一款聊天管理插件,这款插件可以减少你服务器里的刷屏、打广告和机器人刷屏现象. 也可以创建自定义的规则和处理程序来完全控制聊天. 还有更多独特的特点请往下看!

特点

规则和处理程序

  • 用法示例:
    • 过滤脏话. 默认过滤48个脏话单词(英文)!
    • 强力阻挡 IP / URL 广告
    • 过滤刷屏重复字符
    • 阻挡 unicode / 非英语的消息
    • Typo / slang 校正
    • Command aliases
    • 实用的命令/消息
    • 消息替换 ...rules are entirely up to you, and the possibilities are endless!
  • Define your own rules that matches certain regular expressions and applies for: chat, commands, signs or packets
  • Packet规则allows you to edit messages from the server itself or even other plugins (or hide them). The support replacing message per different worlds with rewritein operator
    • For example, change the unknown command message to no permission message in survival, but to something else in the hardcore world
  • Handlers allow you to easily manage a big set of rules without spaghetti code
  • Custom syntax and parser, fixing many YAML limitations
  • Inspired by popular but now outdated PwnFilter

聊天格式 *需要Vault

  • 聊天格式变量:
    • %pl_prefix%pl_suffix
    • %world (TIP: if you want to customize the world name, use Multiverse-Core and edit world alias in worlds.yml)
    • %health
    • %player (player name)
    • %town and %nation (if Towny plugin is enabled)
    • %clan (if SimpleClans plugin is enabled)
    • %countryname and %countrycode
    • %regionname and %isp (player's internet provider)
    • PlaceholderAPI is supported.
  • Supports global chat (begin with "!") and local chat (ranged mode)
    • Use chatcontrol.chat.overrideranged permission to get all messages in the world
    • Use chatcontrol.chat.spy permission to get all messages in all worlds - spy mode

防刷屏

  • 阻挡 相同或相似的 消息和指令
    • Strip special and duplicate characters to prevent bypasses (toggleable)
    • Ignore first argument in commands to prevent too strict check
    • Customizable percentage
  • Set the delay between messages and commands
  • Lower long unreadable message spam
  • Whitelist commands from delay and similarity check

Anti Caps

  • 有效并智能地阻止CAPS
  • 设置最小消息长度, caps几率、数量 in the row and 和忽略单词的白名单
  • 忽略玩家名

防机器人

  • 设置登录间隔
  • Prevent signs with the same text (alert staff + drop the sign) (Useful against "AutoSign" cheat)
  • 如果玩家登录后未移动则无法聊天 (防止机器人加入服务器并开始刷屏)

清空聊天

  • 清空聊天栏. 支持以下参数:
    • -anonymous (-a) (隐藏清空者的名字)
    • -silent (-s) (隐藏清空后播报的消息)
    • -console (清空控制台消息)
  • Do not clear chat for players with permission

禁言

  • 在禁言期间玩家无法聊天和输入特定的指令.
    • 并且会隐藏这名玩家的加入/退出/踢出和死亡消息.
  • 支持以下参数:
    • -anonymous (-a) (隐藏清空者的名字)
    • -silent (-s) (隐藏清空后播报的消息)
    • -console (清空控制台消息)

自定义消息 & 广播

  • 自定义或隐藏 加入/退出 和踢出玩家的消息. 支持变量:
    •  %player
    •  %pl_suffix and %pl_prefix
    • (更多变量请查看上面的聊天变量)
  • 发送 假的加入或退出游戏的消息 (/chc fake)
  • 定时广播
    • 3种模式 - 顺序、随机和缓存随机, random and random with cache that prevents messages to repeat until all were broadcasted
    • 可设置一个 前缀后缀
    • 支持变量 %player 和 %world
    • 不同世界不同消息
      • 默认情况下,世界消息继承全局消息,可以通过在第一行插入-excludeglobal来禁用

Packet特性

  • 如果没有参数则关闭 tab补全指令 , 防止泄露服务器插件信息.
    • 提醒: 如果你使用的是 spigot,推荐关闭这个功能并在spigot.yml内修改配置!
  • 改变其他插件甚至是服务器的消息 (详情查看 rules/packet.txt 文件)

控制台特性

  • 删除不想看到的消息

提醒音效

  • Get notified when somebody mentions you in the chat or if you receive '/tell', '/r' (or any specified message)
  • Customizable sound, volume and pitch.
    • Respects the difference in sound names between MC 1.9 and older
  • Can specify a prefix that is necessary to get notified (e.g @kangarko)
  • Only notify afk players (toggleable, requires Essentials)

Grammar

  • Capitalise sentences automatically
  • Insert a dot at the end
  • Respects domains and IP addresses
  • Define minimum message length for capitalization and punctuation

Chat Conversation Saver

  • Save entire chat conversation to file. Unlike console output, this will save only player messages and specified commands
  • Ignore certain players

本地化

  • Current available locations:
    • 英语 (en)
    • Slovak (sk)
    • Czech (cz)
    • 西班牙语 (es)
    • 德语 (de)
    • 法语 (fr)
    • Dutch (nl)
    • Swedish (se)
    • Hungarian (hu)
    • Bulgarian (bg)
  • To customize the localization, create a file in plugins/ChatControl/localization/messages_LOCALE.yml (replace LOCALEwith the short name of the localization - the one above in brackets)
    • On reload, it will be filled with all the values and kept up to date with newer versions.
  • If you make a localization, it would be appreciated if you send it to me via PM. Thanks!

Groups (Permission-specific Settings)

Apply different settings for each group (or players) with certain permission

  • Example: Allow trusted players to type quickly but set the message delay for quests to, for example, 5 seconds.
  • Example 2: Set different join/leave/kick message for certain players/groups.


更新提醒

  • Automatically update configuration
    • NOTE: On update, the YAML comments (#) are lost, due to how bukkit handle the saving. Visit github page if you need reference values or comments
    • Intelligently report errors and illegal values
      • NOTE: This is heavily improved in the premium version.
  • Notify new version availability
  • Automatically download new version
  • Zero performance impact thanks to asynchronous processing

轻量 & 安全

  • 插件性能高效,只占用少量的 CPU / RAM
  • Asynchronous updater and non-blocking features
  • Safety checker to prevent malformed regular expressions running into an infinite loop and freezing the server
  • Custom syntax parser

你可以开关 每个 特性和改变 每一条 消息!


NEW: Rules syntax highlightning for Atom

Do you want ChatControl's Rules Syntax in your Atom editor?

Check out https://atom.io/packages/language-mc-chatcontrol by @Piepmatz. Thank you!

兼容性

  • The plugin is compatible from Craftbukkit 1.2.5 to the latest Spigot (and the vast majority of versions in between).
    • Plugin doesn't use NMS access so it will most likely not break upon next releases (1.10.x etc)
  • Minimum Java version to run the plugin: Java 8
  • Cauldron & PaperSpigot compatible

指令

Use "/chc list" to display all available commands of the plugin.

可选前置

  • ProtocolLib for custom rules in packet.txt file and preventing tab complete.
    • If you are on 1.8 make sure you have at least #70 or newer!
  • Essentials or EssentialsX for detecting AFK players.
  • Vault for chat formatter and taking money players in "then fine" operator in custom rules.
  • Multiverse-Core for colored world alias in chat formatter.
  • Towny for %nation and %town variables in chat formatter.
  • SimpleClans for %clan variable in chat formatter.
  • AuthMe Reloaded 3.5 or 5.1+ for better join/kick/quit messages.
  • PlaceholderAPI for extra variables.
  • NoCheatPlus (not a dependency, but recommended) provides advanced support also against many types of chat spam.

Need help? Don't ask in Reviews! Visit Issue Tracker to get support.