===========================================================================
WebMod v0.48

  http://djeyl.net/w

---------------------------------------------------------------------------
CONTENTS

- ABOUT
- REQUIREMENTS
- INSTALLATION
- CONTACT
- CREDITS

---------------------------------------------------------------------------
ABOUT

WebMod is a multi-threaded HTTP Web server embedded into a MetaMod plugin
(Linux and Win32 compatible). It allows you not to use specific tools like
HLSW or AgentOrange, or additional software such as a web server, PHPRCon
or a Perl capable shell account.

Once installed, you can access it on http://server_ip:server_port/ ; for
example if you connect to 123.45.67.89:27016 to play, you just have to
add "http://" at the beginning and give this to your web browser.

This addon provides a public live status page, and a private admin area
(password-protected, currently using RCon password).

But this plugin is not only what's contained in the zip file : WebMod
includes a script preprocessor that lets you customize its web pages
totally, and to create yours at your own convenience. W scripting language
reference document is provided in the archive. You'll learn how to use
{ } blocks, game server and HTTP related variables, etc.


This package contains :

First, a public index page, with real-time server status (map, players,
rules, addons). It has been designed for Counter-Strike since it's
Half-Life's most popular mod, but can be easily adapted to any other mod
thanks to W scripting language.

If you know the server's RCon password, you can log in as an admin, then
enter console commands, kick/ban players, make them run commands (like
AdminMod's admin_execclient first did), and edit main config files
(mapcycle.txt, server.cfg, motd.txt, and any main config file for your
other MetaMod plugins). Once again, all those features can be customized
(just have a look at addons/w/www/*.w pages), you also can change these
pages' design (quite djeyl.net-ified by default) so that they perfectly
fit your own site's look and feel.


---------------------------------------------------------------------------
REQUIREMENTS

- MetaMod (latest version : 1.17.4)

---------------------------------------------------------------------------
INSTALLATION

Unzip this file in your mod's directory ("cstrike" for example).

It will create those directories :
- addons/w              : webmod base dir
- addons/w/dlls         : win32 & linux binaries
- addons/w/docs         : documentation (html format)
- addons/w/www          : web server root dir with .w pages
- addons/w/www/mappics  : some Counter-Strike map screenshots
- addons/w/www/includes : some .inc files included by .w pages

Edit your addons/metamod/plugins.ini and add the following 2 lines
(start, middle, end of file : no matter) :

		win32 addons/w/dlls/w_mm.dll
		linux addons/w/dlls/w_mm_i386.so


Now you just have to restart your server ! Enjoy :-)

---------------------------------------------------------------------------
CONTACT

web page : http://djeyl.net/w.php?language=english
forums   : http://djeyl.net/forum/viewforum.php?f=32&language=english

---------------------------------------------------------------------------
CREDITS

* djeyl.net team -- http://djeyl.net
    beta tests, ideas and support
* OLO - http://www.olo.counter-strike.net
    StatsMe's little scripting language inspired me to create W's :-)
* FireStarter -- http://server.counter-strike.net
    he's a carrot !!

===========================================================================
