Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Database & Data Integrity
nickname
anduuid
must now be unique in the database to prevent duplicates and ensure data integrity.- New UUID mapping system:
- Allows updating the UUID of an already registered player based on their nickname.
- Prevents any instance of duplicates even when switching from a premium to a cracked server (though this is not recommended).
New Features & Improvements
Playtime & Goal Enhancements
- Years as input: The plugin now accepts years (e.g.,
1y, 4d, 4m
) and automatically converts365d
into1y
. (closes #2) - New placeholder for goals:
%GOAL_NAME%
now dynamically displays the corresponding goal’s name in messages.
- New subcommands for
/playtimegoal
&/playtime
:/playtimegoal rename
: Rename goals without having to recreate them./playtime <playername> lastseen
: Displays when a player was last seen and how long it has been since then.- Requires new permission:
playtime.others.lastseen
- Requires new permission:
New Auto Update System
- Introduced automatic update checks using Spigot-UpdateChecker.
Playtime Limits & Overflow Checks
- New playtime limits:
- Maximum:
Long.MAX_VALUE
(~14.6 million years). - Minimum: Strictly
0
.
- Maximum:
- Additional overflow and underflow checks have been added.
Bug Fixes
- Fixed double insertion of groups permissions in goals when upgrading from
3.0.4
to3.1
. - Resolved caching inconsistencies when switching between online and offline user states.
New Placeholders
Playtime & Last Seen Placeholders
%PTM_PlayTime_<nickname>%
→ Displays a player's total playtime.%PTM_Lastseen_<nickname>%
→ Shows when a specific player was last seen (date). (closes #2)%PTM_Lastseen_Elapsed_<nickname>%
→ Displays how long it has been since a player was last seen (formatted duration). (closes #2)%PTM_Lastseen_Top_#%
→ Shows when the player at position#
was last seen.%PTM_Lastseen_Elapsed_Top_#%
→ Displays how long it has been since the player at position#
was last seen.
Date Formatting
- New config field:
datetime-format
- Allows customization of date formats for placeholders and
/playtime <playername> lastseen
output.
- Allows customization of date formats for placeholders and
Quality of Life Improvements
- Added autocomplete for online players' nicknames as the first argument of the
/playtime
command.- Requires permission:
playtime.others
- Requires permission:
Backward compatibility
Version 3.2 will automatically update configs and DB from older versions up to 3.0.4.
Information
Published on | February 10, 2025 |
---|---|
Downloads | 1 |
Platforms
Paper (1.20-1.21.4)
Dependencies
Paper