PlayTimeCounter

Sponge plugin that counts players’ playtime. At the moment, it works only with MySQL!

Setup

  1. First of all you should set SQL alias in config/sponge/global.conf. Open it and find section “aliases” in section “sql”. Set the alias in the following format: alias_name"="jdbc:mysql://username:password@host/database_name.
  2. Drop .jar file into the mods folder.
  3. Restart the server.
  4. Configure plugin configuration file and reload it by the command “/sponge plugins reload”.

Commands and perms

  • /playtimecounter [playerName] - Displays playerName’s playing time. If argument isn’t specified, displays playing time of command sender.

    • Aliases: /playtime, /ptc
    • Permissions:
      • playtimecounter.cmd.playtime.base - Giving access to the command
      • playtimecounter.cmd.playtime.others - Giving possibility to see playing time of other player
  • /playtimetop - Displays top by playing time.

    • Aliases: /topplaytime, /ptctop
    • Permission: playtimecounter.cmd.playtimetop.base
  • /ptcreload - Reloads configuration file.

    • Permission: playtimecounter.cmd.reload.base

Feedback

If you face any problems, feel free to create an issue at the GitHub repository: click. Thank you.

Category: Miscellaneous

Published on Jan 27, 2019

views

stars

watchers

total downloads

Promoted Versions

Pages

Members