SquadJS/config.json

215 lines
5.0 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",
"layerFilter": {
"type": "buildFromFilter",
"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": [
{
"plugin": "auto-tk-warn",
"enabled": true,
"message": "Please apologise for ALL TKs in ALL chat!"
},
2020-09-09 12:38:08 -05:00
{
"plugin": "chat-commands",
2020-09-10 08:17:27 -05:00
"enabled": true,
2020-09-09 12:38:08 -05:00
"commands": [
{
"command": "!squadjs",
"type": "warn",
"response": "This server is powered by SquadJS.",
"ignoreChats": []
}
]
},
{
"plugin": "discord-admin-broadcast",
"enabled": true,
"discordClient": "discord",
2020-09-10 08:17:27 -05:00
"channelID": "",
"color": 16761867
},
{
"plugin": "discord-admin-cam-logs",
"enabled": true,
"discordClient": "discord",
2020-09-10 08:17:27 -05:00
"channelID": "",
"color": 16761867
},
{
"plugin": "discord-chat",
"enabled": true,
"discordClient": "discord",
2020-09-10 08:17:27 -05:00
"channelID": "",
"ignoreChats": [
"ChatSquad"
],
"chatColors": {},
"color": 16761867
},
{
"plugin": "discord-admin-request",
"enabled": true,
"discordClient": "discord",
2020-09-10 08:17:27 -05:00
"channelID": "",
"ignoreChats": [],
"ignorePhrases": [],
"adminPrefix": "!admin",
"pingGroups": [],
"pingDelay": 60000,
"color": 16761867
},
{
"plugin": "discord-debug",
"enabled": false,
"discordClient": "discord",
2020-09-10 08:17:27 -05:00
"channelID": "",
"events": []
},
{
"plugin": "discord-rcon",
"enabled": true,
"discordClient": "discord",
2020-09-10 08:17:27 -05:00
"channelID": "",
"prependAdminNameInBroadcast": false
},
2020-09-14 15:18:01 -05:00
{
"plugin": "discord-round-winner",
"enabled": true,
"discordClient": "discord",
"channelID": "",
"color": 16761867
},
{
"plugin": "discord-server-status",
"enabled": true,
"discordClient": "discord",
"color": 16761867,
"colorGradient": true,
"connectLink": true,
"command": "!server",
"disableStatus": false
},
{
"plugin": "discord-teamkill",
"enabled": true,
"discordClient": "discord",
2020-09-10 08:17:27 -05:00
"channelID": "",
"teamkillColor": 16761867,
"suicideColor": 16761867,
"ignoreSuicides": false,
"disableSCBL": false
},
{
"plugin": "intervalled-broadcasts",
"enabled": false,
"broadcasts": [
"Server powered by SquadJS."
],
"interval": 300000
},
{
"plugin": "mapvote-123",
"enabled": false,
"minVoteCount": null
},
{
"plugin": "mapvote-did-you-mean",
"enabled": false,
"layerFilter": "layerFilter",
"alwaysOn": true,
"minPlayerCount": null,
"minVoteCount": null
},
{
"plugin": "mysql-log",
"enabled": false,
"mysqlPool": "mysql",
"overrideServerID": null
},
{
"plugin": "seeding-message",
"enabled": true,
"mode": "interval",
"interval": 150000,
"delay": 45000,
"seedingThreshold": 50,
"seedingMessage": "Seeding Rules Active! Fight only over the middle flags! No FOB Hunting!",
"liveEnabled": true,
"liveThreshold": 2,
"liveMessage": "Live"
},
2020-09-13 05:29:27 -05:00
{
"plugin": "skipmap",
"enabled": false,
2020-09-13 05:29:27 -05:00
"command": "!skipmap",
2020-09-14 18:12:30 -05:00
"voteDuration": 300000,
2020-09-13 05:29:27 -05:00
"startTimer": 900000,
"endTimer": 1800000,
2020-09-14 18:12:30 -05:00
"pastVoteTimer": 600000,
2020-09-13 05:29:27 -05:00
"minimumVotes": 20,
"reminderInterval": 120000
},
{
"plugin": "team-randomizer",
"enabled": true,
"command": "!randomize"
}
]
}