This update will break your current configuration, to fix,
please rename the AntiAFKPro folder to
JetsAntiAFKPro
[+] Rebranded plugin to JetsAntiAFKPro (along will all permissions have changed)
[+] Added placeholders to view the player who has played the most - Will add commands and other things soon to view players with the most playtime
You can now do the following placeholders:
Code (Text):
%jetsantiafkpro_top_<number>_player_name% //returns the player name for the player in that top possition
%jetsantiafkpro_top_<number>_timeplayed_days%
%jetsantiafkpro_top_<number>_timeplayed_hours%
%jetsantiafkpro_top_<number>_timeplayed_minutes%
%jetsantiafkpro_top_<number>_timeplayed_seconds%
%jetsantiafkpro_top_<number>_timeplayed_seconds_unformatted%
%jetsantiafkpro_top_<number>_timeplayed_minutes_unformatted%
%jetsantiafkpro_top_<number>_timeplayed_hours_unformatted%
Example,
The player %jetsantiafkpro_top_1_player_name% has played the most on this server, with a total of %jetsantiafkpro_top_1_timeplayed_hours_unformatted% hours played! What a mad guy!
Thanks to
@Hosom for a big database to test with