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

ChatControl Pro/WIKI/分组

来自Minecraft插件百科
Qsefthuopq留言 | 贡献2019年1月26日 (六) 10:55的版本 (创建页面,内容为“ 你可以给玩家特定的权限来对玩家进行分组. = 如何分组 = 创建新的组,你需要在settings.yml内启用<code>Groups.Enabled</code> to <code>…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索


你可以给玩家特定的权限来对玩家进行分组.

如何分组

创建新的组,你需要在settings.yml内启用Groups.Enabled to true, 并在 List key there according to the configuration options below.

In game, give your players "chatcontrol.group.{group}" permission (replace {group} with the name of the group) to put them into a certain group. Players may have multiple groups.

The following example illustrates three groups: guest, vip and staff with various options.

Groups:
  List:    
    guest: 
      Channel_Limit: 1
      Message_Delay: 4
    vip: 
      Message_Delay: 1
    staff: 
      Message_Delay: 0
      Interactive_Format: Staff_Format

组配置

When configuring groups, you only need to specify the options you need to use.

Message_Delay

Info: How much time to wait before the player can write another chat message?

Original Key: Anti_Spam.Chat.Message_Delay

Message_Delay: 2

Command_Delay

Info: How much time to wait before the player can run another command?

Original Key: Anti_Spam.Commands.Command_Delay

Command_Delay: 3

Channel_Limit_Write and Channel_Limit_Read

Info: How many channels at once can a player be in? The first option is for the write mode, the second for the read mode.

Original Keys: (in channels.yml) see Channel_Limits option

Channel_Limit: 2

Rejoin_Delay

Info: How many seconds must the player wait to join the game again?

Original Key: Anti_Bot.Cooldown.Rejoin

Rejoin_Delay: 2

Chat_After_Login

Info: How many seconds must the player wait to chat after logging in?

Original Key: Anti_Bot.Cooldown.Chat_After_Login

Chat_After_Login: 2

Command_After_Login

Info: How many seconds must the player wait to run commands after logging in?

Original Key: Anti_Bot.Cooldown.Command_After_Rejoin

Command_After_Login: 2

Chat_Format

Info: Custom chat format for the group (if Chat Channels are disabled, see channels.yml).

Original Key: (in formatting.yml) Default

Chat_Format: 2

Global_Chat_Format

Info: Custom global chat format for the group, if ranged chat is enabled (if chat channels are disabled, see channels.yml).

Original Key: (in formatting.yml) Global

Global_Chat_Format: 2

Sound_Notify_Color

Info: Custom sound notify chat color for the group, if sound notify is enabled.

Original Key: (in settings.yml) Sound_Notify.Color

Sound_Notify_Color: '&c'