PintoPlaytime A simple spigot plugin to track playtime for players
Features * Stores playtimes in a SQLite DataBase (playtimes.db)
* Manually set playtime for a player
* View playtime for player
* Give permissions and announce when a player gets a playtime milestone
* Show top ten playtimes on server with `/playtimetop`
* Track how many times any player has joined
Commands * `/playtime <player> # Get's specified player's playtime and join count (works offline if player has joined previously)`
* `/playtime <player> <time> # Set's specified player's playtime to specified value (format as X[unit] - e.g. 5h)`
* `/playtimetop # Shows top ten playtimes`
Permissions * `pintoplaytime.playtime.get.self # Allows player to view their own playtime`
* `pintoplaytime.playtime.get.others # Allows player to view other player's playtime`
* `pintoplaytime.playtime.set # Allows player to set any player's playtime`
* `pintoplaytime.top # Allows player to view top ten playtimes`
Config Milestones contains a list of 'milestones'. Format is:
* `time` - time required for the milestone. Format using X[unit] (e.g. 3h) supported units are m[minutes], h[hours], d[days]
* `message` - message to send when the milestone is achieved. Format using `RECIPIENT:MESSAGE`. Valid recipients are ALL (all online players) or PLAYER (the player who achieved the milestone). Message supports color codes with '&'
* `permission` - permission to give player when the milestone is achieved.
Errors/Bugs Make an issue on this project's GitHub repository