Patch Notes: Time Formatting & Fly System
New Features
- Offline Time Countdown: Fly time will now decrease even when the player is offline. This ensures that temporary fly durations are consistent whether you are logged in or not. (you can activate that in config)
Bug Fixes
- Time Calculation Fixed: Disabling a time unit (like minutes) no longer makes that time "disappear." If you have 90 seconds and minutes are disabled, the time will correctly roll over (e.g., to 90 seconds) instead of being lost.
Config Improvements
- Your Custom Format is Now Respected: The time format in your config file is now followed exactly. Any custom spacing you add (whether it's between hours and minutes, or between the number and its suffix) will be preserved just as you wrote it.
- Smarter "Auto-Format": The auto-format feature now handles tricky cases better. For example, if you disable minutes and seconds but have a short duration (like 182 seconds) that doesn't reach hours, the formatter will intelligently display "182 seconds" instead of "0 hours" or showing nothing at all.
- fix delay of :
YAML:#work only if fly-decrement-method is PLAYER_FLYING_MODE fly-decrement-disabled-by-static: false #in seconds delay: 3 #may have a margin of error of 1 second
Add auto-reactivate-fly-after-conditions-disable:
This feature means that if a player was flying before flight was disabled by certain conditions, their flight will automatically be re-enabled when they enter an authorized area.
- fix %wfly_fly_remaining_seconds% that was delete by error
and add %wfly_fly_remaining_{units}%
units :
- seconds
- minutes
- hours
- days
Update: Condition Tweaks & Removal of Auto Command-Time System
Condition behavior improvement:
If you had fly enabled and it was disabled due to conditions, it will now automatically re-enable when you enter an area where flying is allowed again.Removed automatic addition of commands-time-remaining:
The system that automatically added predefined time messages such as:
has been removed for better manual configuration control.YAML:commands-time-remaining: 0: commands: 'title %player% title {"text":"You have 0 seconds fly left!","bold":true,"color":"gold"}' 1: commands: 'title %player% title {"text":"You have 1 seconds fly left!","bold":true,"color":"gold"}' 2: commands: 'title %player% title {"text":"You have 2 seconds fly left!","bold":true,"color":"gold"}' 3: commands: 'title %player% title {"text":"You have 3 seconds fly left!","bold":true,"color":"gold"}' 5: commands: 'title %player% title {"text":"You have 5 seconds fly left!","bold":true,"color":"gold"}'
General improvements to condition handling and region-based behavior.
Improvements & Features:
- Optimized code for better performance.
- Added the
-sargument forgive,giveall,removeall, andremovetimecommands to execute actions silently for the target player.- Added support for units in fly time.
- Fixed formatting issues for
%wfly_fly_remaining%.- New command:
/wfly convert <player> <time> <units>to give fly tokens to another player (similar to giving fly time tokens in a box).
