SquadJS/config.json

170 lines
3.9 KiB
JSON
Raw Normal View History

{
"server": {
"id": 1,
"host": "xxx.xxx.xxx.xxx",
"queryPort": 27165,
"rconPort": 21114,
"rconPassword": "password",
"logReaderMode": "tail",
"logDir": "C:/path/to/squad/log/folder",
"ftpPort": 21,
"ftpUser": "FTP Username",
"ftpPassword": "FTP Password",
2020-08-29 04:31:30 -05:00
"rconVerbose": true
},
"connectors": {
"discord": "Discord Login Token",
"squadlayerpool": {
2020-10-05 12:52:01 -05:00
"type": "buildPoolFromFilter",
"filter": {
"whitelistedLayers": null,
"blacklistedLayers": null,
"whitelistedMaps": null,
"blacklistedMaps": null,
"whitelistedGamemodes": null,
"blacklistedGamemodes": [
"Training"
],
"flagCountMin": null,
"flagCountMax": null,
"hasCommander": null,
"hasTanks": null,
"hasHelicopters": null
},
"activeLayerFilter": {
"historyResetTime": 18000000,
"layerHistoryTolerance": 8,
"mapHistoryTolerance": 4,
"gamemodeHistoryTolerance": {
"Invasion": 4
},
"gamemodeRepetitiveTolerance": {
"Invasion": 4
},
"playerCountComplianceEnabled": true,
"factionComplianceEnabled": true,
"factionHistoryTolerance": {
"RUS": 4
},
"factionRepetitiveTolerance": {
"RUS": 4
}
}
},
"mysql": {
"connectionLimit": 10,
"host": "host",
"port": 3306,
"user": "squadjs",
"password": "password",
"database": "squadjs"
}
},
"plugins": [
2020-10-12 16:12:36 -05:00
{
"plugin": "AutoTKWarn",
"enabled": true,
"message": "Please apologise for ALL TKs in ALL chat!"
},
{
"plugin": "ChatCommands",
"enabled": true,
"commands": [
{
"command": "squadjs",
"type": "warn",
"response": "This server is powered by SquadJS.",
"ignoreChats": []
}
]
},
2020-10-12 16:39:56 -05:00
{
"plugin": "DiscordAdminBroadcast",
"enabled": false,
"discordClient": "discord",
"channelID": "",
"color": 16761867
},
{
"plugin": "DiscordAdminCamLogs",
"enabled": false,
"discordClient": "discord",
"channelID": "",
"color": 16761867
},
2020-10-13 06:08:21 -05:00
{
"plugin": "DiscordAdminRequest",
2020-10-13 06:59:07 -05:00
"enabled": true,
2020-10-13 06:08:21 -05:00
"discordClient": "discord",
"channelID": "",
"ignoreChats": [],
"ignorePhrases": [],
"command": "admin",
2020-10-13 06:08:21 -05:00
"pingGroups": [],
"pingDelay": 60000,
"color": 16761867
},
2020-10-13 07:03:18 -05:00
{
"plugin": "DiscordChat",
"enabled": true,
"discordClient": "discord",
"channelID": "",
"chatColors": {},
"color": 16761867,
"ignoreChats": [
"ChatSquad"
]
},
2020-10-16 10:17:02 -05:00
{
"plugin": "DiscordDebug",
"enabled": false,
"discordClient": "discord",
"channelID": "",
"events": []
},
2020-10-16 10:06:10 -05:00
{
"plugin": "DiscordPlaceholder",
"enabled": true,
"discordClient": "discord",
"command": "!placeholder"
},
{
2020-10-05 17:10:40 -05:00
"plugin": "DiscordRcon",
2020-10-12 16:12:36 -05:00
"enabled": false,
2020-10-05 17:10:40 -05:00
"discordClient": "discord",
"channelID": "",
2020-10-12 16:12:36 -05:00
"permissions": {},
2020-10-05 17:10:40 -05:00
"prependAdminNameInBroadcast": false
},
2020-10-16 10:57:22 -05:00
{
"plugin": "DiscordServerStatus",
"enabled": false,
"discordClient": "discord",
"messageIDs": [],
"updateInterval": 60000,
"disableStatus": false
},
{
"plugin": "DiscordSubsystemRestarter",
"enabled": false,
"discordClient": "discord",
"role": ""
},
2020-10-05 17:10:40 -05:00
{
"plugin": "IntervalledBroadcasts",
"enabled": false,
"broadcasts": [],
"interval": 300000
},
{
"plugin": "SeedingMode",
"enabled": true,
"interval": 150000,
"seedingThreshold": 50,
"seedingMessage": "Seeding Rules Active! Fight only over the middle flags! No FOB Hunting!",
"liveEnabled": true,
"liveThreshold": 52,
"liveMessage": "Live!"
}
]
}