Files
ql-lg-server/home/baseq3/server.cfg
T

31 lines
1.1 KiB
INI

// ql-lg-server. Per-server settings come from .env (local.cfg, generated on start).
// Gameplay lives in scripts/lgvamp.factories. See README.md and docs/HOW-IT-WORKS.md.
set sv_serverType "2" // internet server (also right for VPN players)
set sv_privateClients "0"
set sv_fps "40"
set sv_idleExit "0"
set net_strict "1"
set sv_floodprotect "10"
set g_floodprot_maxcount "10"
set g_floodprot_decay "1000"
set g_accessFile "access.txt" // admins, mods, bans (docs/ADMIN.md)
set sv_mapPoolFile "mappool_lg.txt"
set g_allowVote "0"
// bots: none by default (permanent warmup needs none); rcon "addbot hunter 5", remove with "kick allbots"
set bot_enable "1"
set bot_minplayers "0"
set bot_nochat "1"
// RCON over ZMQ, localhost only (port from .env, password from secrets/)
set zmq_rcon_enable "1"
set zmq_rcon_ip "127.0.0.1"
set zmq_stats_enable "0"
// minqlx: only our plugins (the default minqlx plugin list needs a redis server)
set qlx_plugins "nowarmuptext,welcome,lgbot"
set qlx_pluginsPath "/ql/home/minqlx-plugins"
exec secrets.cfg
exec local.cfg // hostname, password, listing, max players, then: map <map> <factory>