✅ Time Played - Global Time Across Your Servers! [1.13.x - 1
2.0.1Keep track of users' time played.
Time Played is ideal for globally storing the game hours of your users. Running in sync on all your servers with the plugin installed.
IMPORTANT! YOU NEED TO HAVE A MYSQL DATABASE. GO TO INSTALLATION GUIDE TO GET I
- Anti AFK Sytem.
- Custom font (can disable).
- Possibility to customize chat warnings and messages.
Placeholder for PAPI (%cttimeplayed_getplayertime%)
/getplayertime <player>
/setplayertime <player> <time(hh:mm:ss)> //hours up to 5 digits
/gettoptimelist
%cttimeplayed_getplayertime%Permissions
timeplayed.setplayertime
timeplayed.getplayertime
timeplayed.gettoptimelist


- Download and install XAMPP
- Open XAMPP, start apache, and MySQL. click admin on MySQL

- Create the database with the name you assigned in the timeplayed.yml file

- Review the users and add the information for the root user to your timeplayed.yml file

@EventHandler
public void onJoin(PlayerJoinEvent e){
//Get the user's time played in format (hh hrs, mm mins, ss secs)
String time = CTTimePlayed.getPlayerTime(e.getPlayer());
//Get the user's time played in format (hh:mm:ss)
String timeRaw = CTTimePlayed.getPlayerTime(e.getPlayer(),true);
//Assign hours to the player in hh: mm: ss format
CTTimePlayed.setPlayerTime(e.getPlayer(), "200:43:15");
//Returns a list of the players with the most playing time starting with the highest
List<String> topList = CTTimePlayed.getTopTimeList();
}
I would really appreciate if you would leave a review of the plugin. To report bugs please do so using discord.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
