-Added/ptl resettime <player> command to reset player current time.
-Added/ptl addtime <player> <time> command to add playtime to a player.
-Added/ptl taketime <player> <time> command to take playtime from a player.
-Fixed bug when checking time of other players.
-Added notification option in the config. This allows you to set notification messages when a player reaches a certain remaining playtime. More updates regarding this option are coming.
Code (Text):
notification:
'600':
message:
- ''
- '{centered}&c&lWARNING!'
- '{centered}&cYou have &710 minutes &cleft to play on the server.'
- ''
-Added world whitelist system option that allows you to set the time limit only in certain worlds instead of the entire server. More info in the config.yml tutorial.
-Added plugin update notifications system.
-Modified/ptl check command, now it is
/ptl info.
/ptl check command now will show the player their time left to play and their total time played on the server.