Sueta

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

2.0.1

Keep track of users' time played.

·Plugin

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>


setplayertime.gif

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

gettoptime.gif

/gettoptimelist

Artboard 2 copy 2.png
xd.gif

%cttimeplayed_getplayertime%
Permissions

timeplayed.setplayertime
timeplayed.getplayertime
timeplayed.gettoptimelist

REQArtboard 2 copy.png
Artboard 2 copy 3.png

Artboard 2 copy 3.png

  1. Download and install XAMPP
  2. Open XAMPP, start apache, and MySQL. click admin on MySQL
  3. Create the database with the name you assigned in the timeplayed.yml file
  4. Review the users and add the information for the root user to your timeplayed.yml file


Artboard 2 copy 3.png

@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();

    }


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.

Similar projects

Plugin →