Thread: Player Activity
View Single Post
Plugin Info:     Modification:          Category:         
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 03-08-2020 , 00:24   Player Activity
Reply With Quote #1

Player Activity saves player's total playtime on a database for statistical purposes.

Commands:
say /activity - displays current playtime and all time activity
amx_activity - shows current players' activity, [steamid] for search (flag: m) - displays all current players' all time activity


Cvar:
activity_search_limit - default '500'
Modifies the search limit. If you wish to remove the limit set the cvar to '0'


API:
_get_user_time(id) - return player's all time activity
_get_user_time_timestamp(id) - return player's last seen

* Plugin uses nVault Utility by bugsy
https://forums.alliedmods.net/showthread.php?t=139584

* Player Activity available on GitHub:
https://github.com/CrXane/PlayerActivity
__________________

Last edited by Relaxing; 07-10-2020 at 13:03.
Relaxing is offline