Player Activity
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 |
Re: Player Activity
Why the crx_ prefix tho. :|
|
Re: Player Activity
https://forums.alliedmods.net/showthread.php?p=457071
https://forums.alliedmods.net/showthread.php?t=201869 Unapproved. If you add more features let me know. |
Re: Player Activity
Added a search option for amx_activity command.
If you call the command without arguments it will print current players' total playtime. Adding an argument will search for a specific player. If there's no specific player matching the argument, the function finds the best matches and displays their total playtime and their last seen online. To prevent the plugin breaking, the maximum of results is 500. You can edit the limit at the source code. https://i.ibb.co/YLWn8KH/image.png |
Re: Player Activity
Quote:
|
Re: Player Activity
Added a cvar and removed the static value of search limit as requested by Napoleon_be
Cvar: activity_search_limit - on default is set to '500' but if you can remove this limit by setting the cvar to '0' |
All times are GMT -4. The time now is 21:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.