This Spigot Minecraft Plugin will track the playtime of players and show it in chat on command.
Go to file
Chris 712f732fb6 reformat code 2020-12-28 09:11:09 +01:00
gradle/wrapper update gitignore 2020-12-24 05:00:19 +01:00
src/main reformat code 2020-12-28 09:11:09 +01:00
.gitignore update gitignore 2020-12-24 05:00:19 +01:00
LICENSE.txt change LICENSE 2020-12-24 03:34:54 +01:00
README.md add jencins link to readme 2020-12-24 05:30:25 +01:00
build.gradle update build.gradle 2020-12-24 04:49:05 +01:00
settings.gradle moved to gradle for builds 2017-02-07 23:23:04 +01:00

README.md

PlaytimeReloaded

A Spigot/paper plugin to track playtime of all players on the server.

Track and save the playtime of all players in a SQLite or MySQL database. Supports command execution, then a player reach a defined playtime.

Command List

  • /playtime [player] Show your own playtime or the playtime from other players.

  • /toptime [numbers] Shows the top [numbers] of players with with the highest playtime.

Installation

Download the latest build from https://ci.sahrea.de/job/PlaytimeReloaded/ and store it into your plugin folder.

Permissions

  • playtime.login Shows the playtime at login.

  • playtime.use The player can use the /playtime command.

  • playtime.use.others The player can see the playtime from other players.

  • playtime.top Can see playtime list.

Config

mysql:
  host: 127.0.0.1
  port: 3306
  db: test
  user: test
  pass: test
text:
  Date:
    Days: '&aDays&6'
    Hours: '&aHours&6'
    Minutes: '&aMinutes&a'
  Prefix: '&6[&aPlayTime&6] &a'
  YourCurrentPlaytime: Your current playtime is &6%t
  PlayerPlaytimeIs: The playtime from player &6%s&a is &6%t
  PlayerNotFound: '&cThis player dont have play on this server.'
  NoPermission: '&cYou dont have permission to do this!'
  TopPlayerTitel: This is the Top 5 player list.
  TopPlayerEntry: '%r : %s - %t'
timeCommand:
- 8;say &6[&aPlayTime&6] &6%%player%% &ahas &6%%time%% &aminutes &aplayed.