Мова

LocatorToggle

LocatorToggle

ModrinthSpigotMC

Allow Users to Toggle the New Locator Bar

409 завантажень 6 підписників оновлено 4mo ago
остання v1.3 Modrinth
Bukkit Paper Purpur Spigot 1.21.6 – 1.21.11 SocialUtility

📋 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).
  • /locator reload - Reloads the plugin configuration and language files.

🔐 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 |
| locator.reload | Controls usage of the /locator reload subcommand | Operators |

⚙️ Configuration

Click to view config.yml
# Whether new users will have their locator disabled by default.
locator-disabled-by-default: false

# Maximum radius that players can set using /locator radius.
locator-max-radius: 60000000

# Default radius when players enable the locator.
# This only applies when the player hasn't set a custom radius yet.
default-locator-radius: 60000000

🔌 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)

Версії

Release
1.3
bukkit, paper, purpur · 1.21.6, 1.21.7, 1.21.8 · 4mo ago
- Added `locator-max-radius` config option to limit the maximum radius players can set (#7) - Added `default-locator-radius` config option to set the initial…
241
Release
1.2
bukkit, paper, purpur · 1.21.6, 1.21.7, 1.21.8 · 7mo ago
- Added `/locator radius <value>` command to customize locator bar radius (#3) - Added `locator-disabled-by-default` config option to control default locator…
98
Release
1.1
bukkit, paper, purpur · 1.21.6, 1.21.7, 1.21.8 · 9mo ago
- Fixed locator bars still being hidden after unloading/removing the plugin (#1)
33
Release
1.0
bukkit, paper, purpur · 1.21.6, 1.21.7 · 11mo ago
37

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити LocatorToggle

SpigotMC

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.