Plugin Info:
|
Modification: ALL
Category: Statistical
|
AMX Mod X Moderator
|
01-11-2006
, 18:12
Dynamic MOTD v1.1
|
#1
|
Description:
Ever wanted a motd that wasn't completely retarded, like the one built in to counterstrike? What this plugin does is modify the motd file such that it contains a welcome message as well as the number of clients that have visited the server to date. It doesn't have to be like this though - you can use your old MOTD. It simply replaces a select few tags with numbers to give your MOTD more freedom without javascript and other crazy stuff that the Steam browsers don't support. It saves into a file in your data directory called "visits.ini", so you can also see how many connects your server has had.
-------------------------------------------------------------------
Required stuff:
- A mod that supports HTML MOTDs. If you know how to code HTML, you can easily change this so it only contains text, and the plugin will still work.
-------------------------------------------------------------------
Installation:
Install like any other plugin.
After this is installed, it should create a file called "motd_dynamic.txt" in your $moddir (if playing counterstrike, it's cstrike, day of defeat = dod, Team Fortress Classic = tfc, etc)
Edit this file to suit your motd. Add in the tag "<uptime>" and "<visits>" and this plugin will dynamically replace those tags with their respective numbers.
If you don't know HTML, then just use the default MOTD that comes with it.
-------------------------------------------------------------------
Notes:
- To modify the background color, open up the plugin, find #define BGCOLOR, and change it to whatever. How to change it: #rrggbb (red green blue)
- This is designed for people who do not know how to code in Javascript, PHP, or any language, but wish you have a semidecent MOTD with these abilities.
__________________
|
|
|
|