Inactivity Timer | This update features a brand new feature; GPS inactivity. Idling with the GPS active unnecessarily keeps a number of entities loaded, runs the update task, executes the GPS path algorithm, and a few more logic based tasks. You can now have the GPS automatically shut down after a number of seconds if the player hasn't moved in that time period. This is a great feature to lower the resources used by the GPS plugin.
The following has been added to the config.yml file:
Code (YAML):
# Decide how long a player can remain inactive with the GPS enabled. # Inactivity is based on movement. When the player moves the timer resets. InactivityTimer:
enabled: true
maxInactivitySeconds: 300
You'll have to add this manually to your config.yml file. If you do not wish to change the defaults you do not have to add it. If you do not wish to use this feature you have to add it and set enabled to false.
Message | A new message regarding the above feature has also been added:
Code (YAML):
Messages:
GPS:
maxInactivity: '
%prefix% &cYou have been inactive for too long. Navigation ended!'
The message is automatically added to the messages.yml file.