]> git.xonotic.org Git - xonotic/xonotic.git/blob - server/server.cfg
Merge branch 'master' of http://nl.git.xonotic.org/xonotic/xonotic
[xonotic/xonotic.git] / server / server.cfg
1 // A setting needs to be surrounded with " if it contains special
2 // characters like space, semicolon (seperates commands) or starts
3 // with // (begins a comment for the rest of the line or next
4 // semicolon).  While just "" means 'no/empty setting'.
5
6 /////////////////////////////////////////////////////////////////////
7 // Everything has some sensible defaults so you do NOT really need to
8 // change anything.  But here are some settings you SHOULD change to
9 // make it 'YOUR' server.  IF so remove the // from the line start and
10 // change them to your liking.
11
12 //sv_public 1   // 0 if the server should not be on the public servers list
13 //sv_status_privacy 1   // 1 hides IP addresses from "status" replies shown to clients, 0 shows them. Enables players to identify wellknown punks on your server OR is a thread to anonymity.. depending on your point of view :)
14 //hostname "Xonotic $g_xonoticversion Server"   // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)
15 //sv_motd ""    // this message (unless "") is displayed to players on connect
16 //maxplayers 8  // number of players allowed on the server
17 //port 26000    // the port used by the server
18 //log_file "server.log" // server console output will also be copied to this file. This: "${serverconfig}.log" uses variable substitution to make the logfile have the same name as your config file with .log appended which is useful if you run several servers
19
20 // List of maps to play on the server.  Set to "" to autodetect (which would enumerate ALL maps.  Maps that don't support the current game mode will be skipped, so you don't need to remove them here.
21 //g_maplist "accident aggressor aneurysm basement basementctf bleach bloodprison bloodprisonctf bluesky cyberparcour01 darkzone desertfactory dieselpower downer eggandbacon evilspace farewell final_rage nr_piece-o-cake ons-reborn racetrack reslimed ruiner runningman runningman_1on1remix runningmanctf silvercity skyway slimepit soylent starship stormkeep2 strength toxic warfare"
22 //g_maplist_shuffle 1   // 0 always selects the next map out of g_maplist (but then better set g_maplist_votable 0 below to prevent repetitive votes), 1 will select random maps each time
23 //g_maplist_mostrecent_count 3  // number of maps that have to be played before a map can be repeated
24
25 // LIMITS: how long a match will last before the next map starts (-1 means use the map default, 0 = unlimited, please note that the variables fraglimit/timelimit can NOT be globally used for this but only DURING a match is being played)
26 //timelimit_override -1 // global timelimit for all maps and gametypes
27 //fraglimit_override -1 // global frag/point limit for all maps and gametypes
28 //g_ctf_capture_limit -1        // frag/capture limit for CTF
29 //capturelimit_override -1      // capture limit for CTF
30 //g_domination_point_limit -1   // frag/point limit for DOM
31 //g_runematch_point_limit -1    // frag/point limit for RUNE
32 //g_keyhunt_point_limit -1      // frag/point limit for KH
33 //g_lms_lives_override -1       // lives for LMS
34 //g_nexball_goallimit -1        // goals for NEXBALL
35
36 //g_ctf_win_mode 0      // CTF win mode: 0 = caps only, 1 = caps + points as tie breaker, 2 = points only
37 //g_ctf_ignore_frags 1  // set to 1 to ignore kills except for FC kills
38
39 // TEAMS for key hunt (change this to 2, 3, 4 to set a fixed keyhunt style)
40 //g_keyhunt_teams_override -1   // teams for KH
41
42 // GAME MODE: what type of server do you want to host?
43 // possible values: dm (deathmatch), tdm (team deathmatch), dom (domination), ctf (ctf), rune (runematch), lms (last man standing), arena (arena), kh (keyhunt), as (assault), ons (onslaught), race (race), nexball (nexball)
44 //gametype dm
45
46
47
48
49 /////////////////////////////////////////////////////////////////////
50 // Some settings you MIGHT want to change.  Again IF so remove the //
51 // from the line start and change them to your liking.
52
53 //net_address 0.0.0.0   // ONLY change this if you have problems with your server. Specifies the network interface used by the engine.  Set it you one of you internal IPs
54
55 //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
56 //rcon_restricted_password ""   // put here the password for a "restricted" rcon user (see below)
57
58 //bot_number 0  // number of bots to add
59 //skill 1       // the bots skill level
60 //minplayers 0  // add bots if less then that number of players playing. MAKE SURE ITS LESS THEN maxplayers or people will get blocked by bots!
61 //bot_prefix [BOT]      // prepend this to all botnames
62 //bot_suffix "" // append this to all botnames
63 //g_maplist_check_waypoints 0   // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots
64
65 //g_maplist_votable 6   // 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)
66 //g_maplist_votable_suggestions 2       // number of suggestions to accept using the suggestmap command
67 //g_maplist_votable_abstain 0   // when 1, people get a "don't care" selection in the vote screen
68 //g_maplist_votable_nodetail 1  // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes)
69
70 //sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto"    // players can vote for those commands or use them if they are masters. You canm also add 'g_grappling_hook' for hook voting, and 'sv_fbskin_green sv_fbskin_red sv_fbskin_orange sv_fbskin_off' for fbskin voting.
71 //sv_vote_master_commands "movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink"    // add commands masters can use if logged in or elected. You may want to put 'kickban' here, so masters can keep out punks. It may be good to also put "sv_status_privacy 0" then...
72 //rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoteam_auto movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink"      // commands for the (stronger) rcon restricted
73
74 //sv_vote_call 1        // 0 will disable the normal voting
75 //sv_vote_master 1      // 0 will disable voting to become master, good if you prefer to use the master password instead
76 //sv_vote_master_password ""    // when set, vlogin PWD will allow people to become master to run master commands directly using vdo
77 //sv_vote_majority_factor 0.5   // 0.666 will require a 2/3 majority instead of a regular 1/2 one
78 //sv_vote_simple_majority_factor 0      // 0.666 will win votes by a 2/3 majority of the VOTERS (not the players!)
79 // note: to JUST support simple majorities, set these two factors equal
80
81
82
83
84 /////////////////////////////////////////////////////////////////////
85 // Some more advanced settings.  You probably are not interested in changing them at all.
86
87 //sv_ready_restart 0    // 1 to allow players to restart the map when all of them press the ready button
88 //sv_autoscreenshot 0   // 1 will force a screenshot for all clients when the map ends.  Useful for competitions or the ladder.
89
90 //g_antilag 2   // 0 to disable the antilag feature, 1 and 2 use different methods
91
92 //sv_maxrate 1000000    // limits client connections to this rate in bytes/seconds
93
94 // see Docs/mapdownload.txt for more info
95 //sv_curl_defaulturl http://www.xonotic.com/contentdownload/getmap.php?file=    //fallback download URL
96
97 //sv_defaultcharacter 0 // 1 will force a specific model for all players
98 //sv_defaultplayermodel models/player/nexus.zym // this model will be used
99 //sv_defaultplayerskin 0        // this skin number will be forced for all players
100 //g_fullbrightplayers 0 // 1 to make players fullbright
101 //g_fullbrightitems 0   // 1 to make items fullbright
102
103 //g_balance_teams 1     // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team
104 //g_balance_teams_force 0       // 1 to automaticly balance teams even during a game
105
106 //g_ban_sync_uri "http://94.23.21.40/~xonotic/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)
107 //g_ban_sync_trusted_servers "" // accept bans that were initially set on the server IPs listed here (if not set, your bans are just sent to the sync URIs, but no bans are retrieved from there)
108
109
110
111
112 /////////////////////////////////////////////////////////////////////
113 // WARNING: anything below this line makes your server "impure"!
114
115 // enable some mutators you'd like
116 //g_cloaked 0   // set to 1 for transparent hard to see players
117 //g_footsteps 0 // set to 1 to enable footsteps
118 //g_grappling_hook 0    // set to 1 to enable the hook
119 //g_laserguided_missile 0       // set to 1 for laser guided missiles in the RL
120 //g_midair 0    // set to 1 to make only midair damage count
121 //g_vampire 0   // set to 1 to give players the damage they cause as health
122 //sv_gravity 800        // for low gravity, set this somewhere between 50 and 400
123
124 // select AT MOST one of these arena mutators
125 //g_minstagib 0 // set to 1 for MinstaGib
126 //g_nixnex 0    // set to 1 for No Items Xonotic
127 //g_nixnex_with_laser 0 // set to 1 to always give players the laser in NixNex