Ver Fonte

maxclients in aq2*cfg, sv_reserved_slots also. doc

Paul Klumpp há 12 anos atrás
pai
commit
73701da719

+ 3 - 0
q2srv/action/aq2_1.cfg

@@ -11,6 +11,9 @@
 set hostname "Change Me #1 - teamplay"
 set hostname "Change Me #1 - teamplay"
 sets _admin "change_me #chan irc.quakenet.org"
 sets _admin "change_me #chan irc.quakenet.org"
 
 
+set maxclients 16
+set sv_reserved_slots 2
+
 exec h_master.cfg
 exec h_master.cfg
 exec h_passwords.cfg
 exec h_passwords.cfg
 
 

+ 3 - 0
q2srv/action/aq2_2.cfg

@@ -11,6 +11,9 @@
 set hostname "Change Me #2 - match 1"
 set hostname "Change Me #2 - match 1"
 sets _admin "change_me #chan irc.quakenet.org"
 sets _admin "change_me #chan irc.quakenet.org"
 
 
+set maxclients 18
+set sv_reserved_slots 2
+
 exec h_master.cfg
 exec h_master.cfg
 exec h_passwords.cfg
 exec h_passwords.cfg
 
 

+ 3 - 0
q2srv/action/aq2_3.cfg

@@ -11,6 +11,9 @@
 set hostname "Change Me #3 - match 2"
 set hostname "Change Me #3 - match 2"
 sets _admin "change_me #chan irc.quakenet.org"
 sets _admin "change_me #chan irc.quakenet.org"
 
 
+set maxclients 18
+set sv_reserved_slots 2
+
 exec h_master.cfg
 exec h_master.cfg
 exec h_passwords.cfg
 exec h_passwords.cfg
 
 

+ 0 - 1
q2srv/action/h_common_cw.cfg

@@ -8,7 +8,6 @@
 set maplistname config/maplist.ini
 set maplistname config/maplist.ini
 set ininame config/clanwar.ini
 set ininame config/clanwar.ini
 
 
-set maxclients 16
 set punishkills 1
 set punishkills 1
 set noscore 0
 set noscore 0
 set nohud 0
 set nohud 0

+ 17 - 2
q2srv/action/h_passwords.cfg

@@ -3,8 +3,23 @@
 // rcon_password - so you can change things on the fly while connected with your q2 client
 // rcon_password - so you can change things on the fly while connected with your q2 client
 set rcon_password ""
 set rcon_password ""
 
 
-// server entry password .. set to "none" if none should be needed to enter your server
-set password "none"
+//sv_password::
+// If not empty, allows only authenticated clients to connect.  Authenticated
+// clients are allowed to occupy reserved slots, see below.  Clients set their
+// passwords via ‘password’ userinfo variable. Default value is empty (no
+// password).
+set sv_password ""
 
 
 // Multi View access for a GTV server. With this password, a GTV server can connect to your server to relay-stream the running game. See also h_q2proded.cfg
 // Multi View access for a GTV server. With this password, a GTV server can connect to your server to relay-stream the running game. See also h_q2proded.cfg
 set sv_mvd_password "m00ma4"   // CHANGE
 set sv_mvd_password "m00ma4"   // CHANGE
+
+// sv_reserved_password::
+//  The password to use for reserved slots. Default value is empty, which means
+//  no one is allowed to occupy reserved slot(s), except of dummy MVD observer.
+//  Clients set their passwords via ‘password’ userinfo variable.
+// NOTE: If ‘sv_mvd_enable’ is non-zero and ‘sv_reserved_slots’ is zero,
+//  ‘sv_reserved_slots’ is automatically set to one to reserve a slot for dummy MVD
+//  observer.
+// NOTE: Value of ‘sv_reserved_slots’ cvar is subtracted from ‘maxclients’ value
+//  visible in the server info.
+set sv_reserved_password ""

+ 1 - 1
q2srv/action/mode_public.cfg

@@ -16,7 +16,7 @@ set dmflags 768
 
 
 set maplistname config/maplist.ini
 set maplistname config/maplist.ini
 set ininame config/public.ini
 set ininame config/public.ini
-set maxclients 14
+
 set punishkills 1
 set punishkills 1
 set noscore 0
 set noscore 0
 set nohud 0
 set nohud 0