
A compass for hiding coordinates in f3 and displaying coordinates in f3 and the action bar when the compass is taken
Compass Coordinates — a lightweight Paper/Spigot plugin that shows your coordinates only while you are holding a compass. It renders coordinates in the action bar and toggles F3 coordinates visibility via a “fake” reduceDebugInfo using ProtocolLib. When no compass is in hand, coordinates are hidden everywhere (including F3).
/gamerule reducedDebugInfo# This file explains every option. Copy the keys to `plugins/CompassCoords/config.yml`.
#
# Placeholders available in the `text` value:
# %x, %y, %z - player coordinates (integers)
# %dx, %dy, %dz - player coordinates with one decimal
# %world - world name
# %yaw, %pitch - player rotation (integers)
# %dyaw, %dpitch - player rotation with one decimal
# %dir - cardinal direction derived from yaw (uses `directions` mapping below)
#
# Color codes:
# Use `&`-codes (e.g. &6, &r). They will be converted to §-codes at runtime.
# You can also write §-codes directly if you prefer.
# Whether the plugin is enabled at all.
enabled: true
# How often to update the Action Bar (in ticks). 20 ticks = 1 second.
# Lower values update more frequently but may be noisier.
delay: 5
# The Action Bar message format shown while holding a compass.
# Combine any placeholders listed above. Colors: use &-codes or §-codes.
# Example with integer coords:
# "&6%dir&r | &6X:&r %x &6Y:&r %y &6Z:&r %z"
# Example with one-decimal coords:
# "§6%dir§r | §6X:§r %dx §6Y:§r %dy §6Z:§r %dz"
text: "§6%dir§r | §6X:§r %x §6Y:§r %y §6Z:§r %z"
# Labels for the 8 compass directions used by %dir.
# Customize them to your language or style if you want.
directions:
north: "N"
northeast: "NE"
east: "E"
southeast: "SE"
south: "S"
southwest: "SW"
west: "W"
northwest: "NW"