Sueta

PlayTimes - Track Player PlayTime

1.6.2b

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

·Plugin
  1. 1.6.2blatestVersion bug fixJun 20, 2024
    Update v1.6.2b Better 1.20.6 Support Changelog: - Fixed older builds of 1.20.6 not loading PlayTimes Properly​ If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting me here! <3 https://www.buymeacoffee.com/codedred​
    6054 downloads
  2. 1.6.21.20.6 SupportJun 19, 2024
    Update v1.6.2 1.20.6 Support & Optimizations v1.6.1 Changelog: - Add support for 1.20.6 - Optimized & fixed hex. Format: <#123456> - Optimized onQuit listener to reduce lag significantly - Fixed many online/offline uuid lookup issues. ​ If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Past Changelogs: v1.6.2 Changelog: - Fixed some PAPI bugs - Fixed 1.8 support - Added/fixed the following placeholders: PAPI: %PlayTimes_playtime% %PlayTimes_rawtime% %PlayTimes_afktime% PAPI Database support: %PlayTimes_global_playtime% %PlayTimes_global_rawtime% %PlayTimes_global_afktime% %PlayTimes_playtime_serverId% %PlayTimes_rawtime_serverId% %PlayTimes_afktime_serverId% Global placeholders grab the total time from all servers. More info: https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-… The plugin should work with SQLite. If you are experiencing issues, please DM me or report in GitHub ASAP! Check out the previous 1.6 version changelog below! Change Log: - Bungee/Multi-server support through SQL. - MySQL fully tested - SQLite not fully tested (see roadmap) - Database placeholders to see your playtime on other servers​ - Global placeholders to see total playtime from all servers - AFK tracker - New Placeholders! %afktime% & %rawtime% - /toppt works in console now - Vanished players removed from /pt tab completion - Fixed offline player check bug. - /pt debug renamed to /pt version Disclaimer: This was a big update for Playtimes, I checked and tested as much as I could but there still may be some bugs! Please if you encounter issues report them to me in a DM or on Github. I will fix the bugs ASAP! More updates coming soon! Roadmap: 1.6: Database Support & AFK Checker 1.6.1: Full SQLite support + more placeholders 1.6.2: Permission-Based Messages + Nickname Support 1.6.3: Easy Hoverable Message Configuration + better wiki 1.7: Playtimes Rewards/Shop/GUI Database Info: https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-… AFK Tracker:​ Code (Text): # AFK Tracker Configuration[/SIZE][/B][/SIZE][/SIZE][/B][/SIZE] [SIZE=5][B][SIZE=4][SIZE=5][B][SIZE=4]# NOTE: When enabled, this will remove afk time from %playtime% placeholder afk-settings: enabled: true ## Time in minutes after which a player is considered AFK. threshold: 5 ## Notifications settings for AFK status changes. broadcast-afk: on-enter-afk: true on-exit-afk: true # Message to send to the player when they are marked as AFK. on-enter-afk-message: "&eYou are now marked as AFK." # Message to send to the player when they are no longer marked as AFK. on-exit-afk-message: "&eYou are no longer AFK." # Leave true unless you are experiencing lag/issues with one of the afk listeners. cancel-afk: on-player-move: true on-player-chat: true on-player-interact: true If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting me here! <3 https://www.buymeacoffee.com/codedred​
    322 downloads
  3. 1.6.1Placeholder UpdateMar 23, 2024
    Update v1.6.1 Placeholder Update Changelog: - Fixed some PAPI bugs - Fixed 1.8 support - Added/fixed the following placeholders: PAPI: %PlayTimes_playtime% %PlayTimes_rawtime% %PlayTimes_afktime% PAPI Database support: %PlayTimes_global_playtime% %PlayTimes_global_rawtime% %PlayTimes_global_afktime% %PlayTimes_playtime_serverId% %PlayTimes_rawtime_serverId% %PlayTimes_afktime_serverId% Global placeholders grab the total time from all servers. More info: https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-… The plugin should work with SQLite. If you are experiencing issues, please DM me or report in GitHub ASAP! Check out the previous 1.6 version changelog below! Change Log: - Bungee/Multi-server support through SQL. - MySQL fully tested - SQLite not fully tested (see roadmap) - Database placeholders to see your playtime on other servers​ - Global placeholders to see total playtime from all servers - AFK tracker - New Placeholders! %afktime% & %rawtime% - /toppt works in console now - Vanished players removed from /pt tab completion - Fixed offline player check bug. - /pt debug renamed to /pt version Disclaimer: This was a big update for Playtimes, I checked and tested as much as I could but there still may be some bugs! Please if you encounter issues report them to me in a DM or on Github. I will fix the bugs ASAP! More updates coming soon! Roadmap: 1.6: Database Support & AFK Checker 1.6.1: Full SQLite support + more placeholders 1.6.2: Permission-Based Messages + Nickname Support 1.6.3: Easy Hoverable Message Configuration + better wiki 1.7: Playtimes Rewards/Shop/GUI Database Info: https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-… AFK Tracker:​ Code (Text): # AFK Tracker Configuration[/SIZE][/B][/SIZE] [SIZE=5][B][SIZE=4]# NOTE: When enabled, this will remove afk time from %playtime% placeholder afk-settings: enabled: true ## Time in minutes after which a player is considered AFK. threshold: 5 ## Notifications settings for AFK status changes. broadcast-afk: on-enter-afk: true on-exit-afk: true # Message to send to the player when they are marked as AFK. on-enter-afk-message: "&eYou are now marked as AFK." # Message to send to the player when they are no longer marked as AFK. on-exit-afk-message: "&eYou are no longer AFK." # Leave true unless you are experiencing lag/issues with one of the afk listeners. cancel-afk: on-player-move: true on-player-chat: true on-player-interact: true If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting me here! <3 https://www.buymeacoffee.com/codedred​
    1819 downloads
  4. 1.6Database + Afk SupportFeb 21, 2024
    Update v1.6 Early Access* Database + AFK Support Change Log: - Bungee/Multi-server support through SQL. - MySQL fully tested - SQLite not fully tested (see roadmap) - Database placeholders to see your playtime on other servers - Global placeholders to see total playtime from all servers​ - AFK tracker - New Placeholders! %afktime% & %rawtime% - /toppt works in console now - Vanished players removed from /pt tab completion - Fixed offline player check bug. - /pt debug renamed to /pt version Disclaimer: This was a big update for Playtimes, I checked and tested as much as I could but there still may be some bugs! Please if you encounter issues report them to me in a DM or on Github. I will fix the bugs ASAP! More updates coming soon! Roadmap: 1.6: Database Support & AFK Checker 1.6.1: Full SQLite support + more placeholders 1.6.2: Permission-Based Messages + Nickname Support 1.6.3: Easy Hoverable Message Configuration + better wiki 1.7: Playtimes Rewards/Shop/GUI Database Info: https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-… AFK Tracker:​ Code (Text): # AFK Tracker Configuration # NOTE: When enabled, this will remove afk time from %playtime% placeholder afk-settings: enabled: true ## Time in minutes after which a player is considered AFK. threshold: 5 ## Notifications settings for AFK status changes. broadcast-afk: on-enter-afk: true on-exit-afk: true # Message to send to the player when they are marked as AFK. on-enter-afk-message: "&eYou are now marked as AFK." # Message to send to the player when they are no longer marked as AFK. on-exit-afk-message: "&eYou are no longer AFK." # Leave true unless you are experiencing lag/issues with one of the afk listeners. cancel-afk: on-player-move: true on-player-chat: true on-player-interact: true If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting me here! <3 https://www.buymeacoffee.com/codedred​
    851 downloads
  5. 1.5.3Bug fixes + new placeholderOct 2, 2023
    Update v1.5.3 Change Log: - Fixed pt.others permission bug - Fixed update checker (log message) - Added new PAPI placeholder: %PlayTimes_timesjoined% - will return the # of times a player has joined the server More updates coming soon! Check out the 1.5 changelog for more! Many updates are on the way. If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting here! <3 https://www.buymeacoffee.com/codedred​
    2272 downloads
  6. 1.5.2API UpdateJul 27, 2023
    Update v1.5.2 Change Log: - Added API back (thank you @Produktecheck for reporting) API: There will be a major API update soon, this update just put the previous API back into the plugin. Information about this API can be found here. Check out the 1.5 changelog for more! Many updates are on the way. If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting here! <3 https://www.buymeacoffee.com/codedred​
    1291 downloads
  7. 1.5.1Bug fixes for 1.20Jul 13, 2023
    Update v1.5.1 Change Log: - Patched a 1.20 version bug. This bug only affected 1.20 servers, not 1.20.1 (thank you @tantrum90 for reporting) - Fixed block command bug Check out the 1.5 changelog for more! Many updates are on the way. If you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting here! <3 https://www.buymeacoffee.com/codedred​
    612 downloads
  8. 1.5Minecraft 1.20 Compatibility and Enhanced PerformanceJul 11, 2023
    Update v1.5 Change Log: -Full compatibility with Minecraft 1.20 servers -Significantly optimized plugin for improved efficiency, resulting in reduced lag and faster responses -Introducing two new admin commands for enhanced support: "pt help" and "pt debug" -Added command tab completer for streamlined command usage -Improved formatting for enhanced readability and visual appeal Format Tips:​ The extra space between the format names has been removed. This means if you would like the space you would need to add it back in the config.yml. Furthermore, this change means other formats can be used. See below for help with formats. XX hrs XX mins XX s​ Code (Text): playtime: name: second: " s" minute: " min " hour: " hr " day: " day " seconds: " s" minutes: " mins " hours: " hrs " days: " days " XX:XX:XX​ Code (Text): playtime: name: second: "" minute: ":" hour: ":" day: ":" seconds: "" minutes: ":" hours: ":" days: ":" ​ XXhrs XXmins XXs Code (Text): playtime: name: second: "s" minute: "min " hour: "hr " day: "day " seconds: "s" minutes: "mins " hours: "hrs " days: "days " ​ Important Notice: PlayTimes v1.5 has undergone significant changes and rigorous testing on both online and offline servers running Minecraft 1.20. However, if you encounter any bugs or issues, I kindly request your assistance in promptly reporting them. Your valuable feedback allows me to address any concerns swiftly and provide a seamless experience for all users. Please create an issue on the GitHub repository using the following link: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting here! <3 https://www.buymeacoffee.com/codedred​
    377 downloads
  9. 1.4.71.19 SupportJul 19, 2022
    Update v1.4.7 Change Log: - Added 1.19 Support - Fixed 1.19 offline time checks. Sorry for the delays, been busy with work and life. Updating all my plugins soon as well as looking into adding tons of new features to this plugin including an afk checker! If you run into a bug please report it asap on GitHub: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting here! <3 https://www.buymeacoffee.com/codedred​
    4394 downloads
  10. 1.4.61.18 Support!Dec 16, 2021
    Update v1.4.6 Change Log: - Added 1.18 Support If you run into a bug please report asap on GitHub: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting here! <3 https://www.buymeacoffee.com/codedred READ UPDATE 1.4! https://www.spigotmc.org/resources/...time-server-uptime.…
    3419 downloads
  11. 1.4.5Update 1.4.5Nov 2, 2021
    Update v1.4.5 Change Log: - Fixed Update Checker Bugs - Updated Maps - General code update PlayTimes is now officially open source! Check out the wiki and more here: https://github.com/CodedRed-Spigot/PlayTimes If you run into a bug please report asap on GitHub: https://github.com/CodedRed-Spigot/PlayTimes/issues Please consider supporting here! <3 https://www.buymeacoffee.com/codedred READ UPDATE 1.4! https://www.spigotmc.org/resources/...time-server-uptime.…
    1264 downloads
  12. 1.4.4Timings FixJul 7, 2021
    NOTE: A lot changed in update 1.4, please report bugs to my discord or a pm to me ASAP! Update v1.4.4 Change Log: - Fixed 'pt <name>' bug - Fixed leaderboards showing 0s - Fixed timings for players who have yet joined the 1.17 version of updated servers. - Changed UUID grabber - Updated threading After many many headaches, I believe PlayTimes is finally at a perfect stable version. 1.17 changed stats again... For servers who updated from 1.13+ to 1.17, I added a safety check for players' playtime. This will allow the plugin to grab playtime from players who have not yet joined on the 1.17 server. PlayTimes behaves differently depending on the mc version and offline/online mode. It takes many hours and a lot of work to get it working in all scenarios. If you do enjoy PlayTimes please leave a friendly review Thank y'all very much! If you run into a bug please report asap in a dm or on discord: https://discord.gg/7A9UA2n Please consider supporting here! <3 https://www.buymeacoffee.com/codedred READ UPDATE 1.4! https://www.spigotmc.org/resources/...time-server-uptime.…
    2606 downloads
  13. 1.4.3Bug Fixes & New ThreadingJun 29, 2021
    NOTE: A lot changed in update 1.4, please report bugs to my discord or a pm to me ASAP! Update v1.4.3 Change Log: - Fixed Leaderboard PAPI Placeholder bug - Fixed /pt <player> bug for offline-mode servers - Optimized Threading - Optimized API requests (zero-lag requests due to new threading) - Cleaned up code READ UPDATE 1.4! https://www.spigotmc.org/resources/...time-server-uptime.…
    739 downloads
  14. 1.4.2Placeholder fixJun 28, 2021
    NOTE: A lot changed in update 1.4, please report bugs to my discord or a pm to me ASAP! Update v1.4.2 ChangeLog: - Fixed PAPI Placeholder bug - Fixed statistical bug Note: Offline servers may experience smalls issues, they are being looked into readily. If you experience anything please first restart your server, if the problem consists report to me asap! READ UPDATE 1.4! https://www.spigotmc.org/resources/...time-server-uptime.…
    383 downloads
  15. 1.4.1Leaderboard FixJun 25, 2021
    NOTE: A lot changed in the last update, please report bugs to my discord or a pm to me ASAP! Update v1.4.1 ChangeLog: - Fixed Leaderboard bug - Fixed times-joined placeholder bug Note: Offline servers may experience smalls issues, they are being looked into readily. If you experience anything please first restart your server, if the problem consists report to me asap! READ THE LAST UPDATE! https://www.spigotmc.org/resources/...time-server-uptime.… ​
    509 downloads
  16. 1.4BIG UPDATE: 1.17 Support and more! *MUST READ*Jun 24, 2021
    NOTE: A lot changed in this update, please report bugs to my discord or a pm to me ASAP! Update v1.4 ChangeLog: - Added 1.17 Support - Fixed offline server issues - Fix Hex code bug - Optimized code - Optimized leaderboards - Added new /pt block command - Added new /pt top command - Fixed blocking players from leaderboards bug - Added only-hours format - Changed way data folder holds data (This will make it easier to add new features) BEFORE DOWNLOADING: A lot was changed in this update, about 85% of the plugin was re-coded to be more efficient and allow easier bug fixes and updates. Before you download please make a copy of your data.yml file just in case. I tested this multiple times and the reformatting code seems to work flawlessly. Another note: The config file was changed to make it easier for new users to use. I was unable to automatically update your config.yml for you. It will use default values unless you specify differently. New values consist of: - only-hours format - new 'player-never-joined' msg format - 'use-papi-placeholders: false' setting​ You can find the updated default yml here: .SpoilerTarget">Spoiler: default config.yml Code (YAML): # PlayTimes by CodedRed # For support please ask here: https://discord.gg/7A9UA2n # Prefix will show before 'player-not-found' & 'player-never-joined' messages prefix : "&7[&b&lPlayTimes&7]" # date-format can be changed to your liking. # For more placeholders look here: https://docs.oracle.com/javase/8/docs/api/java/text/Simpl… # This is the join date format. date-format : MM/dd/yyyy # Placeholders API info # Only enable this if you are using PAPI holders in PlayTimes # If you want to use PlayTimes placeholders in other plugins... # Just download PAPI and it will automatically register use-papi-placeholders : false # Main Playtimes info. # The name refers to the format. Example if you have minute = " min" then it will display "x min" playtime: name: second : "s" minute : "min" hour : "hr" day : "day" seconds : "s" minutes : "mins" hours : "hrs" days : "days" ## only-hours - when true it will display playtime in hours (When true this will also disable show-seconds/days setting) ## show-seconds - when true it will display seconds ## show-days - when true it will display days only-hours : false show-seconds : true show-days : true ## Built-in Placeholders: ## %player% %time% %timesjoined% %joindate% ## You may also use PAPI Placeholders message : - "&b&m=======&b&l[%player%]&b&m=======" - "&aPlaytime:&f %time%" - "&aTimes joined:&f %timesjoined%" - "&aJoined Date:&f %joindate%" - "&b&m============================" # /Uptime command info - only placeholder is %serveruptime% uptime: message : - "&b&m============================" - "&aServer Uptime:&f %serveruptime%" - "&b&m============================" # /toppt command info ## Built-in Placeholders: ## %player% %place% %time% %joindate% ## You may also use PAPI placeholders top-playtime: header : "&b****&9[&3&lPlayTime Leaderboards&9]&b***" content : "&5%place%) &9&l%player% &9&o- %time%" footer : "&b****************************************" enable-cooldown : true cooldown-seconds : 60 # Built in messages, may change to your liking :D messages: noPermission : "&cYou cannot run this command." player-not-found : "&cPlayer not found." player-never-joined : "&cPlayer has never joined the server!" cooldown : "&cYou cannot use this command for %timeleft% seconds!" HEX Color Code Change: The new format for Hex is <#123456> Make sure to update configs! NEW COMMANDS! There is a new block command to block users from the leaderboards! This command is efficient and fast. /pt block <player> /pt unblock <player> (permission node: pt.block) There is also a new shortcut for the leaderboards! /pt top​ API CHANGES! The API has been changed and is being massively worked on. A few of the features as been removed due to how the new core works. These features may return in future updates. For a look at the new API check out the overview page.​ So what's coming soon? This re-code was much needed, it allows me to push new features out easier. Here is a list of planned features coming to PlayTimes: - MySQL support - Holograms - Rewards - Sort times based on week/month/year - Control and analyze playtime - Get real-time statistics on your servers playtime - And much more!​
    340 downloads
  17. 1.3.10Added PAPI support to TopPlayTime CommandJan 27, 2021
    Update v1.3.10 ChangeLog: - Added PAPI support to /toppt command. You can now use PAPI placeholders in the header, footer, and content. OFFLINE SEVERS READ BELOW: If your server is in offline mode and you cannot get the player times, please use the PAPI placeholders until a fix is found. Sorry about this error, still trying to figure out what's wrong ​
    4191 downloads
  18. 1.3.9Switched back to the old Statistics codeJan 5, 2021
    Update v1.3.9 ChangeLog: - Switched back to the old Statistics code, due to the code working better for all versions of Minecraft. - HEX color bug fixes OFFLINE SEVERS READ BELOW: If your server is in offline mode and you cannot get the player times, please use the PAPI placeholders until a fix is found. Sorry about this error, still trying to figure out what's wrong ​
    1386 downloads
  19. 1.3.8Bug FixesDec 24, 2020
    Update v1.3.8 ChangeLog: - Minor Bug fixes mostly for 1.12< servers. - Optimization for Placeholders/Toppt - Optimization for API​ PAPI placeholders info: Code (Text): %PlayTimes_playtime% - returns player's playtime %PlayTimes_uptime% - returns server uptime %PlayTimes_joindate% - returns players joindate Specific time placeholders: %PlayTimes_justdays% - returns only the amount of days played %PlayTimes_justhours% - returns only the amount of hours played %PlayTimes_justmins% - returns only the amount of mins played %PlayTimes_justsecs% - returns only the amount of secs played Leaderboard placeholders: %PlayTimes_topname1% - returns the #1 player with the most playtime (returns their name) %PlayTimes_toptime1% - returns the #1 time (player #1's time) You can go from 1 - 10 with this! Example) If you want the 3rd top playtime name and time do: %PlayTimes_topname3% and %PlayTimes_toptime3% Complete list: %PlayTimes_topname1% %PlayTimes_topname2% %PlayTimes_topname3% %PlayTimes_topname4% %PlayTimes_topname5% %PlayTimes_topname6% %PlayTimes_topname7% %PlayTimes_topname8% %PlayTimes_topname9% %PlayTimes_topname10% %PlayTimes_toptime1% %PlayTimes_toptime2% %PlayTimes_toptime3% %PlayTimes_toptime4% %PlayTimes_toptime5% %PlayTimes_toptime6% %PlayTimes_toptime7% %PlayTimes_toptime8% %PlayTimes_toptime9% %PlayTimes_toptime10%
    835 downloads
  20. 1.3.7Small Fix for 1.13 ServersDec 22, 2020
    Update v1.3.7 ChangeLog: - Fixed a bug for 1.13 servers​ PAPI placeholders info: Code (Text): %PlayTimes_playtime% - returns player's playtime %PlayTimes_uptime% - returns server uptime %PlayTimes_joindate% - returns players joindate Specific time placeholders: %PlayTimes_justdays% - returns only the amount of days played %PlayTimes_justhours% - returns only the amount of hours played %PlayTimes_justmins% - returns only the amount of mins played %PlayTimes_justsecs% - returns only the amount of secs played Leaderboard placeholders: %PlayTimes_topname1% - returns the #1 player with the most playtime (returns their name) %PlayTimes_toptime1% - returns the #1 time (player #1's time) You can go from 1 - 10 with this! Example) If you want the 3rd top playtime name and time do: %PlayTimes_topname3% and %PlayTimes_toptime3% Complete list: %PlayTimes_topname1% %PlayTimes_topname2% %PlayTimes_topname3% %PlayTimes_topname4% %PlayTimes_topname5% %PlayTimes_topname6% %PlayTimes_topname7% %PlayTimes_topname8% %PlayTimes_topname9% %PlayTimes_topname10% %PlayTimes_toptime1% %PlayTimes_toptime2% %PlayTimes_toptime3% %PlayTimes_toptime4% %PlayTimes_toptime5% %PlayTimes_toptime6% %PlayTimes_toptime7% %PlayTimes_toptime8% %PlayTimes_toptime9% %PlayTimes_toptime10%
    489 downloads
  21. 1.3.6PAPI Fixes and more!Dec 22, 2020
    Update v1.3.6 ChangeLog: - Fixed minor bugs - PAPI placeholder fixes - PAPI Optimization - Time updates automatically for /toppt and PAPI​ PAPI placeholders info: Code (Text): %PlayTimes_playtime% - returns player's playtime %PlayTimes_uptime% - returns server uptime %PlayTimes_joindate% - returns players joindate Specific time placeholders: %PlayTimes_justdays% - returns only the amount of days played %PlayTimes_justhours% - returns only the amount of hours played %PlayTimes_justmins% - returns only the amount of mins played %PlayTimes_justsecs% - returns only the amount of secs played Leaderboard placeholders: %PlayTimes_topname1% - returns the #1 player with the most playtime (returns their name) %PlayTimes_toptime1% - returns the #1 time (player #1's time) You can go from 1 - 10 with this! Example) If you want the 3rd top playtime name and time do: %PlayTimes_topname3% and %PlayTimes_toptime3% Complete list: %PlayTimes_topname1% %PlayTimes_topname2% %PlayTimes_topname3% %PlayTimes_topname4% %PlayTimes_topname5% %PlayTimes_topname6% %PlayTimes_topname7% %PlayTimes_topname8% %PlayTimes_topname9% %PlayTimes_topname10% %PlayTimes_toptime1% %PlayTimes_toptime2% %PlayTimes_toptime3% %PlayTimes_toptime4% %PlayTimes_toptime5% %PlayTimes_toptime6% %PlayTimes_toptime7% %PlayTimes_toptime8% %PlayTimes_toptime9% %PlayTimes_toptime10%
    285 downloads
  22. 1.3.5New PAPI Placeholders + Hide Days Option!Dec 15, 2020
    Update v1.3.5 ChangeLog: - /pte completely removed for the time being. - Added more PAPI placeholders - Fixed cooldown %timeleft% placeholder - Added show-days option to hide days from time format - Fixed minor bugs​ PAPI placeholders info: Code (Text): %PlayTimes_playtime% - returns player's playtime %PlayTimes_uptime% - returns server uptime %PlayTimes_joindate% - returns players joindate Specific time placeholders: %PlayTimes_justdays% - returns only the amount of days played %PlayTimes_justhours% - returns only the amount of hours played %PlayTimes_justmins% - returns only the amount of mins played %PlayTimes_justsecs% - returns only the amount of secs played Leaderboard placeholders: %PlayTimes_topname1% - returns the #1 player with the most playtime (returns their name) %PlayTimes_toptime1% - returns the #1 time (player #1's time) You can go from 1 - 10 with this! Example) If you want the 3rd top playtime name and time do: %PlayTimes_topname3% and %PlayTimes_toptime3% Complete list: %PlayTimes_topname1% %PlayTimes_topname2% %PlayTimes_topname3% %PlayTimes_topname4% %PlayTimes_topname5% %PlayTimes_topname6% %PlayTimes_topname7% %PlayTimes_topname8% %PlayTimes_topname9% %PlayTimes_topname10% %PlayTimes_toptime1% %PlayTimes_toptime2% %PlayTimes_toptime3% %PlayTimes_toptime4% %PlayTimes_toptime5% %PlayTimes_toptime6% %PlayTimes_toptime7% %PlayTimes_toptime8% %PlayTimes_toptime9% %PlayTimes_toptime10%
    762 downloads
  23. 1.3.4PTE support removed.Aug 24, 2020
    Update v1.3.4 ChangeLog: - /pte is now only available in 1.16+ - /pte is being worked on for other versions until then it is disabled in old versions. - Fixed some bugs​
    2576 downloads
  24. 1.3.3API UpdateAug 5, 2020
    Update v1.3.3 ChangeLog: - Removed Support for old API - TimelessServer API now returns UUIDs not Players 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. ​ .SpoilerTarget">Spoiler: API Info 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 Thank you all for the support and downloads! Check our PlayTimes statistics here https://bstats.org/plugin/bukkit/PlayTimes/5289​
    811 downloads
  25. 1.3.2Bug Fix UpdateJul 25, 2020
    Update v1.3.2 ChangeLog: - Fixed Support for Spigot 1.12< servers - Fixed API support for 1.12< servers - Removed /pte support for servers < 1.13 (/pte will not become available for < 1.13 servers unless md_5 himself helps me figure it out) Thank you all for the support and downloads! Check our PlayTimes statistics here https://bstats.org/plugin/bukkit/PlayTimes/5289​
    694 downloads
  26. 1.3.1Hex Support!Jul 24, 2020
    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. ​ .SpoilerTarget">Spoiler: API Info 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​
    346 downloads
  27. 1.3Big Big Update!Jun 27, 2020
    Update v1.3 ChangeLog: - Added Support for 1.16.1 - Completely Recoded Plugin! - More efficient code - Removed %deaths% placeholder - Better/New API - Added commands to reset/set playtime Reset & Set PlayTime: You can now set and reset players' playtime. This was a popular request that I had a hard time deciding if it should be added or not. With this ability, you have the opportunity to reset all the players' playtime on your server but once done it cannot be reversed! Be careful with who you give permission to this command. USAGE:​ Code (Text): PERMISSION NODE: pt.admin /pte reset all - resets every single players' playtime /pte reset <player> - resets a players' playtime /pte set <player> <time-in-seconds> - sets a players' playtime Please note: This feature is very new, use at your own risk in old old versions of MC Complete Recode: This plugin undertook a pretty massive recode. This recode will make it 100x easier to add features. It also made the plugin much more efficient. However, with every new code introduced new problems. This update was tested many times but could contain a bug somewhere. If you experience any issues please dm me asap! Thank you all for the support, happy to be working on this plugin once again. DEVELOPERS READ API CHANGES BELOW: The API for this plugin has been greatly redone. First, start off by adding this resource to your plugin. ​ .SpoilerTarget">Spoiler: API Info 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​
    1003 downloads
  28. 1.2.15Offline PlayTimes Fixed!Apr 29, 2020
    Update v1.2.15 Update Info: Looks like Mojang changed some API for my offline UUID fetcher ! Thank you all for reporting this, the offline checks, as well as the top leaderboards bug, has been fixed! Stayed tuned. Big update coming soon! Coming soon: - Better toppt optimization - more placeholders - gui? - Premium PlayTimes version (PlayTimesPlus) MySQL (PlayTimesPlus) AFK Checker (PlayTimesPlus) Rewards Thank you all for the support and downloads! Check our PlayTimes statistics here https://bstats.org/plugin/bukkit/PlayTimes/5289​
    1375 downloads
  29. 1.2.14Update 1.2.14Apr 13, 2020
    Update v1.2.14 Update Info: - Bug fixes for PAPI extensions - Offline Toppt Bug fixes - Added leaderboard feature Block users from Toppt: You can now block players from Toppt within the config. When players are blocked they will not show on the /toppt leaderboards. Coming soon: - Better toppt optimization - more placeholders - gui? - Premium PlayTimes version (PlayTimesPlus) MySQL (PlayTimesPlus) AFK Checker (PlayTimesPlus) Rewards Thank you all for the support and downloads! Check our PlayTimes statistics here https://bstats.org/plugin/bukkit/PlayTimes/5289​
    811 downloads
  30. 1.2.13Bug fixesDec 16, 2019
    Update v1.2.13 Update Info: Thanks to @Kollho||Tobi for reporting a bug via my discord! Afk checker and rewards coming soon ​
    1894 downloads
  31. 1.2.12Support for 1.15!Dec 14, 2019
    Update v1.2.12 Update Info: PlayTimes has been updated to support spigot version 1.15! Bug fixes were also done in this update.​
    421 downloads
  32. 1.2.11Bug fixesDec 9, 2019
    Update v1.2.11 Bug fix! Thanks to @LucidAPs a bug with top playtime has been fixed. See update v1.2.9 for more info about the latest features!​
    421 downloads
  33. 1.2.10Small fixDec 7, 2019
    Update v1.2.10 Bug fix! Just a small fix for offline join date See update v1.2.9 for more info!​
    372 downloads
  34. 1.2.9Update v1.2.9!Dec 7, 2019
    Update v1.2.9 Bug fixes! Many bug fixes were made in this update including join date, PAPI and toppt! New Join Date: You will now notice a new feature in your config.yml, "date-format". You can now edit the format of the join date Better time telling: To make the player time more grammatically correct you can edit the plural names!​ Code (Text): playtime: name: second: sec minute: min hour: hr day: day seconds: secs minutes: mins hours: hrs days: days More updates coming soon! Stayed tuned ​
    262 downloads
  35. 1.2.8Update v1.2.8Sep 19, 2019
    Update v1.2.8 Bug fixes and API additions! In this update, I fixed many bugs that include the top playtime and the API! The API now has new additions that let you receive day, hours, minutes and seconds in Integer form. Check main page for more info.​
    991 downloads
  36. 1.2.7Read update description!Aug 5, 2019
    Update v1.2.7 WARNING: In this update, the plugin was renamed from "PlayTime" to "PlayTimes". This means a new folder will be created on your server named PlayTimes. If you would like to keep your current info please copy and paste the info from the "PlayTime" folder to the "PlayTimes" folder. This was an important change that needed to be done. I am very sorry for the inconvenience. New papi placeholder: A new placeholder was added for PAPI, %PlayTimes_joindate%. This placeholder will show the joindate on any plugin that supports PAPI Show seconds feature: As requested by some players, you can choose to show the seconds of a playtime. If show-seconds is true in the config then when a player uses /playtime they will be able to view up to the second they've played for.​
    898 downloads
  37. 1.2.6Placeholders in PAPIAug 2, 2019
    Update v1.2.6 Placeholders expansion has finally been added! If you would like to use playtime & uptime placeholders in other plugins that support PAPI you are now able to do so! PAPI Placeholders: %PlayTimes_playtime% %PlayTimes_uptime% For placeholders to work in other plugins you will need PlayTime downloaded and inside your plugins folder. The plugin you are trying to use placeholders in must also support PAPI API has also been fixed! If you are experiencing problems please contact me via discord ​
    417 downloads
  38. 1.2.5Last bug fix (I hope)Jul 25, 2019
    Update v1.2.5 Alright last bug fix I promise ​
    507 downloads
  39. 1.2.4Bug fixesJul 24, 2019
    Update v1.2.4 Bug fixes.​
    322 downloads
  40. 1.2.3Top PlayTime Command!Jul 24, 2019
    Update v1.2.3 Top PlayTime Command BETA: /topplaytime (/toppt) was added into the plugin! This command will display the top 10 players with the most playtime! If you are using this feature keep in mind that it will only read players playtime if they joined after this update! Meaning /topplaytime will not go through all the players in the server if they have not yet joined the server since you added this update into your plugins folder. GUI coming soon! TopPlayTime Cooldown: An optional cooldown was also added to this command! To bypass the cooldown add the permission node "pt.block-cooldown" Can be edited inside the config.yml Q) My /topplaytime command isn't updating every second?? A) If /toppt isn't updating every second then you must change the autosave to '20' inside your bukkit.yml file. NOTE this might cause lagg, not 100% sure.​ Code (Text): ticks-per: animal-spawns: 400 monster-spawns: 1 autosave: 20
    334 downloads
  41. 1.2.2Bug fixesJul 22, 2019
    Update v1.2.2 Bug fixes.​
    382 downloads
  42. 1.2.1Update v1.2.1!Jul 19, 2019
    Update v1.2.1 Plugin now works in all versions! Spigot 1.7 and above! For versions 1.12 and below: If the players playtime isn't updating every second you will have to go into your bukkit.yml folder on your server and change ticks-per: autosave: to 20. ​ Code (Text): ticks-per: animal-spawns: 400 monster-spawns: 1 autosave: 20 (located in bukkit.yml folder) ​
    414 downloads
  43. 1.2Completely re-coded.Jul 18, 2019
    Update v1.2 In this update, the plugin has been completely re-coded. Many bug fixes have been done as well as prepping for the new features API has been fixed. JoinDate has been fixed. Messages has been fixed. and more No new features have been added but, The new features will be coming soon! I wanted to put this update out to fix all the bugs before releasing something new. Coming soon features: Placeholders added to PAPI /toptime command playtime rewards addon playtime GUI Better API​
    245 downloads
  44. 1.1.2Big fixes!May 3, 2019
    Update v1.1.2 Offline playtime now works again! Many bugs were fixed as well as settings.yml added. Plugin no longer needs a config.yml. All info will be read from the settings.yml! Plugin only supports 1.13+ Only tested in 1.14.​
    767 downloads
  45. 1.1.1Update v1.1.1Dec 1, 2018
    Update v1.1.1 In this update, I fixed many bugs. The reload command is now fixed. There is no more /admintime instead use /playtime <reload/help/info>. The permission node is the same "pt.admin". /playtime reload - to reload config​
    772 downloads
  46. 1.1Official 1.13 update!Dec 1, 2018
    Update v1.1 This is the official 1.13.x update. Upon downloading you will see 2 different jar files, labeled "playtime(1.7-1.12.2)" and "playtime(1.13.x)". Make sure you use the correct one for your spigot version! The API was also updated, you may now pull the uptime with "getUptime" More info coming soon​
    271 downloads
  47. 1.0.3Better UUID PullsSep 3, 2018
    Update v1.0.3 In this update, I made pulling the UUID of an offline player from Mojang's website more efficient with only 1 pull instead of 2. This should help servers that have frequent pulls. 1.13.x update coming soon!​
    420 downloads
  48. 1.0.2API & FirstJoinDate!Jul 20, 2018
    Update v1.0.2 In this update, I fixed a few bugs as well as added in an API for devs and a new placeholder! PlayTime was also completely recoded to make the plugin more efficient! API: Simply add this resource to your plugin then use the import below: Code (Text): import me.Cmaaxx.PlayTime.PlayTimeAPI; The values will return in a String. To get the values use either: Code (Text): PlayTimeAPI.getTime(player)[/SIZE][/FONT][/CENTER] [FONT=Courier New][SIZE=4] [CENTER]PlayTimeAPI.getOfflineTime(player) ​ getTime will return the playtime of player, while getOfflineTime will return the playtime of an offline player. Placeholder: I added in the placeholder, %joindate%. This placeholder will return the exact date the player joined the server. ​
    447 downloads
  49. 1.0.1Update v1.0.1Jul 17, 2018
    Update v1.0.1 In this update, I fixed a few bugs with the refreshing of /playtime. Thank you to Cyrax for finding this issue!​
    331 downloads
  50. 1.0Jul 17, 2018
    321 downloads

Similar projects

Plugin →