WorldGuard

WorldGuard

8M Downloads

All menu interactions reference command alias `/rg` and should use a more specific `/worldguard:region` instead

ens-gijs opened this issue ยท 1 comments

commented

WorldEdit Version

it doesn't matter

WorldGuard Version

7.0.13-dist

Platform Version

1.21.4-188-main@8de7e35

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

I have another plugin that I want to take ownership of /rg but this breaks all worldguard menus because they naively use /rg instead of being more specific.

Expected Behavior

All menu generated commands (such as flags page navigation, etc.) should specify the more specific /worldguard:region command name instead of /rg

FAWE has nothing to do with this report.

Reproduction Steps

  • run /region info
  • click Flags
    or run any worldguard command that generates a text menu with pages and click next/previous or any other interaction and observe the console - all commands generated use the /rg command which is not specific enough to make these menu systems robust.

Optional WorldGuard-Report

No response

Anything Else?

No response

commented

going to wontfix this because the namespaced commands are also a config and liable to not be there, and any combination of things could lead to whatever chat commands not working as intended.

in the future, we'll probably just use the new (1.21.6+) custom click packet that mojang is adding and will likely be usable through adventure/paper api.