Path Saving: This update introduces a new path saving system. What this achieves is allowing players to leave your server while having the GPS activated and once they return the navigation is resumed from where they left off. This will not work between server restarts!
Config options: Two new config options have been added regarding the above feature:
Code (YAML):
# Should the GPS remember the Players current path when they leave? # When the player joins again the navigation is resumed. saveOnQuit: true
# Ignore this if the above is set to false. # How long should the Player GPS instance be kept alive? (in seconds) # If the player does not join before the time has passed the GPS is stopped. maxQuitTime: 3600
You'll have to add these options yourself. In the default config.yml, they are located last in section: GPS Settings. If you do not wish to use this feature you'll have to add the options and set saveOnQuit to false. If you do not wish to change the default settings you do not have to add the options.
Messages: Two new join messages have been added also regarding this new feature:
Code (YAML):
resuming: '
%prefix% &aResuming navigation!' ended: '
%prefix% &cYou have been gone for too long. Navigation ended!'
If the player left with the GPS active they'll get sent one of the above messages upon rejoining. (unless there has been a server restart in between)