AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   DBI User Tracker (https://forums.alliedmods.net/showthread.php?t=9482)

Zor 01-20-2005 14:22

DBI User Tracker
 
2 Attachment(s)
This plugin is a non specific user tracker. It was requested and I thought it best to post it for all interested parties who wish to track people on their servers.

Quote:

Versioning:
v0.1
- Be

v0.2
-Updated it to use the new dbi interface
Quote:

CVARS:
sql_user_logger_table "user_logger" (Default)
-This is the table that will be used to hold the data that is to be stored

logger_debug "0" = Off (Default) 1 = On
-This will log alot of crap to the amxx logs so that the developer can better fix any problems
Quote:

Commands:
amx_userinfo < user | steamid >
- No longer does the user have to be on the server, you can use a name to get what you want, or a steam id etx. It will check to see if something like this is in the data base

amx_trim_users
- This will trim away all user names and ips, it will however keep the STEAM ID for future use.
If you have any problems give me a shout in this thread!

Cheers!

pendragon 01-20-2005 16:44

I have been using this plugin for almost 2 months now and testing it for god knows how long now. I have to tell you that it is a wonderful tool when used in conjuction with Zor's chat logger as well as plugins like amxbans when you want to get more detailed info on who is really who in your server or catching problem players when they aren't on the server any more and you weren't on when they caused a problem.

I have to add though that I use this with my DB.

I recommend this plugin to any admin with large and popular servers.

Trip~Hazard 02-11-2005 12:59

Been out of the loop a while guys. Thanks for that Zor.

TotalNoobScripter 02-11-2005 19:51

everytime i tried making something like this the sql database would wig out when it tries to update a name with a - or a ' in it :evil:

Trip~Hazard 02-16-2005 15:57

I am just a bit too new to SQL though AMXX to understand the setup. The docs say:

"enable one of the SQL modules - mysql_amxx, pgsql_amxx, or mssql_amxx"

Which one would we use for this plugin..or does it matter?

Next:

"Once you have configured this, enable the admin_sql plugin and disable the admin plugin. "

If I enable SQL, is it essential that I disable the admin plugin? I would hate to create chaos for myself if AMXX no longer used the users.ini for all my admin info and not be real clear how to set it all up in SQL.

f1del1ty.oXi 02-16-2005 16:39

If you sue MYSQL, enable the MYSQL mdoules. If you use PostgreSQL, then enable that module, and if you use Microsoft SQL, enable that one. yuo'll be using MYSQL most likely..

See if the second part works without admin_sql.amxx enabled, if not, then you'll need too. Linuxmonster or whatever his name is might be master =\ made a little post about adding admins in AMXX to a database. It's just a simple insert query such as:

INSERT INTO admins ('auth', 'password', 'access', 'flags') VALUES ('STEAMID', 'PASSWORD', 'abcdefghijklmnopqrstu', 'ce')

Something similar to that, but you must be in the database.

The easiest way to add admins is to get phpmyadmin, in which you have a graphical interface to look at, but the query should still work.

Trip~Hazard 02-16-2005 17:31

Thanks f1del1ty. All that seems simple now that I found out my webserver host doesn't allow me to add additional databases. All I have is my primary, so that means I can't create an AMXX database.

Can any of this work if I make an AMXX table under my primary? Or does it have to be a database or its own?

lantz69 02-16-2005 19:17

Wher can you find that chatlogger plugin for sql ??

Thankful for answers

Zor 02-18-2005 14:18

You can have as many tables as you want. Just keep track of the names of the tables. I use 1 of my DB's specifically for the Plugins for amxmodx, that way I only need to setup once my sql settings in the amxmodx sql.cfg

Cheers!

As for the Chat Tracker, that can be found at www.dodplugins.net

CHeers!

Sharp 03-03-2005 16:28

So this logs names and steam idS?


All times are GMT -4. The time now is 03:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.