Update v1.6
Early Access* Database + AFK Support
Change Log:
- Bungee/Multi-server support through SQL.
- MySQL fully tested
- SQLite not fully tested (see roadmap)
- Database placeholders to see your playtime on other servers
- Global placeholders to see total playtime from all servers
- AFK tracker
- New Placeholders! %afktime% & %rawtime%
- /toppt works in console now
- Vanished players removed from /pt tab completion
- Fixed offline player check bug.
- /pt debug renamed to /pt version
Disclaimer:
This was a big update for Playtimes, I checked and tested as much as I could but there still may be some bugs! Please if you encounter issues report them to me in a DM or on Github. I will fix the bugs ASAP!
More updates coming soon!
Roadmap:
1.6: Database Support & AFK Checker
1.6.1: Full SQLite support + more placeholders
1.6.2: Permission-Based Messages + Nickname Support
1.6.3: Easy Hoverable Message Configuration + better wiki
1.7: Playtimes Rewards/Shop/GUI
Database Info:
https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-Support
AFK Tracker:
Code (Text):
# AFK Tracker Configuration
# NOTE: When enabled, this will remove afk time from %playtime% placeholder
afk-settings:
enabled: true
## Time in minutes after which a player is considered AFK.
threshold: 5
## Notifications settings for AFK status changes.
broadcast-afk:
on-enter-afk: true
on-exit-afk: true
# Message to send to the player when they are marked as AFK.
on-enter-afk-message: "&eYou are now marked as AFK."
# Message to send to the player when they are no longer marked as AFK.
on-exit-afk-message: "&eYou are no longer AFK."
# Leave true unless you are experiencing lag/issues with one of the afk listeners.
cancel-afk:
on-player-move: true
on-player-chat: true
on-player-interact: true