Skip to content

Commit a1d4285

Browse files
committed
chatmanager: better desc for omit rights, add command.kick and move variable further
1 parent ef939ad commit a1d4285

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[managers]/chatmanager/chatManagerSettings.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ local chatManagerSettingsTemplate = {
1313
"CHAT_MANAGER_OMIT_CHAT_DELAY_RIGHTS",
1414

1515
function(chatManagerSettingValue)
16-
local chatManagerOmitRight = { chatManagerSettingValue }
1716
local chatManagerOmitRights = split(chatManagerSettingValue, ",")
1817

1918
if (chatManagerOmitRights) then
2019
return chatManagerOmitRights
2120
end
2221

22+
local chatManagerOmitRight = { chatManagerSettingValue }
23+
2324
return chatManagerOmitRight
2425
end,
2526
},

[managers]/chatmanager/meta.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<settings>
99
<setting name="*mainChatDelay" value="1000"/> <!-- miliseconds between each message a player can send through main chat -->
10-
<setting name="*omitChatDelayRights" value="command.mute"/> <!-- required perms to not be affected by delay, if empty delay is disabled -->
10+
<setting name="*omitChatDelayRights" value="command.mute,command.kick"/> <!-- required perms to not be affected by delay, if empty delay is disabled; comma separated, you can use multi or a single right(s) -->
1111
<setting name="*blockRepeatMessages" value="true"/> <!-- prevent a player from saying the same thing twice in a row to spam -->
1212
<setting name="*playerDefaultColor" value="0,255,255"/> <!-- default color for player if nameColorMode = "team" and not in team -->
1313
<setting name="*removeHex" value="false"

0 commit comments

Comments
 (0)