[UTW] ServerSet Actor (UT99)
----------------------------

This is a serverside actor who can set special parameters on map start. You can also protect 
your slots with a game password, if a specified limit is reached.


INSTALLATION:

Put setServer.u and setServer.ini in the server's system folder.

Add the following line to your server.ini:
ServerActors=ServerSet.SA

Once you've done that, edit your serverSet.ini and restart the server.



USAGE:

You have 3 groups with 8 different masks to set any commands. If you don't know a
setting, take a look to your server.ini. Syntax for settings are:
Ini.Section Parametername Value



EXAMPLE (server settings):

Maps1[0]=CTF-(UTW)
Maps1[1]=DM-Grinder
...
Setting1[0]=UTPureRC7G.UTPure bUTPureEnabled false,Engine.GameInfo MaxPlayers 32
Setting1[1]=Engine.GameInfo MaxPlayers 12
...
Default1=UTPureRC7G.UTPure bUTPureEnabled true,Engine.GameInfo MaxPlayers 32

This example would set all maps beginning with "CTF-(UTW)" to the setting Setting1[0] (disable 
UTPure and set MaxPlayers to 12) and the Map DM-Grinder to setting Setting1[1] (set MaxPlayers 
to 12)

If no map found to set and a Default1 setting is done, the Default1 setting will be used.

* Each Setting/Default line can have 8 different setting strings - use comma (,) to delimit.



EXAMPLE (protected slots):

sPort[0]=7777
sPort[1]=8888
...

sPwd[0]=noplay
sPwd[1]=membersonly
...

sSlots[0]=12
sSlots[1]=24
...

This setting will set server on port 7777 to 12 public slots. All slots above 12 will be 
protected with password "noplay". The server on port 8888 will be set to 24 public slots. 
All slots above 24 will be protected with password "membersonly". The password protection 
will be disabled, if the value of playing slots less than sSlots[x] value.



KNOWN ISSUES:

This was tested on servers running UTPure7G, UTDCv1.8 and AnthChecker v1.38 so there's bound 
to be a bug somewhere. When you find one, contact me at:

[UTW]SunMan at http://www.ut-world.eu


HISTORY:

06.03.2007 - v1.00 First public version
