I am maintaining a world editor for a thirdparty server software and i am registering commands with a `/` upfront, in order to keep the commands consistent with known world editors like FAWE.
Steps to reproduce
Register a new command that got either a `/` or `#` or `@` as first char. As example i will use the `//set stone` command
Register an argument at the second slot, i.e. a string argument with the parameter name called "block"
Join the server
Be sure to have permissions for the command
Open the chat
Enter `/`
For bug number 1: Press <tab> as many times as wanted
For bug number 2: Type the command and a space, i.e. `//set `
For bug number 3: The registered command is `/help`; Type //help or //? and send it.
The observed result:
Bug number 1:
After pressing the <tab> key, the game appends a `/` to the command. This can be repeated infinitely, ending up with a chat full of `//////`
You can also select a command, press <tab>, and the game will put a `/` up front again, resulting in i.e. `///` as seen below!image-2021-08-14-13-53-52-507.png!
Bug number 2:
After entering `//set `, you'd expect the game to suggest you the command parameters and enums. Instead, the command suggestion disappears entirely, and only the chat messages are shown.
[media][media]
I have also observed the color change in the suggested commands whilst typing - which means the game knows the commands with the `/` upfront, and does not trim it in it's registry
[media][media]
Bug number 3:
As `/help` is a command registered by the plugin/thirdparty server, one would expect that command to be executed.
The client sends `Unknown command: /`.
[media]The server never receives a command request
The expected result:
The game switches between the commands when pressing <tab> as with any other command
The game suggests the command parameters and enums, plus lets you <tab> between the enums
The command is known and requested on the server, so the worldedit can respond with it's custom help
Important note
A thirdparty server had to be used as BDS does not support adding commands / parameters without complicated modding
Additional information
The world editor's name is MagicWE2 if it is necessary to see how things are registered.
Attachments
Comments 8
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
To make your bug report as effective as possible, please include the following steps to reproduce the problem:
Steps to Reproduce:
1.
2.
3.Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
What might be important to clear some confusion:
There is a cosmetic slash / added by Minecraft before any command. It initiates the command completion to be shown, as well as parameters.
The commands of the plugins are registered with an additional slash. So where Minecraft registers "setblock <position: x y z> <tileName: Block> <blockStates: block states> [destroy|keep|replace]
" and it shows up as "/setblock
", our plugin registers it as "/set <block: Block>
" which shows as "//set
".
Thank you for your report!
However, this issue is Invalid.
The server you are playing on is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki