✅ Time Played - Global Time Across Your Servers! [1.13.x - 1.17.x] icon

✅ Time Played - Global Time Across Your Servers! [1.13.x - 1.17.x] -----

Keep track of users' time played.



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

setplayertime.gif


gettoptime.gif

Artboard 2 copy 2.png
xd.gif

Code (Text):
%cttimeplayed_getplayertime%
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]







Resource Information
Author:
----------
Total Downloads: 422
First Release: Sep 3, 2021
Last Update: Sep 21, 2021
Category: ---------------
All-Time Rating:
1 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings