Sueta

PlayTime API

3.0

An API for developers get the played time of a player

·Plugin

This is an API that can be used for plugin development when you need to get the player's current and total playtime. There are no commands and no config since this is just an API.

Integration:

in your plugin.yml:

depend: [PlayTimeAPI]

You can get acces to the API class but using: PlayTimeAPI api = new PlayTimeAPI();

Updated,here is everything better explained:
https://gist.github.com/gochi9/b750da1c663cc1aa68c1fbfa1fb43443

If you find a bug or have any suggestion please leave it in the comment or contact me on my discord: Balustrada#6572

Similar projects

Plugin →