PlayTimes - Track Player PlayTime icon

PlayTimes - Track Player PlayTime -----

The best /playtime plugin! PAPI support, offline checks, API & more!



Hex Support!
[​IMG]

Update v1.3.1

ChangeLog:
- Added HEX color Support for 1.16 servers
(Use any hex color code in any message!)

- Removed /pte support for servers < 1.13****



DEVELOPERS READ API CHANGES BELOW:

The API for this plugin has been greatly redone last update. First, start off by adding this resource to your plugin.
​
Once this plugin is added to your projects' external libraries you can start to use it!

The API works from two different methods.

A TimelessPlayer and a TimelessServer.


TimelessPlayer:

A TimelessPlayer can either be online or offline.
Example: Creating an online player:
Code (Java):
TimelessPlayer player = new TimelessPlayer (event. getPlayer ( ) ) ;
*If the player is offline or unknown use a UUID instead of a Player!
Example: Creating an offline player:
Code (Java):
TimelessPlayer player = new TimelessPlayer (uuid ) ;
A Timeless player has the following methods:

Code (Text):
getPlayTime() - returns playtime of player in format
getDays() - returns days played
getHours() - returns hours played
getMins() - returns minutes played
getSecs() - returns seconds played

TimelessServer:

A TimelessServer can display the top 10 leaderboard info and uptime!

To create a TimelessServer simply do:
Code (Java):
TimelessServer server = new TimelessServer ( ) ;
The methods a TimelessServer can do are:

Code (Text):
getTop10Players() - returns top 10 players in a list
getNumberOne() - returns number 1 in leaderboard
getNumberTwo() - returns number 2
getNumberThree()... all the way to getNumberTen()

getUptime() - returns server uptime in format
getUptimeInSeconds() - returns uptime in seconds
NOTE: It is recommended to use getTop10Players() and retrieving the other positions when dealing with multiple positions.


For further help join the help discord :)
P.S old API works but will be removed in 2-3 updates!
​



Coming soon:
- PlayTimesPlus coming very very very soon :)




Thank you all for the support and downloads!
Check our PlayTimes statistics here :)
https://bstats.org/plugin/bukkit/PlayTimes/5289
​
----------, Jul 24, 2020
Resource Information
Author:
----------
Total Downloads: 36,953
First Release: Jul 17, 2018
Last Update: Jun 20, 2024
Category: ---------------
All-Time Rating:
79 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings