Hidendra / LWC

Lightweight Protection for Chests, Furnaces, Dispensers, and more for the Minecraft server mod Bukkit
Other
166 stars 123 forks source link

LWC Menu Command #936

Open minimusubi opened 8 years ago

minimusubi commented 8 years ago

The /lwc menu command seems to have been broken for a very long time now. When one attempts to use it in any way, you simply get /lwc printed back at you, and the menu doesn't appear to change one bit.

Update: The issue now is that /lwc menu should be removed from the LWC command help.

Codingale commented 8 years ago

That happens when the plugin's command executor returns false, probably outdated help function or case sensitive. Check out the source code and maybe that'll help.

leasoncre commented 8 years ago

maybe there was once plans to make a gui?

but yeah.. always thought that odd... never did anything

minimusubi commented 8 years ago

I was always under the impression that /lwc menu <basic|advanced> changed the help text and command usage. For example, the simple menu would display commands such as /cprivate and /cpublic, while the advanced menu would display commands such as /lwc -c <public|private>.

minimusubi commented 8 years ago

Upon further investigation, it appears that my suspicion has some merit. https://github.com/Hidendra/LWC/blob/6ba6d41def5b30f3a10fa7cc5e9bffd7c24b6b0c/core/src/main/resources/lang/lwc_en.properties#L243 shows basic and advanced help text.

Update: Sadly, the changelog for LWC 4.1.0 documents the official removal of this command (https://github.com/Hidendra/LWC/blob/master/changelog.md#lwc-410) The issue now then is that /lwc menu is still listed in the command help for LWC and should be removed.