Compass Oordinates Plugin Wiki › Guides › Customizing the Action Bar Coordinate Format
Customizing the Action Bar Coordinate Format
Locating the Display Configuration
Open your server directory and locate the file at plugins/CompassCoords/config.yml. Look for the text setting, which controls the action bar message sent to players holding a compass.
Formatting Text and Placeholders
You can rearrange the text using any combination of available placeholders:
%x,%y,%z: Player coordinates rounded to integers.%dx,%dy,%dz: Player coordinates formatted with one decimal place.%world: The name of the player's current world.%yaw,%pitch: Player rotation angles as integers (or%dyawand%dpitchfor one decimal place).%dir: The cardinal direction label calculated from your yaw.
Color codes can be added using & (such as &6 for gold or &r to reset) or standard § symbols. For example, to show decimal positions and the current world name, set:
text: "&6%world%&r | &eX:&r %dx &eY:&r %dy &eZ:&r %dz"
Applying Your Changes
Save the config.yml file and restart your server. The next time a player holds a compass in their main hand or off-hand, the action bar will reflect your new format and color styling.