Allow each player to set his own message when entering and leaving the server
The messages can use certain tags that will be replaced with player information.
Chat commands/entermessage <message>
They will both show the player how the new message will look when formatted. Currently available tags are:Quote:* %n - will be replaced with player nickname * %p - will be replaced with player ladderpoints * %w - will be replaced with player world ladder rank * %s - will be replaced with player server rank * %t - will be replaced with total number of ranked players on serverNormal TM formatting and colour tags works well. A few silly examples:
"%n enters the server carrying %p ladderpoints."
"Alarm! Server invaded by %n (%s/%t)."
Installation1. unzip the script to xaseco base directory
2. edit xaseco's plugins.xml and include the following line:Code:<plugin>plugin.entermessage.php</plugin>3. restart xaseco
Notes!!! Plugin must be loaded after localdatabase-plugin !!!
The plugin will automatically alter "players"-table in mysql database.
Since the jfreu-plugin already does the same with fixed messages you will probably want to disable that functionality if you use this plugin.
To do so requires minor skills in PHP coding, you have to comment out showing join and leave messages at lines 982 and 1010 in plugins/jfreu.plugin.php, or lines 149 and 158 in plugins/jfreu.lite.php.
File Version Date Size Downloads entermessage(0.1).zip 0.1 2009-01-05 3.07 KB 889