View Single Post
Plugin Info:     Modification:          Category:          Approver:   v3x (159)
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 07-02-2006 , 06:15   Playerinfo v1.4 - 1 sept 06
Reply With Quote #1

Playerinfo by Gizmo!

This is a plugin for Amxmodx that save info on the players that connect to your server to a mysql database.

Info this plugin saves:
Steamid.
Nicknames: It saves all nicknames you have used (nicks older than pi_days_before_delete will be deleted when they get that old).
Uses: It saves how many time you have used each nickname.
Playtime: It saves your playtime on the server in weeks:days:hours:minutes:seconds.
Connects: It saves how many times you have connected to the server.
For Counter-strike, ns and dod it also save how many rounds you have played.

Joinmessage:
It can print a join message in the chat everytime a player connects to the server with
that players most used nickname, options on this is on/off, show admins only or everyone.

Menu:
The command for the menu is pi_menu, when you push the name of a player you will see a MOTD window with all info on that player, access level for menu is ADMIN_MENU.

Saycommand:
Players can say "/myinfo" in chat to get a MOTD window with their own info on the server, this can be turned off (default is on)

Requirements:
Amxmodx 1.75+
Mysql server (version 5+ if you use older version you need to change some querys)
Webserver with php.

Modules:
Mysql

Installation

1. Extract the zipfile and copy the addons folder to your addons folder, it should look like this:

addons/amxmodx/configs/playerinfo.cfg
addons/amxmodx/data/lang/playerinfo.txt
addons/amxmodx/plugins/playerinfo.amxx

Add this line "playerinfo.ammx" without quotes to your plugins.ini in your configs folder.
Change the Mysql settings in "playerinfo.cfg" to the correct settings for your mysql server and the cvar "playerinfo_url" so it points to playerinfo.php on your webserver.


2. Copy the playerinfo folder from the web folder to your webserver root folder and edit the config.php to your mysql settings.


3. Start/restart your server and enjoy!

ChangeLog
See top of sma file

Translation request:
http://forums.alliedmods.net/showthread.php?t=41041

Credits
- Edgar, german translation
- Janet Jackson, dutch translation
- ZiP*, danish translation
- commonbullet, Brazilian Portuguese translation
- Twilight Suzuka, l33t translation

The zipfile contains the webfiles.
Use the playerinfo_old_mysql.sma if the other one dont work with your mysql, itīs tested on mysql 4.0.26
Attached Thumbnails
Click image for larger version

Name:	playerinfo1.jpg
Views:	12144
Size:	84.2 KB
ID:	9055   Click image for larger version

Name:	playerinfo2.jpg
Views:	6003
Size:	81.9 KB
ID:	9059  
Attached Files
File Type: cfg playerinfo.cfg (978 Bytes, 2738 views)
File Type: txt playerinfo.txt (6.7 KB, 2808 views)
File Type: sma Get Plugin or Get Source (playerinfo.sma - 5081 views - 26.2 KB)
File Type: sma Get Plugin or Get Source (playerinfo_old_mysql.sma - 3544 views - 26.2 KB)
File Type: zip playerinfo_webfiles.zip (590.3 KB, 3113 views)
__________________

Last edited by Gizmo; 09-01-2006 at 08:57. Reason: updated
Gizmo is offline