Compass Oordinates Plugin Wiki › Guides › Format Coordinates with Custom Colors and Text
Format Coordinates with Custom Colors and Text
Create a Custom Display Format
The text: option lets you arrange coordinates, direction, world name, and rotation data however you want, with full color control using color codes.
How to Build Your Format
1. Open plugins/CompassCoords/config.yml.
2. Edit the text: line using these placeholders:
%x,%y,%z— integer coordinates%dx,%dy,%dz— decimal coordinates%dir— cardinal direction%world— current world name%yaw,%pitch— rotation angles
3. Add color codes using & or § (e.g., &6 for gold, &r for reset).
Example Formats
`
text: "&6[&r%world&6]&r %dir | X:%x Y:%y Z:%z"
text: "&b%dir &7| &f%dx, %dy, %dz"
text: "&e%x &8/ &e%y &8/ &e%z &7(%dir)"
`
Reload the plugin to see your changes in the action bar.