New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Disable the Locator Bar on a Minecraft Java Edition Server
Minecraft Java EditionMinecraft Java EditionDisable Locator Bar

How to Disable the Locator Bar on a Minecraft Java Edition Server

Disable the Locator Bar on a Minecraft Java Edition server

1 min read
Jun 28, 2026

The Locator Bar is a compass-like bar above the hotbar that was added in the 1.21.6 "Chase the Skies" update. It shows the direction of other nearby players. Using the locatorBar game rule you can turn it off server-wide for all players.

Requirement

You need OP rights (at least level 2) to change game rules. See Grant OP Rights.

Disable the Locator Bar

You can run the command either directly in the in-game chat or via the server console in the dashboard:

/gamerule locatorBar false

Re-enable the Locator Bar

Set the game rule back to true:

/gamerule locatorBar true
Written byEmeraldHost Team
Last updated on Aug 20, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Minecraft Java Edition

Ready to get started?

Rent your Minecraft Java Edition Server now

Join our Discord community 1257 members online right now