-
Notifications
You must be signed in to change notification settings - Fork 8
Groups
Groups allow you to set different settings for people with certain permission, for example setting different chat format for your VIP players.
To create a new group, set Groups.Enabled
to true
in you settings.ym, and create new groups in the 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.
If you are an operator, give yourself the negative permission ("-chatcontrol.group.{group}") for yourself, otherwise you may be automatically applied to all 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.
The
Original Key
represents the path to the global option for all players, or the only option when groups are disabled.
Info: How much time to wait before the player can write another chat message?
Original Key: Anti_Spam.Chat.Message_Delay
Message_Delay: 2
Info: How much time to wait before the player can run another command?
Original Key: Anti_Spam.Commands.Command_Delay
Command_Delay: 3
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
Info: How many seconds must the player wait to join the game again?
Original Key: Anti_Bot.Cooldown.Rejoin
Rejoin_Delay: 2
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
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
Info: Custom chat format for the group (if Chat Channels are disabled, see channels.yml).
Original Key: (in formatting.yml) Default
Chat_Format: 2
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
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'
Please see your messages.yml file for that. Here is an example of a custom message for players having the VIP permission:
© MineAcademy | Code Unique Minecraft Plugins & Servers In 20 Days
About
Free version
Basics
Understanding
- Channels
- Formatting
- Rules / Filters
- Handlers
- Groups
- JSON
- Discord
- Toggle ignoring swears
- Variables
- JavaScript Variables
Tweaking
Solving Issues
Miscellaneous