Skip to Content
MineDuels

Locator bar

Keep opponents visible on the locator bar while they sneak, on Paper 1.21.6 and newer.

Minecraft 1.21.6 added the locator bar: a bar at the bottom of the screen with markers for other players. Vanilla hides a marker while that player sneaks. In a duel that would make a sneaking opponent invisible on the bar. MineDuels keeps them visible during the fight.

How it works

While a player sneaks in the FIGHTING state of a match, a hidden marker armor stand rides them and sends the waypoint in their place. The marker exists only while the player sneaks in the fight. It is removed at once when they stop, when the round ends, on death, on elimination, on leaving or quitting, so it never blocks a teleport of the match.

All of it runs on the player's own thread, so it is safe on Folia.

Settings

In config.yml:

locator-bar:
  show-sneaking: true
  mode: invisible
KeyDefaultMeaning
show-sneakingtruefalse turns the feature off
modeinvisibleinvisible, hide-entity or off
ModeBehaviour
invisibleThe marker is an invisible armor stand that transmits the waypoint. Use this one
hide-entityThe marker is hidden from clients. The waypoint is then not sent, so it does not work. Kept for testing
offSame as show-sneaking: false

An unknown mode logs Unknown locator-bar.mode '...', using invisible. Reload with /md reload.

When it is off by itself

A server without the locator bar (before 1.21.6) has no waypoint_transmit_range attribute. MineDuels detects that, logs a warning and turns the feature off:

This server has no locator bar (attribute waypoint_transmit_range is missing); locator-bar.show-sneaking is disabled

That is normal on older versions. Nothing else is affected.

Tips

  • A player whose own transmit range is 0 still transmits: MineDuels uses a large default so the marker works.
  • On some Folia versions the locator bar behaves differently. See Folia notes.

Related: Match start, Spectating.

On this page