]> git.xonotic.org Git - xonotic/xonotic.git/blob - server/hub/sv-dedicated.cfg
Start adding configs to git for the HUB server group idea
[xonotic/xonotic.git] / server / hub / sv-dedicated.cfg
1 // ===============================================
2 // Un-Official Advanced Server Configuration
3 // Scripted by: Samual
4 // Last updated: Tuesday, October 11th - 11/10/2011
5 // ===============================================
6 // hooks to be passed to this file:
7 alias check_dmo_${_dedimode} "set _dedimode ctf"; check_dmo_${_dedimode} // _dedimode: Game mode command to execute
8 alias check_dmu_${_dedimutator} "set _dedimutator \"\""; check_dmu_${_dedimmutator} // _dedimutator: Mutator command to execute (e.g. jetpack)
9 alias check_dd_${_dedidescription} "set _dedidescription ${_dedimode}"; check_dd_${_dedidescription} // _dedidescription: Readable string for game mode and mutator
10
11 // server identification
12 set _description "${_dedidescription}"
13 set _motd_description "Dedicated ${_description} server with limited votes"
14 exec profile-${_profile}.cfg
15
16 // for aliases.cfg
17 set _allow_extra_votes 0
18 set _done_initializing 0
19 set _server_type public
20
21 // ===============
22 // Technical Setup
23 // ===============
24 port 26100 // 000-499 is public range, 500+ is private range
25 maxplayers 32
26 //net_address ""
27 sv_public 1
28 sv_status_privacy 0
29 sv_maxrate 30000
30 timestamps 1
31 timeformat "^3[%Y-%m-%d %H:%M:%S]^7 "
32 prvm_errordump 1
33
34 // =============================
35 // Log files and networked stuff
36 // =============================
37 //g_ban_sync_uri "http://94.23.21.40/~xonotic/bans/" // sync bans using this ban list provider
38 //g_ban_sync_trusted_servers "" // accept bans that were initially set on the server IPs listed here
39 log_file "log-${serverconfig}.log"
40 sv_weaponstats_file "http://xonotic.org/weaponbalance/" // "stats-${serverconfig}.log"
41 g_playerstats_uri "http://stats.xonotic.org/stats/submit"
42 g_playerstats_debug 1
43 //sv_curl_defaulturl ""
44
45 // ===========================
46 // Maplist, voting and aliases
47 // ===========================
48 sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto"
49 sv_vote_call 1 // 0 will disable the normal voting
50 sv_vote_master 0 // 0 will disable voting to become master, good if you prefer to use the master password instead
51 g_maplist ""
52 g_maplist_votable 6
53 g_maplist_shuffle 1
54 g_maplist_votable_abstain 1
55 g_maplist_votable_nodetail 0
56 g_maplist_mostrecent_count 2
57 exec aliases.cfg
58
59 // ========================
60 // Miscellaneous game setup
61 // ========================
62 sv_ready_restart 1 
63 g_ctf_win_mode 1
64 g_start_delay 15 
65 g_forced_respawn 1
66 g_balance_kill_delay 0
67 g_chat_nospectators 2
68 g_friendlyfire 0
69 g_ctf_captimerecord_always 1
70 g_balance_teams 0
71 //g_balance_teams_force 0       // 1 to automaticly balance teams even during a game
72 sv_fragmessage_information_ping 1
73 sv_fragmessage_information_handicap 2
74 sv_fragmessage_information_stats 1
75 sv_fragmessage_information_typefrag 1
76 //g_warmup 1
77 g_warmup_allguns 1
78 g_warmup_limit -1
79 g_weaponarena 0
80 g_minstagib 0
81
82 ${_dedimode} // finally execute a chosen game mode from the aliases.cfg file
83 ${_dedimutator} // also mutator?
84
85 // =================
86 // Bot configuration
87 // =================
88 bot_number 0    // number of bots to add
89 skill 10        // the bots skill level
90 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!
91 bot_prefix "^4[^0M^4i^0T^4]^0" // prepend this to all botnames
92 bot_suffix " ^4bot"     // append this to all botnames
93 g_maplist_check_waypoints 0     // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots
94
95 // =====================
96 // Player model settings
97 // =====================
98 //sv_defaultcharacter 1 // 1 will force a specific model for all players
99 //sv_defaultplayermodel models/player/megaerebus.iqm    // this model will be used
100 //sv_defaultplayerskin 95       // this skin number will be forced for all players
101 //sv_defaultplayercolors ""     // you can even force player colors here (16*shirt+pants)
102 sv_fbskin_unique
103
104 // for aliases.cfg
105 set _done_initializing 1