2023-02-15 09:17:53 -06:00
|
|
|
{
|
|
|
|
"server": {
|
|
|
|
"id": {{ server.server_id }},
|
|
|
|
"host": "squad",
|
|
|
|
"queryPort": {{ server.ports.query }},
|
|
|
|
"rconPort": {{ server.ports.rcon }},
|
|
|
|
"rconPassword": "{{ server.secrets.rcon_password }}",
|
|
|
|
"logReaderMode": "tail",
|
|
|
|
"logDir": "/home/squadjs/SquadLogs",
|
|
|
|
"ftp": {
|
|
|
|
"port": 21,
|
|
|
|
"user": "FTP Username",
|
|
|
|
"password": "FTP Password",
|
|
|
|
"useListForSize": false
|
|
|
|
},
|
|
|
|
"adminLists": [
|
|
|
|
{
|
|
|
|
"type": "local",
|
|
|
|
"source": "/home/squadjs/SquadConfig/Admins.cfg"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"connectors": {
|
|
|
|
"discord": "{{ server.secrets.squadjs_discord_token }}",
|
|
|
|
"sqlite": {
|
|
|
|
"dialect": "sqlite",
|
|
|
|
"storage": "/home/squadjs/data/squadjs.sqlite"
|
|
|
|
},
|
|
|
|
"mysql": {
|
|
|
|
"dialect":"mysql",
|
|
|
|
"host":"asgard.orion-technologies.io",
|
|
|
|
"port":3306,
|
2023-06-27 02:47:34 -05:00
|
|
|
"username":"{{ squad_mysql.user }}",
|
|
|
|
"password":"{{ squad_mysql.user_password }}",
|
|
|
|
"database":"{{ squad_mysql.database }}"
|
2023-02-15 09:17:53 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
{
|
|
|
|
"plugin": "AutoKickUnassigned",
|
|
|
|
"enabled": false,
|
|
|
|
"warningMessage": "Join a squad, you are are unassigned and will be kicked",
|
|
|
|
"kickMessage": "Unassigned - automatically removed",
|
|
|
|
"frequencyOfWarnings": 30,
|
|
|
|
"unassignedTimer": 360,
|
|
|
|
"playerThreshold": 90,
|
|
|
|
"roundStartDelay": 900,
|
|
|
|
"ignoreAdmins": true,
|
|
|
|
"ignoreWhitelist": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "AutoTKWarn",
|
|
|
|
"enabled": false,
|
|
|
|
"attackerMessage": "Please apologise for ALL TKs in ALL chat!",
|
|
|
|
"victimMessage": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "CBLInfo",
|
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "",
|
|
|
|
"threshold": 6
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "ChatCommands",
|
|
|
|
"enabled": true,
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "squadjs",
|
|
|
|
"type": "warn",
|
|
|
|
"response": "This server is powered by SquadJS.",
|
|
|
|
"ignoreChats": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DBLog",
|
|
|
|
"enabled": false,
|
|
|
|
"database": "mysql",
|
|
|
|
"overrideServerID": {{ server.server_id }}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DBLogPlayerTime",
|
|
|
|
"enabled": true,
|
|
|
|
"database": "mysql",
|
|
|
|
"overrideServerID": null,
|
|
|
|
"seedingThreshold": 50
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordAdminBroadcast",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978042376880148",
|
|
|
|
"color": 16761867
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordAdminCamLogs",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978122840416357",
|
|
|
|
"color": 16761867
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordAdminRequest",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978055849005128",
|
|
|
|
"ignoreChats": [],
|
|
|
|
"ignorePhrases": [],
|
|
|
|
"command": "admin",
|
|
|
|
{% set _pingable_groups = [] %}
|
|
|
|
{% for group in server.groups %}
|
|
|
|
{%- if group.squadjs.admin_ping is defined and group.squadjs.admin_ping is true -%} {{ _pingable_groups.append(group) }} {% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
"pingGroups": [
|
|
|
|
{% for group in _pingable_groups %}
|
|
|
|
"{{ group.name }}"{{ ", " if not loop.last else "" }}
|
|
|
|
{% endfor %}
|
|
|
|
],
|
|
|
|
"pingDelay": 60000,
|
|
|
|
"color": 16761867,
|
|
|
|
"warnInGameAdmins": true,
|
|
|
|
"showInGameAdmins": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordChat",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066977999196528710",
|
|
|
|
"chatColors": {},
|
|
|
|
"color": 16761867,
|
|
|
|
"ignoreChats": [
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordDebug",
|
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "",
|
|
|
|
"events": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordFOBHABExplosionDamage",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978104054124564",
|
|
|
|
"color": 16761867
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordKillFeed",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978014707060757",
|
|
|
|
"color": 16761867,
|
|
|
|
"disableCBL": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordPlaceholder",
|
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"command": "!placeholder",
|
|
|
|
"channelID": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordRcon",
|
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "",
|
|
|
|
"permissions": {},
|
|
|
|
"prependAdminNameInBroadcast": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordRoundWinner",
|
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066965171400093716",
|
|
|
|
"color": 16761867
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordRoundEnded",
|
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066965171400093716",
|
|
|
|
"color": 16761867
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordServerStatus",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
2023-06-27 02:47:34 -05:00
|
|
|
"messageStore": "mysql",
|
2023-02-15 09:17:53 -06:00
|
|
|
"command": "!status",
|
|
|
|
"disableSubscriptions": false,
|
|
|
|
"updateInterval": 60000,
|
|
|
|
"setBotStatus": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordSquadCreated",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978080364707880",
|
|
|
|
"color": 16761867,
|
|
|
|
"useEmbed": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordSubsystemRestarter",
|
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"role": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "DiscordTeamkill",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978028367908864",
|
|
|
|
"color": 16761867,
|
|
|
|
"disableCBL": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "FogOfWar",
|
|
|
|
"enabled": false,
|
|
|
|
"mode": 1,
|
|
|
|
"delay": 10000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "IntervalledBroadcasts",
|
|
|
|
"enabled": false,
|
|
|
|
"broadcasts": [],
|
|
|
|
"interval": 300000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "SeedingMode",
|
|
|
|
"enabled": false,
|
|
|
|
"interval": 600000,
|
|
|
|
"seedingThreshold": 50,
|
|
|
|
"seedingMessage": "Seeding Rules Active! Fight only over the middle flags! No FOB Hunting!",
|
|
|
|
"liveEnabled": true,
|
|
|
|
"liveThreshold": 52,
|
|
|
|
"liveMessage": "Live!",
|
|
|
|
"waitOnNewGames": true,
|
|
|
|
"waitTimeOnNewGame": 30
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "SocketIOAPI",
|
|
|
|
"enabled": false,
|
|
|
|
"websocketPort": "",
|
|
|
|
"securityToken": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "TeamRandomizer",
|
|
|
|
"enabled": true,
|
|
|
|
"command": "randomize"
|
2023-03-20 12:14:46 -05:00
|
|
|
},
|
|
|
|
{
|
2023-03-20 12:30:03 -05:00
|
|
|
"plugin": "SquadNameValidator",
|
2023-03-20 12:14:46 -05:00
|
|
|
"enabled": false,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"channelID": "1066978080364707880",
|
|
|
|
"warningMessage": "Your squad has been disbanded due to a non-compliant name.",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"description": "Disband every ARMOR/ARMOUR/VIC/VEHICLE and other variants",
|
|
|
|
"type": "regex",
|
|
|
|
"logic": "match=disband",
|
|
|
|
"rule": "/(a ?r ?m ?(?:o|e)? ?u? ?r)|(v ?i ?c)|(v ?e ?h ?i ?c ?l ?e)/",
|
|
|
|
"warningMessage": "R9 | ARMOR/VIC/VEHICLE are not valid claims!"
|
|
|
|
}
|
|
|
|
]
|
2023-03-20 13:13:01 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "MapVote",
|
|
|
|
"enabled": true,
|
|
|
|
"discordClient": "discord",
|
|
|
|
"entriesAmount": 6,
|
|
|
|
"entryFormat": "{map_name} {gamemode} {map_version} {factions}",
|
|
|
|
"automaticVoteStart": true,
|
|
|
|
"votingDuration": 0,
|
|
|
|
"minPlayersForVote": 30,
|
|
|
|
"voteWaitTimeFromMatchStart": 20,
|
|
|
|
"voteBroadcastInterval": 10,
|
|
|
|
"numberRecentMapsToExlude": 4,
|
|
|
|
"automaticSeedingMode": false,
|
|
|
|
"gamemodeWhitelist": [ "RAAS", "Invasion" ],
|
|
|
|
"layerFilteringMode": "whitelist",
|
|
|
|
"layerLevelBlacklist": [ "BlackCoast_Seed" ],
|
|
|
|
"layerLevelWhitelist": [ "Yeho", "Gorodok", "Mutaha", "Narva", "Tallil" ],
|
|
|
|
"applyBlacklistToWhitelist": true,
|
|
|
|
"factionsBlacklist": [ "CAF", "INS" ],
|
|
|
|
"minRaasEntries": 4,
|
|
|
|
"hideVotesCount": false,
|
|
|
|
"showRerollOption": false,
|
|
|
|
"showRerollOptionInCustomVotes": false,
|
|
|
|
"voteBroadcastMessage": "✯ MAPVOTE ✯\nVote for the next map by writing in chat the corresponding number!",
|
|
|
|
"voteWinnerBroadcastMessage": "✯ MAPVOTE ✯\nThe winning layer is\n\n",
|
|
|
|
"showWinnerBroadcastMessage": true,
|
|
|
|
"allowedSameMapEntries": 2,
|
|
|
|
"logToDiscord": true,
|
|
|
|
"channelID": "1087437388294406334",
|
2023-06-27 02:47:34 -05:00
|
|
|
"persistentDataFile": "/home/squadjs/mapvotepdata.data",
|
2023-03-22 07:58:04 -05:00
|
|
|
"timezone": -4,
|
2023-03-20 13:13:01 -05:00
|
|
|
"minimumVotesToAcceptResult": 1,
|
|
|
|
"instantSeedingModePlayerCount": 5,
|
|
|
|
"nextLayerSeedingModePlayerCount": 20,
|
|
|
|
"seedingGameMode": "Seed",
|
|
|
|
"timeFrames": [
|
|
|
|
{
|
|
|
|
"name": "follow layer rotation list",
|
|
|
|
"start": "12:00",
|
|
|
|
"end": "00:00",
|
|
|
|
"overrides": {
|
|
|
|
"automaticVoteStart": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": "00:00",
|
|
|
|
"end": "05:00",
|
|
|
|
"overrides": {
|
|
|
|
"voteBroadcastMessage": "Late night games? Vote your favourite map!"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-02-15 09:17:53 -06:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"logger": {
|
|
|
|
"verboseness": {
|
2023-03-06 13:17:43 -06:00
|
|
|
"SquadServer": 1,
|
|
|
|
"LogParser": 1,
|
|
|
|
"RCON": 3
|
2023-02-15 09:17:53 -06:00
|
|
|
},
|
|
|
|
"colors": {
|
|
|
|
"SquadServer": "yellowBright",
|
|
|
|
"SquadServerFactory": "yellowBright",
|
|
|
|
"LogParser": "blueBright",
|
|
|
|
"RCON": "redBright"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|