SquadJS/config.json

265 lines
5.9 KiB
JSON
Raw Normal View History

{
"server": {
"id": 1,
"host": "xxx.xxx.xxx.xxx",
"queryPort": 27165,
"rconPort": 21114,
"rconPassword": "password",
"rconPassThrough": true,
"rconPassThroughPort": 8124,
"dumpRconResponsesToFile": false,
"logReaderMode": "tail",
"logDir": "C:/path/to/squad/log/folder",
"ftp": {
"port": 21,
"user": "FTP Username",
"password": "FTP Password",
"useListForSize": false
},
"adminLists": [
{
"type": "",
"source": ""
}
]
},
"connectors": {
"discord": "Discord Login Token",
2021-03-09 10:51:19 -06:00
"awnAPI": {
"orgID": "YourOrgID",
"creds": {
"username": "AwnUsername",
"password": "AwnPassword"
}
},
"mysql": {
"host": "host",
"port": 3306,
2020-12-06 15:21:41 -06:00
"username": "squadjs",
"password": "password",
2020-12-06 15:21:41 -06:00
"database": "squadjs",
2021-03-05 11:32:31 -06:00
"dialect": "mysql"
2021-03-09 14:36:50 -06:00
},
"sqlite": "sqlite:database.sqlite"
},
"plugins": [
2020-10-22 16:06:28 -05:00
{
2021-03-04 16:36:57 -06:00
"plugin": "AutoKickUnassigned",
"enabled": true,
2023-11-18 17:40:18 -06:00
"warningMessage": "Join a squad, you are unassigned and will be kicked",
2021-03-04 16:36:57 -06:00
"kickMessage": "Unassigned - automatically removed",
"frequencyOfWarnings": 30,
"unassignedTimer": 360,
"playerThreshold": 93,
"roundStartDelay": 900,
"ignoreAdmins": false,
"ignoreWhitelist": false
},
2021-03-07 09:14:27 -06:00
{
"plugin": "AutoTKWarn",
"enabled": true,
"attackerMessage": "Please apologise for ALL TKs in ALL chat!",
"victimMessage": null
2021-03-07 09:14:27 -06:00
},
{
"plugin": "CBLInfo",
"enabled": true,
"discordClient": "discord",
"channelID": "",
"threshold": 6
},
2021-03-07 09:14:27 -06:00
{
"plugin": "ChatCommands",
"enabled": true,
"commands": [
{
"command": "squadjs",
"type": "warn",
"response": "This server is powered by SquadJS.",
"ignoreChats": []
}
]
},
2021-03-04 16:36:57 -06:00
{
"plugin": "DBLog",
"enabled": false,
"database": "mysql",
"overrideServerID": null
},
{
2021-03-07 09:14:27 -06:00
"plugin": "DiscordAdminBroadcast",
"enabled": false,
2021-02-27 19:11:45 -06:00
"discordClient": "discord",
2021-03-07 09:14:27 -06:00
"channelID": "",
"color": 16761867
2021-02-24 13:52:35 -06:00
},
2021-02-27 18:45:21 -06:00
{
2021-03-07 09:14:27 -06:00
"plugin": "DiscordAdminCamLogs",
"enabled": false,
2021-02-27 19:11:45 -06:00
"discordClient": "discord",
2021-03-04 16:36:57 -06:00
"channelID": "",
2021-03-07 09:14:27 -06:00
"color": 16761867
2021-03-04 16:36:57 -06:00
},
{
"plugin": "DiscordAdminRequest",
"enabled": true,
"discordClient": "discord",
"channelID": "",
"ignoreChats": [],
"ignorePhrases": [],
"command": "admin",
"pingGroups": [],
"pingDelay": 60000,
"color": 16761867,
"warnInGameAdmins": false,
"showInGameAdmins": true
2021-02-27 18:45:21 -06:00
},
2021-02-24 13:52:35 -06:00
{
2021-02-27 19:11:45 -06:00
"plugin": "DiscordChat",
"enabled": true,
2021-02-25 14:35:20 -06:00
"discordClient": "discord",
2021-02-25 16:04:28 -06:00
"channelID": "",
2021-02-27 19:11:45 -06:00
"chatColors": {},
"color": 16761867,
"ignoreChats": [
"ChatSquad"
]
2021-02-25 04:57:15 -06:00
},
2021-02-27 18:45:21 -06:00
{
2021-03-07 09:14:27 -06:00
"plugin": "DiscordDebug",
"enabled": false,
"discordClient": "discord",
"channelID": "",
"events": []
2021-02-27 18:45:21 -06:00
},
{
"plugin": "DiscordFOBHABExplosionDamage",
"enabled": true,
"discordClient": "discord",
"channelID": "",
"color": 16761867
},
2021-08-12 14:49:59 -05:00
{
"plugin": "DiscordKillFeed",
"enabled": false,
"discordClient": "discord",
"channelID": "",
"color": 16761867,
"disableCBL": false
2021-08-12 14:49:59 -05:00
},
2021-02-25 04:57:15 -06:00
{
2021-03-07 09:14:27 -06:00
"plugin": "DiscordPlaceholder",
2021-03-04 16:36:57 -06:00
"enabled": true,
2021-03-07 09:14:27 -06:00
"discordClient": "discord",
"command": "!placeholder",
"channelID": ""
2021-03-04 16:36:57 -06:00
},
{
2021-03-07 09:14:27 -06:00
"plugin": "DiscordRcon",
2021-03-04 16:36:57 -06:00
"enabled": false,
"discordClient": "discord",
"channelID": "",
2021-03-07 09:14:27 -06:00
"permissions": {},
"prependAdminNameInBroadcast": false
2021-03-04 16:36:57 -06:00
},
{
"plugin": "DiscordRoundWinner",
2021-02-25 11:38:00 -06:00
"enabled": true,
2021-02-25 14:35:20 -06:00
"discordClient": "discord",
"channelID": "",
2021-02-25 14:34:56 -06:00
"color": 16761867
2021-02-25 04:57:15 -06:00
},
{
"plugin": "DiscordRoundEnded",
"enabled": true,
"discordClient": "discord",
"channelID": "",
"color": 16761867
},
2021-02-25 04:56:09 -06:00
{
2021-03-07 09:14:27 -06:00
"plugin": "DiscordServerStatus",
2021-03-09 14:31:33 -06:00
"enabled": true,
2021-03-07 09:14:27 -06:00
"discordClient": "discord",
2021-03-09 14:31:33 -06:00
"messageStore": "sqlite",
"command": "!status",
"disableSubscriptions": false,
2021-03-07 09:14:27 -06:00
"updateInterval": 60000,
2021-03-09 14:31:33 -06:00
"setBotStatus": true
2021-02-27 19:11:45 -06:00
},
{
"plugin": "DiscordSquadCreated",
"enabled": false,
"discordClient": "discord",
"channelID": "",
"color": 16761867,
"useEmbed": true
},
2021-02-27 19:11:45 -06:00
{
2021-03-07 09:14:27 -06:00
"plugin": "DiscordSubsystemRestarter",
2021-03-04 16:36:57 -06:00
"enabled": false,
"discordClient": "discord",
2021-03-07 09:14:27 -06:00
"role": ""
},
{
"plugin": "DiscordTeamkill",
"enabled": true,
"discordClient": "discord",
2021-02-25 04:57:15 -06:00
"channelID": "",
2021-03-07 09:14:27 -06:00
"color": 16761867,
"disableCBL": false
2021-02-25 16:04:28 -06:00
},
2021-04-07 10:48:00 -05:00
{
"plugin": "FogOfWar",
"enabled": false,
"mode": 1,
"delay": 10000
},
2021-02-25 16:04:28 -06:00
{
2021-02-27 19:11:45 -06:00
"plugin": "IntervalledBroadcasts",
"enabled": false,
"broadcasts": [],
"interval": 300000
},
{
"plugin": "PersistentEOSIDtoSteamID",
2023-12-11 19:54:56 -06:00
"enabled": true,
"database": "sqlite"
},
2021-02-27 19:11:45 -06:00
{
2021-03-07 09:14:27 -06:00
"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,
2021-03-08 05:36:38 -06:00
"liveMessage": "Live!",
"waitOnNewGames": true,
"waitTimeOnNewGame": 30
2021-03-07 09:14:27 -06:00
},
{
"plugin": "SocketIOAPI",
2021-02-25 14:34:56 -06:00
"enabled": false,
2021-03-07 09:14:27 -06:00
"websocketPort": "",
"securityToken": ""
},
{
"plugin": "TeamRandomizer",
"enabled": true,
"command": "randomize"
}
2020-10-25 09:24:48 -05:00
],
2020-12-08 15:39:13 -06:00
"logger": {
2020-12-08 14:26:26 -06:00
"verboseness": {
"SquadServer": 1,
"LogParser": 1,
"RCON": 1
},
"colors": {
"SquadServer": "yellowBright",
"SquadServerFactory": "yellowBright",
"LogParser": "blueBright",
"RCON": "redBright"
}
2020-10-25 09:24:48 -05:00
}
2020-12-14 11:29:07 -06:00
}