Skip to content

Axyss/LocatorToggle

Repository files navigation

HoYoDaily Logo

📋 Overview

LocatorToggle is a lightweight Spigot plugin that allows players to locally toggle the newly introduced locator bar. When toggled off, the player is also hidden from other players’ locator bars, providing a more private gameplay experience.

Gamerule 'locatorBar' must be set to 'true'

🎥 Demonstration

🛠️ Commands

  • /locator - Toggles the locator bar functionality on/off for the player.
  • /locator radius <value> - Sets the locator bar radius (1-60,000,000 blocks).

🔐 Permissions

Permission node Description Default setting
locator.toggle Controls usage of the /locator command Everyone
locator.radius Controls usage of the /locator radius subcommand Everyone

🔌 PlaceholderAPI Support

This plugin provides the following placeholders:

  • %locatortoggle_status% - Returns "enabled" or "disabled" based on the player's preference
  • %locatortoggle_radius% - Returns the player's custom locator bar radius (if set)

📄 License

This project is licensed under the MIT license.

About

Spigot plugin for toggling the new locator bar locally.

Resources

License

Stars

Watchers

Forks

Languages