From 84c28b1856ffddb80a71e2127182d8fd906af154 Mon Sep 17 00:00:00 2001
From: CodeRedDev An array of objects containing the following properties: type
- Either warn
or broadcast
.response
- The message to respond with.ignoreChats
- A list of chats to ignore the commands in. Use this to limit it to admins.includeChats
- A list of chats to include the commands in. Use this to limit it to admins.Options
commands
Description
- command
- The command that initiates the message.type
- Either warn
or broadcast
.response
- The message to respond with.ignoreChats
- A list of chats to ignore the commands in. Use this to limit it to admins.
An array of objects containing the following properties:
command
- The command that initiates the message.type
- Either warn
or broadcast
.response
- The message to respond with.ignoreChats/includeChats
- Either one can be used to limit to specific in-game chats, being ChatAll
, ChatTeam
, ChatSquad
and ChatAdmin
[
{
"command": "squadjs",
"type": "warn",
"response": "This server is powered by SquadJS.",
- "ignoreChats": []
+ "ignoreChats": [],
+ "includeChats": []
}
]
diff --git a/config.json b/config.json
index 1cde20cdb..db417ef2c 100644
--- a/config.json
+++ b/config.json
@@ -73,7 +73,8 @@
"command": "squadjs",
"type": "warn",
"response": "This server is powered by SquadJS.",
- "ignoreChats": []
+ "ignoreChats": [],
+ "includeChats": []
}
]
},