You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`perplayerkit.kitnotify`| Allows players to see notifications about kit-related actions (e.g., when other players load kits, repair gear, etc.). **Defaults to `true`** - all players can see these messages by default. Set to `false` to hide all kit action messages from a player. |
Copy file name to clipboardExpand all lines: CONFIG.md
+46-12Lines changed: 46 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,24 +114,58 @@ publickits:
114
114
115
115
### **Messages**
116
116
117
-
This section controls the messages broadcast to players when they perform various kit-related actions. Messages use mini message format for styling.
117
+
This section controls the messages broadcast to players when they perform various kit-related actions. Messages use mini message format for styling. Each message type can be individually enabled/disabled and customized with a custom permission node.
118
118
119
119
```yaml
120
120
messages:
121
121
disable-kit-messages: false # Set to true to disable all kit action messages (e.g. player loaded a kit, player repaired gear, etc.)
122
-
player-repaired: "<gray>%player% repaired their gear</gray>"
message: "<gray>%player% opened the Kit Room</gray>"
133
+
permission: "perplayerkit.kitnotify"
134
+
player-loaded-private-kit:
135
+
enabled: true
136
+
message: "<gray>%player% loaded a kit</gray>"
137
+
permission: "perplayerkit.kitnotify"
138
+
player-loaded-public-kit:
139
+
enabled: true
140
+
message: "<gray>%player% loaded a public kit</gray>"
141
+
permission: "perplayerkit.kitnotify"
142
+
player-loaded-enderchest:
143
+
enabled: true
144
+
message: "<gray>%player% loaded an ender chest.</gray>"
145
+
permission: "perplayerkit.kitnotify"
146
+
player-copied-kit:
147
+
enabled: true
148
+
message: "<gray>%player% copied a kit</gray>"
149
+
permission: "perplayerkit.kitnotify"
150
+
player-copied-ec:
151
+
enabled: true
152
+
message: "<gray>%player% copied an ender chest</gray>"
153
+
permission: "perplayerkit.kitnotify"
154
+
player-regeared:
155
+
enabled: true
156
+
message: "<gray>%player% regeared</gray>"
157
+
permission: "perplayerkit.kitnotify"
131
158
```
132
159
133
-
- **disable-kit-messages**: Set to `true` to completely suppress all kit action messages. When enabled, players will not see any broadcasts for kit-related actions, regardless of the broadcast-on-player-action feature flag.
134
-
- The action messages support the `%player%` placeholder which is replaced with the player's name (or display name if `use-display-name` is enabled).
160
+
#### Message Configuration Fields:
161
+
162
+
- **enabled**: Set to `false` to disable a specific message type. When disabled, the message will not be broadcast to any players.
163
+
- **message**: The content of the message in mini message format. Supports the `%player%` placeholder which is replaced with the player's name (or display name if `use-display-name` is enabled).
164
+
- **permission**: The permission node required for players to see this message. Players without this permission will not see the broadcast. Defaults to `perplayerkit.kitnotify` which defaults to `true`.
165
+
166
+
#### Global Settings:
167
+
168
+
- **disable-kit-messages**: Set to `true` to completely suppress all kit action messages. When enabled, players will not see any broadcasts for kit-related actions, regardless of the broadcast-on-player-action feature flag or individual message permissions. This acts as a global on/off switch.
0 commit comments