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 to run
PsychoQuery.
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 :
http://123.45.67.89:27016/.
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 document is also available online
here.
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.