Create a Minecraft plugin for Paper 1.21.11 that fully controls the new XP-bar location sharing system.
I want commands to turn this feature ON or OFF for all players:
/locshare off
Disables the new XP-bar location system for the entire server.
No player should be able to see anyone’s location.
It should block any API or mechanic that shows coordinates on the XP bar.
/locshare on
Re-enables the XP-bar location system normally.
Add permission nodes:
locshare.toggle (for both commands)
Settings must save in config.yml and apply instantly.
Plugin should be lightweight and fully support Paper 1.21.11.
Goal: Players must not see each other’s location when the feature is OFF.”
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code