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

ChatControl Pro/WIKI/常见疑问

来自Minecraft插件百科
Qsefthuopq讨论 | 贡献2019年1月21日 (一) 12:57的版本 (创建页面,内容为“= 关键问题 = 插件无法运行: 'Illegal UTF8 string in constant pool in (..)' / 'java.lang.NoClassDefFoundError: me/kangarko/chatcontrol/final' === 插件无…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

目录

关键问题

插件无法运行: 'Illegal UTF8 string in constant pool in (..)' / 'java.lang.NoClassDefFoundError: me/kangarko/chatcontrol/final' ===

插件无法运行: Network inaccessible: (...) 请通过spigotmc来把报错信息或服务器IP发给kangarko.

我购买了插件但是我无法下载!

插件作者不对此负责,但如果插件作者收到了你的付款的话你可以联系插件作者来让你能够正常下载.

问题

formatting.yml内的城镇聊天怎么用? (我找不到注释)

m:

如何修改消息'You have to wait X seconds before another message' 或 'Please do not post the same or similar messages' 或广播格式 :

Create a folder localization in your ChatControl/ folder. Restart the server. A new file with be created there with the default values. You can change the messages in that file.

如何编辑成就框的提醒消息"Goal Reached"?

The Toast message starts with "Goal Reached" (https://i.imgur.com/EHORs3y.png). This is due to the nature of Minecraft. Toast notifications are not intended to be used for custom messages; they are there to show advancements and rewards. All you can customize is found in the Toast section in settings.yml (use CTRL+F).

怎么关闭防刷屏功能及其消息?

It depends on which anti-spam feature you wish to disable. Most users by this mean

a) Preventing duplicate messages (aka "Please do not repeat same or similar message/command") -> Search for Similar_Percentage_Block in settings.yml and set to 0 to disable. NOTE: There are two keys, one is for messages, one is for commands.

b) Message delay (aka "You have to wait X seconds before your next message/command") -> Search for Message_Delay and Command_Delayin settings.yml respectively. Set to 0 to disable.

How can I turn off automatic channel join/spy for ops?

ChatControl automatically puts players into channels or makes them spy a channel (or all channels) depending on their permissions.

** To disable automatically joining a channel, give yourself or your group negative -chatcontrol.autojoin.{channel}.{mode} permission. Replace {channel} with your channel name. Replace {mode} with the mode you wish to disable (write, read, spy), or * to completely disable auto-joining.

You can use wildcat '*' to disable automatic join for all channels with -chatcontrol.autojoin.* permission, for example.

How to allow my server's domain or IP address in chat?

Read this short article in Rules section.

How to prevent spamming one character or limit it to 1 repeat maximum?

There is a default rule for that hidden in rules/chat.txt, remove # from the two lines after the first line and you be good to go:

Edit {3} to change how many characters to allow.

Problems and Solutions

ChatControl won't override /w or other aliases for private messages!

Add

aliases:
  w:
  - []

to commands.yml in server directory to fix this.

Ad filter doesn't work, all dots are removed! (Example: www.google.com becomes www google com)

This change is not coming from ChatControl. Essentials is known to do that, try adding your players essentials.chat.url and essentials.msg.url permissions

I get "Cannot define an operator when no rule is being created" after editing the files in rules/ folder

This is caused by wrong system encoding. Please see this article on how to fix it.

Players can speak when muted (e.g. using BanManager / LiteBans)

Please see this article on how to fix it.

Rules don't work for me (I have OP or admin permissions!)

If you have an operator status, you automatically have the bypass permission that includes all rules. That said, no rules will apply for you. You can give yourself a negative "-chatcontrol.bypass.rules.{ruleType}" permission to make them apply for you. Replace {ruleType} with the type of rules you want to have (e.g. chat, commands, packets,... see Permissions page for a full list).

Ignore_In_Commands does not work, rules still block WorldEdit or auth commands!

The section has been renamed to Ignore_Commands, update your handlers.yml manually.

Rules, channels or chat don't show or show when not supposed to (Towny/Factions/Plot Squared, ...)

Please see this article on how to fix it.

Rules remove colors from the chat message!

Set Regex_Strip_Colors in settings.yml to false. Beware, rules now won't be checked without colors, which makes it easier to bypass.

Player count does not get down (using Multicraft)

Your issue might be that the console filter prevents certain message from appearing - and the plugin/server is reading them to detect the player count. Try disabling the console filter or removing all messages from it.

To disable console filter, set following in your settings.yml:

Console:
  Filter:
    Enabled: false

ChatControl's alias '/chc' is interfering with another plugin! (e.g ChestCommands)!

Remove chc from Command_Aliasesin settings.yml so only aliases for ChatControl's menu that you wish will remain:

Command_Aliases: [chatcontrol, cc, anotheralias]

Private Messages like /tell causes lag!

If you have Toast notifications enabled (Private_Messages.Toast.Enabled in your settings.yml), note that this naturally causes some (minor) lag since the advancements must be written on a file and immediately deleted.

If this is your case, please turn off the feature first to see if the lag persists. Otherwise, contact us.

Toast Private Messages notifications spam the chat!

Disable the broadcasting of advancements via the command: /gamerule announceAdvancements false.

Tab Prevention does not work correctly!

Make sure you have tab-complete set to -1 in your spigot.yml file in the root server folder.

My configuration lost comments! Where do I find default files?

Configurations are updated automatically and due to how Bukkit handles it, we cannot save comments. You can easily open up your ChatControl.jar with Winrar or unzip it on Mac and view or copy all default files from there.