forked from OctaForge/OctaCore
83 lines
2.6 KiB
INI
83 lines
2.6 KiB
INI
// basic server configuration script
|
|
// note that some commands are commented out with //, and need to be uncommented and set to a value to work
|
|
|
|
// optional specific IP for server to use
|
|
// serverip N.N.N.N
|
|
|
|
// optional specific port for server to use
|
|
// serverport 42000
|
|
|
|
// maximum number of allowed clients
|
|
maxclients 8
|
|
|
|
// maximum number of bots a master can add - admins are unaffected by this limit
|
|
// set to 0 to disallow bots
|
|
serverbotlimit 8
|
|
|
|
// controls whether or not the server is intended for "public" use
|
|
// when set to 0, allows "setmaster 1" and locked/private mastermodes (for coop-editing and such)
|
|
// when set to 1, can only gain master by "auth" or admin, and doesn't allow locked/private mastermodes
|
|
// when set to 2, allows "setmaster 1" but disallows private mastermode (for public coop-editing)
|
|
publicserver 0
|
|
|
|
// description server shows for the server browser
|
|
serverdesc ""
|
|
|
|
// password required to connect to the server
|
|
// generally unnecessary unless you really don't want anyone connecting to your server
|
|
// using the serverauth option allows people with an appropriate local authkey to connect regardless
|
|
// serverpass ""
|
|
|
|
// password that allows you to gain admin by "setmaster password_here"
|
|
// local authkeys are more secure than this and should be used instead if possible
|
|
// adminpass ""
|
|
|
|
// domain to use for local authkeys to the server so people can authenticate by "auth domain_here"
|
|
// must be a non-empty string that should be unique to your server to prevent clashes with other servers
|
|
// serverauth ""
|
|
|
|
// controls whether or not the server reports to the masterserver
|
|
updatemaster 1
|
|
|
|
// optional message of the day to send to players on connect
|
|
// servermotd "..."
|
|
|
|
// controls whether admin privs are necessary to record a demo
|
|
// when 1 requires admin (default)
|
|
// when 0 only requires master
|
|
// restrictdemos 1
|
|
|
|
// maximum number of demos the server will store
|
|
// maxdemos 5
|
|
|
|
// maximum size a demo is allowed to grow to in megabytes
|
|
// maxdemosize 16
|
|
|
|
// controls whether admin privs are necessary to pause a game
|
|
// when 1 requires admin (default)
|
|
// when 0 only requires master
|
|
// restrictpausegame 1
|
|
|
|
// whether or not to allow players to vote on maps not in the rotation
|
|
// when 1 requires master
|
|
// when 2 requires admin
|
|
// when 0 allows any votes (default)
|
|
// lockmaprotation 0
|
|
|
|
dmmaps = [
|
|
complex alphacorp ot turbine reflection
|
|
]
|
|
ctfmaps = [
|
|
alphacorp steelribs test_ctf reflection waterworks
|
|
]
|
|
tdmmaps = (listunion $dmmaps $ctfmaps)
|
|
|
|
maprotationreset
|
|
maprotation "*" $dmmaps
|
|
maprotation "?tdm" $tdmmaps
|
|
maprotation "?ctf" $ctfmaps
|
|
|
|
teamkillkickreset
|
|
teamkillkick "*" 7 30
|
|
|