ModsJava
✅ Time Played - Global Time Across Your Servers! [1.13.x - 1.17.x]
Java mod listed for Minecraft 1.13–1.17. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotTime 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.
/getplayertime <player>Click to expand...
/setplayertime <player> <time(hh:mm:ss)> //hours up to 5 digitsClick to expand...
/gettoptimelistClick to expand...
Code (Text):
%cttimeplayed_getplayertime%
Spoiler: Permissions
timeplayed.setplayertime
timeplayed.getplayertime
timeplayed.gettoptimelist
timeplayed.getplayertime
timeplayed.gettoptimelist
- Download and install XAMPP
- Open XAMPP, start apache, and MySQL. click admin on MySQL
![[IMG]](//proxy.spigotmc.org/40bcaad899f10207b796c4ae50cbe1fa2c9e198b?url=https%3A%2F%2Fi.ibb.co%2F949Gvzt%2Fxampptut.gif)
- Create the database with the name you assigned in the timeplayed.yml file
![[IMG]](//proxy.spigotmc.org/4f2ad25fe69057e60afdfd8515f540565d0cc0e1?url=https%3A%2F%2Fi.ibb.co%2Ftxm5d6r%2Fcreatedb.gif)
- Review the users and add the information for the root user to your timeplayed.yml file
![[IMG]](//proxy.spigotmc.org/b7d9423457cf43dd59634b4248ec10880425789b?url=https%3A%2F%2Fi.ibb.co%2FJBg9rWT%2Fdbusers.gif)
Code (Java):
@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 ( ) ;
}
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 ( ) ;
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.13, 1.14, 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
✅ Time Played - Global Time Across Your Servers! [1.13.x - 1.17.x] is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 448 times (via Spigot). Download it and open it directly in the game.
![[IMG]](http://proxy.spigotmc.org/40bcaad899f10207b796c4ae50cbe1fa2c9e198b?url=https%3A%2F%2Fi.ibb.co%2F949Gvzt%2Fxampptut.gif)
![[IMG]](http://proxy.spigotmc.org/4f2ad25fe69057e60afdfd8515f540565d0cc0e1?url=https%3A%2F%2Fi.ibb.co%2Ftxm5d6r%2Fcreatedb.gif)
![[IMG]](http://proxy.spigotmc.org/b7d9423457cf43dd59634b4248ec10880425789b?url=https%3A%2F%2Fi.ibb.co%2FJBg9rWT%2Fdbusers.gif)
![[IMG]](http://proxy.spigotmc.org/72d875cb0fa27350d79976e36ba1f2c6c5fb28b0?url=https%3A%2F%2Fi.ibb.co%2FdrBSxgH%2Fdiscord-Artboard-2-copy.png)