PlayTime icon

PlayTime -----

PlayTime allows users to see their play time on the server or check other user's play time.




Users can now search by nickname, this requires Vault to work but the plugin will still work without. The leaderboard will also show nicknames where possible.

Users can now check their rewards and others' rewards using /ptrewards. This will display rewards they've achieved so far and how long until they achieve other rewards.

Some new translations have been added so please delete the lang folder and allow them to regenerate.
----------, Nov 15, 2024

DiscordSRV and EssentialsDiscord integration, when a user achieves an award it can be sent to the server's chat channel in Discord.

Slight update to config.yml to accommodate these changes.
----------, Nov 10, 2024

User join date now gets saved to user data files so all existing data can be migrated to different servers.

Now allows /pt to be used in console for administrators to quickly check user play time without having to be on the server.

Updated placeholder bug

Small bug fix regarding broadcasting rewards
----------, Nov 3, 2024

Changed the way translations are handled removing several lines of, now redundant, code across 6 files.

Updated placeholder names (I like them this way).

Changed placeholders to return numeric value only besides the total playtime.

Placeholders are now as follows:
  • %playtime_total%
  • %playtime_in_months%
  • %playtime_in_days%
  • %playtime_in_hours%
  • %playtime_in_minutes%
  • %playtime_in_seconds%
  • %playtime_join_date%
----------, Nov 1, 2024

Updated placeholders so they translate into other languages whether used in console or in game.

Also fixed calculation on placeholder converting playtime in to days.
----------, Oct 31, 2024

Placeholders have been updated and will also work when parsing in console.
----------, Oct 31, 2024

Added PAPI (Placeholder API) support.

The following placeholders can be used:
  • %playtime_total_playtime%
  • %playtime_playtime_in_months%
  • %playtime_playtime_in_days%
  • %playtime_playtime_in_hours%
  • %playtime_playtime_in_minutes%
  • %playtime_playtime_in_seconds%
  • %playtime_join_date%
----------, Oct 30, 2024

Fixed api console error
----------, Oct 27, 2024

Small fix on /pttop command and updated some variables and their names due to customisation being available.

Fixed bug where /pt [username] wasn't correctly getting username if it wasn't own user's name.

Fixed some string outputs.
----------, Oct 20, 2024

After lots of updates I am pleased to announce that this plugin has been tested and is working on version 1.12.2 and above! Previously the plugin was only working on 1.18 and above.

I have also added two more translations; Italian & Russian.

Some other minor bugs have been patched as well.

As always, feedback is greatly appreciated!
----------, Oct 17, 2024

You can now customise chat messages using hex codes (1.16.5+) or Minecraft chat codes e.g. &c, reload config file to see changes.
----------, Oct 16, 2024

Small debug fix.
Reduction of overall file size due to correction of shading.
----------, Oct 13, 2024

Bug fix on /pt command when username is own username.

Apologies for the spam of updates!
----------, Oct 13, 2024

Debug logs can now be enabled and disabled in the config.
----------, Oct 13, 2024

Updated German language file.
Fixed bug where config files weren't being reloaded properly when reload function was executed.
AFK Tracking now introduced.
Bstats tracking enabled.
----------, Oct 12, 2024

Bug Fixes:
Resolved various bugs to enhance overall stability and performance of the plugin.

New Features:
Language Support: The PlayTime plugin now features language translation in six languages:
  • English
  • Dutch
  • French - thanks to Siphayeur
  • German - thanks to schildkroet05 & sylfori (Chaos)
  • Portuguese - thanks to L.E.S.F
  • Spanish
Users can enjoy a more tailored experience with translations available for various commands and messages.

Thank you for your continued support! Please report any issues or feedback to help us improve the PlayTime plugin.
----------, Oct 10, 2024

I am excited to announce the release of version 1.2.1 following several iterations and extensive testing.

In this update, I have addressed a critical bug from the previous version that prevented user data from being generated correctly. We strongly encourage you to update to this version at your earliest convenience to ensure a seamless experience.

Additionally, there has been a minor change to the config.yml file. Please delete your existing configuration file and allow the plugin to regenerate it upon start up.

The source code has also been optimised for improved efficiency. Enhanced error handling and validation checks have been implemented to minimise log output in the console, helping to keep your server environment cleaner.

Thank you for your continued support!
----------, Oct 6, 2024

Further bugs in config files fixed.
----------, Oct 5, 2024

I noticed an error within the config files. This has now been fixed.

Also added a reload function to the plugin so that a server restart isn't needed after config files have been updated.
----------, Oct 5, 2024

Resource Information
Author:
----------
Total Downloads: 2,444
First Release: Oct 4, 2024
Last Update: Nov 15, 2024
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings