SuperWebAdmin v0.91beta
Author: Rush

WHAT'S THIS ?!
---------
It's a powerful tool for administrating your server via a web interface.

Really it would take long time to describe all the advantages of using SuperWebAdmin that  I'll just let you see 
them for yourself. However most of them are listed below.


FEATURES:
---------
 - Multi user - there can be up to 50 users each with other privileges.
 - QuickSet function - instantly switch to your preset gametypes. Included nice setup in the SuperAdmin page.
 - Extended PlayerList with full compatibility with latest UTGL beta3 or if UTGLMode if off, with EasyMute.
 - Current Rules for instant changing max players/spec and password.
 - Most of the things the user does is logged. When he sends a message to the server his nick is also showed.
 - OPBan v.07 integrated for easy ban limit extension and managment. 
 - SuperAdmin page which includes the most important server settings. Useful when you don't want others to play with it. :)
 - Fast and nice text interface. However I plan to make also a graphic one in the future.
 - Extended console. Allows sending mutate commands. Users with low privileges will be able to do only "say". No more "admin get" spying. :P
 - CurrentGame shows all maps from now. No more useless maplists.
 - There are 2 stages of privileges which can administrate only public games without Tournament.


INSTALLATION AND SETTINGS:
---------
 1. Copy System and Web directories with all files to the main ut-server path.

 2. Open your server's ini and change ...
	[UWeb.WebServer]
	Applications[0]=SuperWebAdmin.SuperServerAdmin
	ApplicationPaths[0]=/ServerAdmin

 3. Edit SWAConfig.ini to your needs ...

	# Set only main user for now. Caution: Case-sensitive !!
	UserList[0]=<user>:<password>

	#For example: AdminRealm=[es]ClanServer #1 - WebAdmin
	AdminRealm=<ServerName>

	#This one's used to properly refresh the console when you fixed the webadmin issue on linux by rewriting the webadmin port to another. For example: ServerURL=153.19.49.13:5001
	ServerURL=<IP>:<Redirected Port or normal port>

	#Check it to true if you use UTGL but don't want its features in WebAdmin.
	bForceUTGLModeOff=false

	#When set to true SuperWebAdmin will automatically spawn OPBan and enable its features in the menu.
	bOPBanEnabled=False

	Other can be set from the WebAdmin interface.

    MORE ABOUT OPBAN IN opban.txt !!!


PRIVILEGES:
---------
 There are currently 5 levels of privileges.
 1 - PublicModerator(Switch Map, ServerConsole-say, PlayerList, Bans Managment) - cannot change anything while Tournament
 2 - PublicAdmin(Public Moderator+ SwitchGameType, Mutators, GameOptions, RestartLevel) - cannot change anything while Tournament
 3 - ServerModerator(Switch Map, QuickSet, ServerConsole-say, PlayerList, RestartLevel, GameOptions, Mutators, Bans Managment)
 4 - ServerAdmin(ServerModerator+ SwitchGameType, ALL Defaults, ServerConsole-mutate)
 5 - SuperAdmin(ServerAdmin+SuperAdmin Menu+ServerConsole Commands)


UTGL - UT Global Login System
---------
If you don't know what is it just visit http://midnightut.tk and download the latest version. 
It's in the forum -> releases.

If already installed, you have to set this:

[UTGLv<version>.GLMutator]
webLogin=<login>     <- It must be the login with Admin rights.
webPass=<password>

UTGL is a great tool, it is still being in development and becomes more and more advanced.
I advise everyone to use it. However ALL features will activate only when the Pure is out.
Don't be sad, there's another cheat protection. It's called NoBullShitPlus(www.nobullshitplus.com).


EasyMute
---------
This small mod allows a server administrator to mute naughty players from sending messages.

If you don't use UTGL see EasyMuteV14.zip for more details.


How to fix the WebAdmin on Linux UT436.
---------
 There are several ways to do this:

 1. With xinetd:
    To /etc/services add:
	
	UTAdmin <rewrited port>/tcp

    To /etc/xinetd.conf add:

	service UTAdmin
	{
	port = <rewrited port>
	socket_type = stream
	protocol = tcp
	wait = no
	user = root
	log_on_failure += USERID
	disable = no
	redirect = x.x.x.x <original port set in the ut.ini>
	}

	Now restart xinetd with command "killall xinetd -HUP".

 2. With apache:
    You need an apache webserver with working ReWrite module. Set to some path this options:

	RewriteEngine on
	RewriteRule ^(.+) http://localhost:<originalport>/$1 [R,L,P]

	You can ignore the port in the ServerURL option here.

 3. With Redir:
	Download it and compile: http://www.netsw.org/net/ip/socket/redir/redir-2.2.1.tar.gz

	Run with:
	
	/usr/sbin/redir --lport=<redirected port> --cport=<original port> --caddr=<IP> &

 !!!! USE THIS URL TO CONNECT TO THE WEBADMIN: !!!
   http://<IP>:<redirected port>/ServerAdmin/


CHANGELOG:
---------
 0.91beta:
 -Fixed Settings page not updating the values.
 -Fixed EasyMute compatibility.
 0.9beta:
 -First release

CREDITS:
---------
-TheFury, author of AdvWebAdmin. Thx for a a very nice idea. Honestly I used some of your functions. ;)

-Anthrax for making the UTGL system, it was the main reason to code this little thing.

-PurplePants for sending me the OPBan's v0.7 code and allowing me to use it. Really, it's a powerful tool. Great work.


CONTACT & FEEDBACK:
---------
If you find any bugs or just have some ideas please let me know. ;)
Email & MSN: rush@u.one.pl
ICQ: 257547545
GG: 1930553
AIM: RushESpl

Enough ? :> Hope so.


