]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/server/server.cfg
forbid game type changes by default
[divverent/nexuiz.git] / Docs / server / server.cfg
1 // A setting needs to be surrounded  with " if it contains special\r
2 // characters like space, semicolon (seperates commands) or //\r
3 // (starts a comment for the rest of the line).  While just ""\r
4 // means 'no/empty setting".\r
5 \r
6 \r
7 // Everything has some sensible defaults so you do NOT really need to\r
8 // change anything.  But here is a settings you SHOULD change to make\r
9 // it 'YOUR' server.\r
10 \r
11 hostname "Nexuiz Server" // this name will appear on the server list\r
12 \r
13 \r
14 // Some settings you MIGHT want to change.  IF so remove the // from the\r
15 // line start and change them to your liking.  See the end of the file\r
16 // for more g_maplist examples.\r
17 \r
18 //g_maplist 'dm_aggressor''dm_aneurysm''dm_basement''dm_bleach''dm_bluesky''dm_bloodprison''dm_darkzone''dm_downer''dm_evilspace''dm_farewell''dm_runningman''dm_runningman_1on1remix''dm_silvercity''dm_skyway''dm_slimepit''dm_soylent''dm_starship''dm_stormkeep''dm_toxic''dm_warfare' // the map cycle for the server\r
19 //g_maplist_shuffle 1 // 0 always selects the next map out of g_maplist (but then set better set g_maplist_votable 0 below to prevent repetitive votes), 1 will select random maps each time\r
20 \r
21 //g_maplist_votable 5 // number of maps to vote between; set to 0 to disable the map voting screen (please enable g_maplist_shuffle above when this is enabled, or votes will be repetitive)\r
22 //g_maplist_votable_suggestions 2 // number of suggestions to accept using the suggestmap command\r
23 //g_maplist_votable_suggestions_change_gametype 0 // 1 will allow suggestmap to change the game type\r
24 \r
25 //maxplayers 8 // number of players allowed on the server\r
26 //port 26000 // the port used by the server\r
27 //sv_public 1 // 0 if the server should not be on the public servers list\r
28 //sv_motd "" // this message (unless "") is displayed to players on connect\r
29 \r
30 //log_file server.log // server console output will also be copied to this file\r
31 //rcon_password "" // you can use rcon if this password is set. you need to set the same password in your client if you want to issue rcon commands\r
32 \r
33 \r
34 // Some more advanced settings.  You probably are not interesting in them.\r
35 \r
36 //sv_ready_restart 0 // 1 to allow players to restart the map when all of them press the ready button\r
37 //sv_autoscreenshot 0 // 1 will force a screenshot for all clients when the map ends. Useful for competitions or the ladder.\r
38 \r
39 //g_antilag 0 // 1 to enable a experimental antilag feature\r
40 \r
41 //sys_ticrate 0.05 // how long a server frame is. 0.05 = 20 fps, 0.02 = 50 fps. Lower settings makes things smoother but create much more traffic\r
42 //sv_maxrate 10000 // limits client connections to this rate in bytes/seconds\r
43 \r
44 //sv_curl_defaulturl "http://www.nexuiz.com/contentdownload/getmap.php?file=" //fallback download URL\r
45 \r
46 //sv_vote_commands "restart timelimit fraglimit chmap g_grappling_hook sv_defaultplayer_fbskin_green sv_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off" // players can vote for those commands or use them if they are masters\r
47 //sv_vote_call 1 // 0 will disable the normal voting\r
48 //sv_vote_master 1 // 0 will disable voting to become masters\r
49 //sv_vote_master_password "" // when set, vdo login master will allow you to run votable commands directly using vdo\r
50 //sv_vote_simple_majority 0 // 1 will make votes succeed if there are more yes than no votes; with 0 (default), more than half of the players have to say yes\r
51 //sv_vote_change_gametype 0 // 1 will allow changing the game type by map votes\r
52 \r
53 //sv_defaultcharacter 0 // 1 will force a specific model for all players\r
54 //sv_defaultplayermodel models/player/nexus.zym // this model will be used\r
55 //sv_defaultplayerskin 0 // this skin number will be forced for all players\r
56 //g_fullbrightplayers 0 // 1 to make players fullbright\r
57 //g_fullbrightitems 0 // 1 to make items fullbright\r
58 \r
59 //g_grappling_hook 0 // 1 to enable the grappling hook\r
60 \r
61 //g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team\r
62 //g_balance_teams_force 0 // 1 to automaticly balance teams even during a game\r
63 \r
64 //bot_number 0 // number of bots to add\r
65 //skill 1 // the bots skill level\r
66 //minplayers 0 // add bots if less then that number of players playing\r
67 //bot_prefix [BOT] // prepend this to all botnames\r
68 //bot_suffix "" // append this to all botnames\r
69 \r
70 \r
71 // Some more examples for g_maplist\r
72 \r
73 // arena mode (1on1 elimination)\r
74 //g_maplist 'arena_aggressor''arena_aneurysm''arena_basement''arena_basementctf''arena_bleach''arena_darkzone''arena_downer''arena_evilspace''arena_farewell''arena_runningman''arena_runningman_1on1remix''arena_silvercity''arena_skyway''arena_slimepit''arena_soylent''arena_starship''arena_stormkeep''arena_toxic''arena_warfare'\r
75 \r
76 // ctf mode\r
77 //g_maplist 'ctf_basementctf''ctf_dismal''ctf_runningmanctf'\r
78 \r
79 // dm mode (free for all)\r
80 //g_maplist 'dm_aggressor''dm_aneurysm''dm_basement''dm_bleach''dm_bluesky''dm_bloodprison''dm_darkzone''dm_downer''dm_evilspace''dm_farewell''dm_runningman''dm_runningman_1on1remix''dm_silvercity''dm_skyway''dm_slimepit''dm_soylent''dm_starship''dm_stormkeep''dm_toxic''dm_warfare'\r
81 \r
82 // domination mode\r
83 //g_maplist 'dom_aggressor''dom_aneurysm''dom_basement''dom_bleach''dom_darkzone''dom_downer''dom_evilspace''dom_runningman''dom_runningman_1on1remix''dom_silvercity''dom_skyway''dom_slimepit''dom_soylent''dom_starship''dom_stormkeep''dom_toxic'\r
84 \r
85 // lms mode (last man standing)\r
86 //g_maplist 'lms_aggressor''lms_basement''lms_bleach''lms_bluesky''lms_bloodprison''lms_downer''lms_evilspace''lms_farewell''lms_runningman''lms_runningman_1on1remix''lms_skyway''lms_slimepit''lms_soylent''lms_starship''lms_stormkeep''lms_toxic''lms_warfare'\r
87 \r
88 // rune mode\r
89 //g_maplist 'rune_aggressor''rune_aneurysm''rune_basement''rune_bleach''rune_darkzone''rune_downer''rune_evilspace''rune_runningman''rune_runningman_1on1remix''rune_silvercity''rune_skyway''rune_slimepit''rune_soylent''rune_starship''rune_stormkeep''rune_toxic'\r
90 \r
91 // tdm mode (team deatch match)\r
92 //g_maplist 'tdm_aggressor''tdm_aneurysm''tdm_basement''tdm_bleach''tdm_darkzone''tdm_downer''tdm_evilspace''tdm_farewell''tdm_runningman''tdm_runningman_1on1remix''tdm_silvercity''tdm_skyway''tdm_slimepit''tdm_soylent''tdm_starship''tdm_stormkeep''tdm_toxic''tdm_warfare'\r