BK's Psychostats Plugin v1.0 for Admin Mod

-----------------------------------------------------------------------------
English:

Plugin has been working now for one month without any problems. :-)

Opens the Psychostats 2.0x in the MOTD window via chat or console.

Features:
- Free configuration of signal words, so it won't interfere with other plugins like statsme, etc.
- Differs between global and personal stats depending on the signal word
- Can also show stats of other people, when part of the name is given after the signal word as an option
- Easy configuration
- Can be easily made compatible with PS 2.0 beta by altering the configadminmod.php
- Stats can also be issued via console command

Requirements:
Admin Mod 2.50.59
Psychostats 2 beta 1 or higher

Installation:
Compile and install the plugin
Edit the configadminmod.php so it meets your needs and move it, including the adminmod.php, to your webserver.
Do a mapchange in order to initialize the plugin.

Configuration:
You need access level 512 in order to change the settings.
Configuration is done by admin_ps_set <option> <value>. Omitting the value parameter will display the actual value, omitting all will display all available options, which are:
PREFIX: Sets the signal character. Usually this is "." or "/", so you say "/stats" or ".stats" in the chat. If the character is not in the actual list, it will be added otherwise deleted. There are up to 10 signal characters allowed.
STATSME: Sets the signal word for personal stats. Usually this is "stats" or "statsme", so you say "/stats" or "/statsme" in the chat. If the word is not in the actual list, it will be added otherwise deleted. There are up to 10 signal words allowed.
RANK: Sets the signal word for overall stats. Usuall this is "rank" or "top10", so you say "/rank" or "/top10" in the chat. If the word is not in the actual list, it will be added otherwise deleted. There are up to 10 signal words allowed.
URL: Specify the url here, where to find the adminmod.php. Remember to include the adminmod.php!

Usage:
Type the signal word in the chat and see your stats or the global ones. Put the part of the name of an also playing friend after the signal word to see his/her stats. You can also see the stats of offline players by appending their ID (WON/Steam). Last but not least, you can use admin_stats to open the stats.

That's it. Please be aware that checking might take some time.

Due to the fact that Psychostats 2 is still in development, it does not make sense to change an existing theme in order to get rid of the adminmod.php, as it might be altered a lot.
Stormtrooper, if you read this, please include a feature in the theme, so I can open a player page not only by psychostats id, but also worldid. ;-)

And the rest of you, have fun.

Check http://www.wing-clan.de and http://www.admin-mod.de for more.

-----------------------------------------------------------------------------
Deutsch:

ffnet Psychostats 2.0x im MOTD-Window per chat bzw. Console.

Features:
- Freie Konfiguration der Signalwrter, so dass diese nicht mit anderen Plugins wie Statsme kollidieren.
- Unterscheidet zwischen globalen und persnlichen Statistiken je nach Signalwort.
- Kann auch die Statistiken anderer Spieler zeigen, wenn ihr ein Teil des Namens nach Signalwort als Option angegeben wurde.
- Einfache Konfiguration
- Kann durch editieren der configadminmod.php kompatibel zu PS 2.0 beta gemacht werden.
- Die Statistik kann auch per Consolen-Befehl aufgerufen werden.

Das Plugin luft nun schon seit einem Monat ohne Probleme. :-)

Anforderungen:
Admin Mod 2.50.59
Psychostats 2 beta 1 oder neuer

Installation:
Compiliere und installiere das Plugin
Bearbeite die configadminmod.php, so dass sie Deinen Wnschen entspricht, und schiebe sie inklusive der adminmod.php auf Deinen Webserver.
Fhre einen Mapwechsel durch, um das Plugin zu starten.

Konfiguration:
Du bentigst Access Level 512, um die Einstellungen zu ndern.
Die Konfiguration wird mittel admin_ps_set <Option> <Wert> durchgefhrt. Lsst man den Wert weg, wird der aktuelle Wert der Option angezeigt, lsst man alles weg, werden alle mglichen Optionen angezeigt, welche wren:
PREFIX: Legt die Signalbuchstaben fest. Normalerweise ist dies "." oder "/", so dass man im Chat "/stats" oder ".stats" sagt. Ist ein Buchstabe nicht in der aktuellen Liste, wird er hinzugefgt anderenfalls gelscht. Es knnen bis zu zehn Signalbuchstaben eingegeben werden.
STATSME: Legt die Signalwrter fr die persnliche Statistik fest. Normalerweise sind dies "stats" oder "statsme", so dass man im Chat "/stats" oder "/statsme" sagt. Ist ein Wort nicht in der aktuellen Liste, wird es hinzugefgt anderenfalls gelscht. Es knnen bis zu zehn Signalwrter eingegeben werden.
RANK: Legt die Signalwrter fr die globale Statistik fest. Normalerweise sind dies "rank" oder "top10", so dass man im Chat "/rank" oder "/top10" sagt. Ist ein Wort nicht in der aktuellen Liste, wird es hinzugefgt anderenfalls gelscht. Es knnen bis zu zehn Signalwrter eingegeben werden.
URL: Spezifiziere hier die URL, wo sich die adminmod.php befindet. Vergesse nicht die adminmod.php selbst anzuhngen!

Benutzung:
Schreibe ein Signalwort im Chat um Deine eigenen oder die globalen Stats zu sehen. Schreib einen Teil des Namens eines Freundes hinter das Signalwort, um seine Statistik zu Gesicht zu bekommen. Du kannst auch Spieler nachschauen, wenn sie offline sind, wenn Du stattdessen ihre ID (WON/Steam) angibst. Zu guter letzt kannst Du die Statistik auch ber admin_stats aufrufen.

Das ist es schon. Bitte bercksichtige, dass der Aufruf der Seite etwas dauern kann.

Da sich Psychostats 2 noch in der Entwicklung befindet, macht es derzeit keinen Sinn ein existierendes Theme zu berschreiben, so dass man auf die adminmod.php verzeichten kann. Es ist anzunehmen, dass das Theme noch des fteren berarbeitet wird. Vielleicht macht mir aber Stormtrooper ja die Freude.

Ich wnsche viel Spa

Besucht auch http://www.wing-clan.de und http://www.admin-mod.de fr mehr Information.