Respawn | You can now have the compass start when a player respawns. The compass will automatically target the player's death location for them to navigate back to. To enable this you'll have to add the following to your config.yml file:
Code (YAML):
# When a player respawns after a death the compass is started # with the death location as the target. The compass won't start # if the death and respawn worlds aren't the same. A player is # required to have the 'gps.startonrespawn' permission. startOnRespawn: true
New Message | When the compass is started as the result of respawning the following message is sent:
Code (YAML):
Messages:
Compass:
startedOnRespawn: '
%prefix% &aFind your death location by following the compass!'
The message is automatically added to the messages.yml file.
New Permission | The following permission is required for the compass to start on respawn: gps.startonrespawn
API | A new StartSource has been added: PLAYER_RESPAWN When the GpsStartEvent is fired due to the compass starting as a result of a player respawning this is the StartSource.
Refactoring | All events have been refactored and restructured for better code clarity.