This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Track Players Joining the Server and save it somewhere.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sight18
Junior Member
Join Date: Aug 2011
Old 07-12-2012 , 14:55   Track Players Joining the Server and save it somewhere.
Reply With Quote #1

hello guys,

is there a plugin around that tracks all the players joining the servers and counts them then writes it to a file, so we can keep track of our monthly visitors.

i did a search in both here and google but havent found anything,

any replies would be appreciated.
Sight18 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-12-2012 , 15:52   Re: Track Players Joining the Server and save it somewhere.
Reply With Quote #2

Installation:
1. Install .amxx file normally.
2. Open connections_logger.cfg and put in your MySQL information.
3. Place connections_logger.cfg in addons/amxmodx/configs folder.

Getting Stats
You can get all connections in a month by doing this query: (example for July 2012 connections)
SELECT COUNT(*) FROM `connections` WHERE `timestamp` >= '2012-07-01 00:00:00' AND `timestamp` < '2012-08-01 00:00:00';

You can get all unique (by steamid) connections in a month by doing this query: (example for July 2012 connections)
SELECT COUNT(*) FROM `connections` WHERE `timestamp` >= '2012-07-01 00:00:00' AND `timestamp` < '2012-08-01 00:00:00' GROUP BY `steamid`;
Attached Files
File Type: sma Get Plugin or Get Source (connections_logger.sma - 513 views - 5.8 KB)
File Type: cfg connections_logger.cfg (167 Bytes, 66 views)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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