BetterPlaytime
BetterPlaytime is a simple but powerful plugin to view players in-game playtime, times played, join date, and last played time.
 
dDUNjCL.png


Features

  • Easily migrate your existing Minecraft player statistics into the playtime database.
  • Fully customizable in every single way.
  • Configurable command prefix.
  • Check offline player's playtime, join date, times played, and last played time.
  • Beautiful multi-page leaderboard with JSON hovers.
  • Full PlaceholderAPI support.
  • Powerful message formatting using MineDown.
  • Full Hex Color support.
  • Toggle player's visibility on the leaderboard.
  • Supports SQLite and MySQL.
  • Lightning fast and efficient with HikariCP.
  • Made with love.

Installation

  1. Install BetterPlaytime.jar into your plugins folder.
  2. Load the plugin to generate configs.
  3. Optionally, if you are using MySQL, configure the database details in config.yml.
  4. If you changed your database type, restart the server.
  5. Run /playtime migrate from console to migrate existing Minecraft player playtime statistics.

Commands / Permissions

  • /playtime
    Get your in-game playtime statistics.
    playtime.use

  • /playtime <player>
    Get the specified player's in-game playtime statistics.
    playtime.use.other

  • /playtime top [page]
    View the playtime leaderboard.
    playtime.top

  • /playtime hide <player>
    Toggle the specified player's visibility on the leaderboard.
    playtime.admin

  • /playtime migrate
    Migrate Minecraft player statistics to the playtime database.
    playtime.admin

  • /playtime reload
    Reload the plugin configuration.
    playtime.admin

  • /playtime help
    View the plugin help.


Placeholders

  • %playtime_name%
    The player's name.

  • %playtime_time%
    The player's playtime.

  • %playtime_time_days%
    The player's playtime in days.

  • %playtime_time_hours%
    The player's playtime in hours.

  • %playtime_time_minutes%
    The player's playtime in minutes.

  • %playtime_join_count%
    The player's join count.

  • %playtime_join_date%
    The player's join date.

  • %playtime_last_played%
    The player's last played time.

Each placeholder has a leaderboard variation by suffixing _# or _playername at the end of the placeholder.

For example, %playtime_time_1% would get the playtime of the player ranked first place on the leaderboard and %playtime_time_Log1xx% would get the playtime for me (if applicable).


Configuration

  config.yml
  messages.yml

Support / Feature Requests

  • Add Log1x on Discord
  • Message me on Polymart