PlayerTimeTracker Plugin
A Minecraft plugin that tracks and displays player playtime, featuring leaderboards and customizable messages.
Description
PlayerTimeTracker is a simple yet powerful plugin designed to track the playtime of players on your Minecraft server. It offers commands for players to check their own playtime and view the top players based on total playtime. The plugin also includes customizable messages to personalize the experience.
Features
- Track Playtime: Automatically track the playtime of each player.
- Leaderboard: Display the top players with the most playtime.
- Customizable Messages: Modify messages through the
config.yml
file. - Data Persistence: Store playtime data in
data.yml
and keep it updated every second.
Commands
-
/playtime
- Description: Shows the total playtime of the player.
- Usage:
/playtime
- Permission:
playertimetracker.playtime
-
/topplaytime
- Description: Shows the leaderboard of players with the most playtime.
- Usage:
/topplaytime
- Permission:
playertimetracker.topplaytime
Permissions
-
playertimetracker.playtime
- Description: Allows the player to check their playtime.
- Default: true
-
playertimetracker.topplaytime
- Description: Allows the player to view the top playtime leaderboard.
- Default: op
Configuration
config.yml
Customize the message shown to players when they check their playtime.