This plugin adds a handy compass right to the bossbar, allowing players to easily navigate in space.
The compass shows directions in real time, always staying in front of your eyes. Ideal for servers with survival and adventure modes, it helps players find their way and not get lost in the vast world of Minecraft.
Commands
/compass addmarker <player> <name> <world>,<x>,<y>,<z>
/compass removemarker <player> <name>
Config
globalmarkers:
spawn:
location: world,0.0,60.0,0.0
permission: example.permission.spawn
messages:
only-player-command: '&cOnly a player can execute this command.'
compass-status: '&eCompass display mode is now: '
compass-hidden: '&chidden'
compass-visible: '&avisible'
invalid-args: '&cInvalid number of arguments. Use: /compass addmarker <name> <world>,<x>,<y>,<z>'
invalid-location-format: '&cInvalid location format. Use: <world>,<x>,<y>,<z>'
world-not-found: '&cWorld with name ''%world%'' not found.'
player-not-found: '&cPlayer ''%player%'' not found.'
marker-added: '&aMarker ''%marker%'' successfully added for %player%.'
coordinates-not-numbers: '&cCoordinates must be numbers.'
marker-not-found: '&cMarker with name ''%marker%'' not found.'
marker-removed: '&aMarker ''%marker%'' successfully removed for %player%.'
API
<repositories>
<repository>
<id>jitpack.io</id>
<url>
https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.mrbear21</groupId>
<artifactId>BossbarCompass</artifactId>
<version>-SNAPSHOT</version>
</dependency>
Compass.addMarker(player, "name", location);
Compass.removeMarker(player, "name");