Home›Java›Mods›✅ Time Played - Global Time Across Your Servers! [1.13.x - 1.17.x]
✅ Time Played - Global Time Across Your Servers! [1.13.x - 1.17.x]
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 Spigot
Artboard 2.png

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


Artboard 2 copy.png
Artboard 2 copy 3.png

  • Anti AFK Sytem.​
  • Custom font (can disable).​
  • Possibility to customize chat warnings and messages.​
​
Placeholder for PAPI (%cttimeplayed_getplayertime%)


commandsArtboard 2 copy 2.png

getplayertime.gif
/getplayertime <player>
Click to expand...

setplayertime.gif
/setplayertime <player> <time(hh:mm:ss)> //hours up to 5 digits
Click to expand...


gettoptime.gif

/gettoptimelist
Click to expand...
Artboard 2 copy 2.png
xd.gif

Code (Text):
%cttimeplayed_getplayertime%
Spoiler: Permissions
timeplayed.setplayertime
timeplayed.getplayertime
timeplayed.gettoptimelist


REQArtboard 2 copy.png
Artboard 2 copy 3.png


[​IMG]

Artboard 2 copy 3.png
[​IMG]

  1. Download and install XAMPP
  2. Open XAMPP, start apache, and MySQL. click admin on MySQL[​IMG]
  3. Create the database with the name you assigned in the timeplayed.yml file[​IMG]
  4. Review the users and add the information for the root user to your timeplayed.yml file[​IMG]
[​IMG]
Artboard 2 copy 3.png
​
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 ( ) ;

    }

[​IMG]
Artboard 2 copy 3.png
I would really appreciate if you would leave a review of the plugin. To report bugs please do so using discord.


[​IMG]

[​IMG]







​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

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.

Explore more