Files
Empostor/src/Empostor.Server/config.json
T
2026-05-28 20:20:44 +08:00

73 lines
1.8 KiB
JSON

{
"Server": {
"PublicIp": "127.0.0.1",
"PublicPort": 22023,
"ListenIp": "0.0.0.0",
"ListenPort": 22023
},
"HttpServer": {
"Enabled": true,
"ListenIp": "0.0.0.0",
"ListenPort": 22023
},
"AntiCheat": {
"Enabled": true,
"BanIpFromGame": true,
"AllowCheatingHosts": "Never",
"EnableGameFlowChecks": true,
"EnableMustBeHostChecks": true,
"EnableColorLimitChecks": true,
"EnableNameLimitChecks": true,
"EnableOwnershipChecks": true,
"EnableRoleChecks": true,
"EnableTargetChecks": true,
"ForbidProtocolExtensions": true
},
"Timeout": {
"SpawnTimeout": 2500,
"ConnectionTimeout": 2500
},
"Compatibility": {
"AllowFutureGameVersions": false,
"AllowHostAuthority": false,
"AllowVersionMixing": false
},
"Debug": {
"GameRecorderEnabled": false,
"GameRecorderPath": ""
},
"AuthApi": {
"Mode": "Both",
"NikoApiKey": "niko-request-api-key",
"NikoApiBaseUrl": "https://au-verify.niko233.top",
"RelayApiBaseUrl": "http://localhost:5100",
"RelayApiKey": "empostor-relay-api-key-change-me",
"UmeApiBaseUrl": "https://auverify.hayashiume.top",
"UmeApiKey": "sk-empostor-globalapikey"
},
"Admin": {
"Password": "CHANGE-ME",
"MarketplaceUrl": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/plugins.json"
},
"DiscordWebhook": {
"Enabled": false,
"WebhookUrl": "",
"NotifyOnGameCreated": true,
"NotifyOnBan": true,
"NotifyOnReport": true,
"NotifyOnPlayerJoin": false,
"NotifyOnGameEnded": false
},
"PlayerStats": {
"Enabled": false,
"PersistToFile": true
},
"ChatFilter": {
"Enabled": false,
"BlockedWords": [],
"BlockMessage": true,
"SpamThreshold": 5,
"SpamWindowSeconds": 10
}
}