Black Friday Sale 25% off your first month with code Ends in 03d06h39m25s


 
 
 
 
Knowledgebase Minecraft Java How To Enable/Disable The Minecraft Play...

How To Enable/Disable The Minecraft Player Locator Bar

The Player Locator Bar shows where your friends are, with distance and height markers, right where your XP bar sits. Here is how to turn it on or off.

Java Edition

ℹ️ Note
The locator bar is on by default in Java Edition 1.21.6 and newer.

Join your server and type one of these in chat. You need to be an operator (OP).

In-Game Chat (To Turn ON)
/gamerule locatorBar true
In-Game Chat (To Turn OFF)
/gamerule locatorBar false

Press Enter. It changes right away for everyone!

💡 Tip
On Minecraft 1.21.11 and newer, gamerules were renamed, so use locator_bar instead.
Start Your Minecraft Java ServerUnlimited RAM · Unlimited slots · From $9.99/monthStart My Server

Bedrock Edition

On Bedrock, it is a world setting instead of a command.

01
Before starting your world, open its World Settings.
02
Scroll down to Multiplayer Options.
03
Switch Locator Bar on or off.
04
Start your world and you are all set!

Related Guides

How to Make Someone an Operator in a Minecraft Server
Get OP on your Java server so the gamerule command works.
Guide To Minecraft Gamerules: All Rules Explained
Details on the renamed gamerules in 1.21.11 and newer, plus every other rule.

🛠️ Troubleshooting Tips

Permission error in Java? You need OP first. The operator guide in Related Guides above shows how to get it.

Still stuck?

Our team is happy to help. Open a ticket through the live chat button in the bottom-right corner of our website, or join our Discord and open a ticket there.

Join our Discord

Was this article helpful?

Minecraft Java Server Hosting

Start Your Own Minecraft Java Server

Build, Explore, Survive with Friends 24/7 Expert Support Swap between 60 games at any time
Start My Server From $9.99/month  ·  24-hour money-back guarantee
Minecraft Java server hosting