-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
// 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 21217 | ||
|
||
// 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 | ||
servername "" | ||
// 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 | ||
|
||
// when set to 1, spectators chat messages are only seen by other spectators | ||
mutespectators 0 | ||
|
||
modifiedmapspectator 0 | ||
|
||
dmmaps = [ | ||
complex alphacorp turbine_a2 pinelake reflection ot2 azag lightspeed | ||
] | ||
ctfmaps = [ | ||
alphacorp steelribs desertwind reflection waterworks | ||
] | ||
tdmmaps = (listunion $dmmaps $ctfmaps) | ||
elimmaps = [ alphacorp steelribs reflection pinelake azag lightspeed desertwind waterworks ] | ||
zombmaps = [ lightspeed pinelake azag desertwind waterworks reflection ] | ||
|
||
maprotationreset | ||
maprotation "*" $dmmaps | ||
maprotation "?tdm" $tdmmaps" | ||
maprotation "?ctf" $ctfmaps" | ||
maprotation "?elim" $elimmaps" | ||
maprotation "?infect" $zombmaps" | ||
|
||
teamkillkickreset | ||
teamkillkick "*" 7 30 | ||
|