⏳ Advanced PlayTime Plugin
Track it. Visualize it. Control it.
AdvancedPlayTime is a powerful and ultra-efficient plugin that allows players to check their playtime and compare it with others — all in a stunning, fully customizable GUI.
✨ Key Features
- 🧠 Highly optimized – Zero-lag performance, even on large servers.
- 🎨 Fully customizable GUIs – Design the look and feel to fit your server's style.
- 🔢 Live top-time rankings – View top active players in multiple display modes.
- 🔧 Offline time tracking – Keeps tracking even when you're offline.
- 🛠️ Placeholders & Adventure support – Seamless integration with popular libraries.
- 🔁 Reset & edit support – Adjust playtimes or wipe all data easily.
- 💬 Flexible notifications – Chat, ActionBar, Title or Subtitle? Your choice.
- 🧩 Multiple GUI types – Paginated, scrolling horizontal/vertical, and more.
- 💾 Supports SQLite & MySQL – Your data, your way.
🔐 Command Permissions
| Command | Permission |
|---|---|
/playtime |
command.playtime |
/playtime <target> |
command.playtime.target |
/playtime top |
command.playtime.top |
/playtime top invalidate |
command.playtime.top.invalidate |
/playtime set |
command.playtime.set |
/playtime reset-all |
command.playtime.reset |
/playtime reload |
command.playtime.reload |
🖥️ GUI Types
| Type | Description |
|---|---|
STANDARD |
Basic GUI (recommended if less than 10 players in ranking) |
PAGINATED |
Multi-page GUI with item navigation |
SCROLLING_VERTICAL |
Scroll through entries vertically |
SCROLLING_HORIZONTAL |
Scroll through entries horizontally |
🔔 How to configure notifications?
🗃️ Supported Databases
H2MariaDBMySQLPostGreSQLSQLSQLite
🧩 PlaceholderAPI
| Placeholder | Description |
|---|---|
%playtime% |
Displays player's playtime in default readable format (e.g., 10h 35m) |
💡 Feedback & Support
Have a suggestion, found a bug, or want to contribute?
👉 Open an issue here
⭐ Like the plugin?
If you enjoy using PlayTime, consider leaving a positive review or star on SpigotMC or GitHub — it really helps!
All Versions
+ Add Version## What's Changed
- Added
/migratecommand to migrate all offline players to the plugin database. - Improved code style and formatting.
- Optimized code performance.
- Enhanced Javadoc documentation.
- Ensured full compatibility with Minecraft versions 1.17 to 1.21.5.
- Fix compatibility with paper.
- What's Changed**
- HOTFIX Comptability witih older minecraft versions
- Tweaks & Improvements:**
- Significantly improved plugin performance (important updates)
- Refactored codebase and enhanced documentation
- Added full compatibility with the latest Minecraft version
- Updated all plugin dependencies
- Added GUI click sound
- Made plugin commands fully configurable
- Separated major configuration sections into individual files (
guiConfiguration.yml,commandConfiguration.yml, etc.)
- Updated Dependencies:**
com.google.guava:guava-testlibfrom33.1.0-jreto33.4.5-jreorg.junit:junit-bomfrom5.10.2to5.12.1dev.rollczi:litecommands-annotationsfrom3.9.1to3.9.7dev.rollczi:litecommands-bukkitfrom3.9.1to3.9.7com.github.johnrengelman.shadowfrom7.1.0to8.1.1
- Full Changelog**: [Compare v2.0.0...v2.0.1](https://github.com/imDMK/SpentTime/compare/v2.0.0...v2.0.1)
## What's changed?
- TWEAK:**
- Improved plugin performance
- Improved plugin code
- Added SpentTimeAPI
- Added compatibility with the latest Minecraft version
- Updated all plugin dependencies
- Fixes**
- Update all plugin depedencies.
- Added compatibility for latest minecraft versions (1.21)
## Changes
- Added full support to the 1.20.4 version.
- Update all plugin dependencies.
## Improvements
- Code and plugin performance improvements,
- Added SpentTimeSetCommand,
- improved comparison of spent player time.
- Fixed bug with disappearing message text in configuration (when there was a ":" character in the message, the text disappeared),
- Fixed a bug where the GUI cancel button was not working.
- Fixed update message.
- Removed MariaDB database support (This is because the MariaDB driver weighs too much, so the plugin would weigh almost 8 MB out of 2 MB),
- Changed command permission structure (Command permissions are no longer configurable - They are permanently assigned to the command).
## Improvements
- Code and plugin performance improvements,
- Configuration improvements,
- From now on, updates are checked when the administrator joins the server,
- Added ScrollingGUI,
- Improved checking whether the player has the plugin's GUI (Only the plugin GUI is closed during reload),
- Removed SpentTimeFormattedPlaceholder (replaced with SpentTimePlaceholder).
## Fixes
- Fixed ConcurrentModificationException error after reloading the server.
- Now if the player is not found in the placeholder, it will return null (the placeholder will not be applied).
- Performance and code improvements.
- Now if the player spent time is zero or negative (in small cases), it will return "<1s".
- Added check if the player has opened chest type inventory while closing all player's inventories.
## Fixes
- Fixed an error when the user was not found after loading the server.
- Fixed username displaying correctly.
- From now on, the GUI is not closed for every player when the plugin is disabled - only for those players who have the plugin GUI open. This prevents items from being pulled from it.
- Added the ability to reset a player's spent time using the GUI.
- Configuration improvements.
- Code improvements.