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
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
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
PlayTime API is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 621 times (via Spigot). Download it and open it directly in the game.