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

ChatControl Pro/WIKI/常见疑问:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
 
第16行: 第16行:


=== 如何修改消息'You have to wait X seconds before another message' 或 'Please do not post the same or similar messages' 或广播格式 : ===
=== 如何修改消息'You have to wait X seconds before another message' 或 'Please do not post the same or similar messages' 或广播格式 : ===
在你的ChatControl/ 内创建<code>localization</code>文件夹.然后重启服务器.之后会有新的文件被创建 A new file with be created there with the default values. You can change the messages in that file.
在你的ChatControl/ 内创建<code>localization</code>文件夹.然后重启服务器.之后会有新的文件被创建.详情查看[[ChatControl Pro/WIKI/本地化|本地化]]


=== 如何编辑成就框的提醒消息"Goal Reached"? ===
=== 如何编辑成就框的提醒消息"Goal Reached"? ===
The Toast message starts with "Goal Reached" (<nowiki>https://i.imgur.com/EHORs3y.png</nowiki>). 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).
"Goal Reached"的消息无法修改. 这无法用于自定义消息.这只是进度系统的功能. 你可以在settings.yml内搜索Toast (CTRL+F).


=== 怎么关闭防刷屏功能及其消息? ===
=== 怎么关闭防刷屏功能及其消息? ===
第31行: 第31行:
ChatControl 根据玩家的权限自动把玩家分入频道内或使其进入侦查模式.
ChatControl 根据玩家的权限自动把玩家分入频道内或使其进入侦查模式.


<nowiki>**</nowiki> 想要关闭自动加入频道, give yourself or your group negative <code>-chatcontrol.autojoin.{channel}.{mode}</code> 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.
<nowiki>**</nowiki> 想要关闭自动加入频道, 给予你所在的组否定权限 <code>-chatcontrol.autojoin.{频道名}.{模式}</code>.


You can use wildcat '*' to disable automatic join for all channels with <code>-chatcontrol.autojoin.*</code> permission, for example.
你可以用 '*' 来关闭自动加入所有频道,权限为 <code>-chatcontrol.autojoin.*</code>.


=== How to allow my server's domain or IP address in chat? ===
===如何允许玩家发送IP地址? ===
Read this short article in Rules section.
查看规则配置文件内的IP地址过滤器部分.


=== 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:
这个规则位于rules/chat.txt,默认关闭.删除# 来启用:


Edit {3} to change how many characters to allow.
编辑{3}来更改允许的字符数.


= Problems and Solutions =
= 问题及解决方案 =


=== ChatControl won't override /w or other aliases for private messages! ===
=== 插件不会覆盖 /w 或其他私聊消息的缩写指令! ===
Add
添加
  <code>aliases:
  <code>aliases:
   w:
   w:
   - []</code>
   - []</code>
to commands.yml in server directory to fix this.
到你服务器根目录的commands.yml.


=== Ad filter doesn't work, all dots are removed! (Example: www.google.com becomes www google com) ===
=== 广告过滤器无效, 所有的点号都消失了! (: www.google.com变为 www google com) ===
This change is not coming from ChatControl. Essentials is known to do that, try adding your players <code>essentials.chat.url</code> and <code>essentials.msg.url</code> permissions
这不是由ChatControl造成的. 可能是Essentials的问题 ,请给予你的玩家 <code>essentials.chat.url</code> <code>essentials.msg.url</code> 权限


=== I get "Cannot define an operator when no rule is being created" after editing the files in rules/ folder ===
=== 我在编辑规则文件后收到了 "Cannot define an operator when no rule is being created" ===
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) ===
=== 玩家在禁言时仍可以说话(如使用 BanManager / LiteBans 插件) ===
Please see this article on how to fix it.
请查看[[ChatControl Pro/WIKI/获取帮助|获取帮助]]


=== 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).
如果你是管理员,你默认拥有忽略权限来忽略所有的规则. 没有规则会对你生效.你可以给你自己否定权限 "-chatcontrol.bypass.rules.{规则类型}"来使规则生效.(规则类型有 chat, commands, packets,... 详情查看[[ChatControl Pro/WIKI/权限|权限页面]]).


=== Ignore_In_Commands does not work, rules still block WorldEdit or auth commands! ===
=== Ignore_In_Commands 无效, 规则仍然阻止了WorldEdit 或认证auth指令! ===
The section has been renamed to <code>Ignore_Commands</code>, update your handlers.yml manually.
这一部分已被重命名为 <code>Ignore_Commands</code>, 请更新你的handlers.yml.


=== Rules, channels or chat don't show or show when not supposed to (Towny/Factions/Plot Squared, ...) ===
=== 在安装了一些插件后规则、频道或聊天消息不显示(Towny/Factions/Plot Squared, ...) ===
Please see this article on how to fix it.
请查看[[ChatControl Pro/WIKI/监听优先度|监听优先度]]


=== 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.
在settings.yml 内关闭Regex_Strip_Colors.关闭后规则不会检测没有颜色的消息.


=== Player count does not get down (using Multicraft) ===
=== 玩家无法移动 (使用 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.
你的问题是由于控制台过滤器阻止了特定消息的出现 - 而服务器检测到玩家count. 尝试关闭控制台过滤器.
 
在settings.yml内设置关闭控制台过滤器:
To disable console filter, set following in your settings.yml:
  <code>Console:
  <code>Console:
   Filter:
   Filter:
     Enabled: false</code>
     Enabled: false</code>


=== ChatControl's alias '/chc' is interfering with another plugin! (e.g ChestCommands)! ===
=== ChatControl的缩写 '/chc' 和其他插件冲突! (ChestCommands)! ===
Remove chc from Command_Aliasesin settings.yml so only aliases for ChatControl's menu that you wish will remain:
在配置内Command_Aliases处删除:
  <code>Command_Aliases: [chatcontrol, cc, anotheralias]</code>
  <code>Command_Aliases: [chatcontrol, cc, anotheralias]</code>


=== Private Messages like /tell causes lag! ===
=== /tell 发送的私聊消息造成了卡顿! ===
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.
这是由于你启用了进度私聊提醒功能(主配置内搜索Private_Messages.Toast.Enabled), 因为进度会被写入文件所以会造成轻微的卡顿.


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: <code>/gamerule announceAdvancements false</code>.
输入这个指令关闭播放进度: <code>/gamerule announceAdvancements false</code>.


=== Tab Prevention does not work correctly! ===
=== 防TAB补全无效! ===
Make sure you have tab-complete set to -1 in your spigot.yml file in the root server folder.
确认你在spigot.yml内设置 tab-complete -1 .


=== 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.
配置注释会在插件更新配置时丢失.这是bukkit服务端的特性.对于中文注释,你可以重新前往[http://www.mcbbs.net/thread-836227-1-1.html MCBBS搬运帖]下载

2019年1月29日 (二) 09:29的最新版本

子页面

常见疑问

权限

指令

频道

JSON

分组

格式

Discord

获取帮助

变量

处理器

JavaScript变量

多世界聊天格式

自定义指令缩写

自定义服务器名

监听优先度

聊天忽略

本地化

关键问题

插件无法运行: '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' 或广播格式 :

在你的ChatControl/ 内创建localization文件夹.然后重启服务器.之后会有新的文件被创建.详情查看本地化

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

"Goal Reached"的消息无法修改. 这无法用于自定义消息.这只是进度系统的功能. 你可以在settings.yml内搜索Toast (CTRL+F).

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

这取决于你想要关闭哪种防刷屏特性.

a) 防止重复的消息 (aka "Please do not repeat same or similar message/command") -> 在settings.yml 内搜索Similar_Percentage_Block 并设置为0来关闭. 提醒: 这里有两个设置,一个是对消息的、另一个是对指令的.

b) 消息冷却 (aka "You have to wait X seconds before your next message/command") -> 在settings.yml 内搜索 Message_Delay 和 Command_Delayin并设置为0来关闭 s.

我怎么关闭管理员的自动加入频道或侦查模式?

ChatControl 根据玩家的权限自动把玩家分入频道内或使其进入侦查模式.

** 想要关闭自动加入频道, 给予你所在的组否定权限 -chatcontrol.autojoin.{频道名}.{模式}.

你可以用 '*' 来关闭自动加入所有频道,权限为 -chatcontrol.autojoin.*.

如何允许玩家发送IP地址?

查看规则配置文件内的IP地址过滤器部分.

如何防止特殊字符刷屏?

这个规则位于rules/chat.txt,默认关闭.删除# 来启用:

编辑{3}来更改允许的字符数.

问题及解决方案

插件不会覆盖 /w 或其他私聊消息的缩写指令!

添加

aliases:
  w:
  - []

到你服务器根目录的commands.yml.

广告过滤器无效, 所有的点号都消失了! (如: www.google.com变为 www google com)

这不是由ChatControl造成的. 可能是Essentials的问题 ,请给予你的玩家 essentials.chat.urlessentials.msg.url 权限

我在编辑规则文件后收到了 "Cannot define an operator when no rule is being created"

这是由于编码错误导致的. 请修改编码.

玩家在禁言时仍可以说话(如使用 BanManager / LiteBans 插件)

请查看获取帮助

规则对我无效 (我有管理员权限!)

如果你是管理员,你默认拥有忽略权限来忽略所有的规则. 没有规则会对你生效.你可以给你自己否定权限 "-chatcontrol.bypass.rules.{规则类型}"来使规则生效.(规则类型有 chat, commands, packets,... 详情查看权限页面).

Ignore_In_Commands 无效, 规则仍然阻止了WorldEdit 或认证auth指令!

这一部分已被重命名为 Ignore_Commands, 请更新你的handlers.yml.

在安装了一些插件后规则、频道或聊天消息不显示(Towny/Factions/Plot Squared, ...)

请查看监听优先度

规则移除了聊天的颜色!

在settings.yml 内关闭Regex_Strip_Colors.关闭后规则不会检测没有颜色的消息.

玩家无法移动 (使用 Multicraft)

你的问题是由于控制台过滤器阻止了特定消息的出现 - 而服务器检测到玩家count. 尝试关闭控制台过滤器. 在settings.yml内设置关闭控制台过滤器:

Console:
  Filter:
    Enabled: false

ChatControl的缩写 '/chc' 和其他插件冲突! (如 ChestCommands)!

在配置内Command_Aliases处删除:

Command_Aliases: [chatcontrol, cc, anotheralias]

如 /tell 发送的私聊消息造成了卡顿!

这是由于你启用了进度私聊提醒功能(主配置内搜索Private_Messages.Toast.Enabled), 因为进度会被写入文件所以会造成轻微的卡顿.

如果你不喜欢,你可以关闭这个功能来减少卡顿.

进度私聊提醒刷屏!

输入这个指令关闭播放进度: /gamerule announceAdvancements false.

防TAB补全无效!

确认你在spigot.yml内设置 tab-complete 为 -1 .

我的配置注释不见了! 我怎么找到默认文件?

配置注释会在插件更新配置时丢失.这是bukkit服务端的特性.对于中文注释,你可以重新前往MCBBS搬运帖下载