Commands with trailing slashes/symbols do not autocomplete arguments & append / when pressing tab
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.


- 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


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: /`.

- 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.
Created Issue:
Commands with trailing slashes/symbols do not autocomplete arguments & append / when pressing tab
I am maintaining a world editor for a thirdparty server software.
In that editor, i am registering commands as i.e. `/pos1` or `/set <block>`
When i type `/`, i get a list of all commands. With `//` it is only the editor commands. So far, all good.
The first part of the issue comes when i press <tab>: A `/` is being appended in front.
The second issue is that the arguments of the command do not display/show/suggest
This bug has been around for a long time, and i do remember that there was a Jira issue for it - but whatever i searched, i could not find it anymore.
I am maintaining a world editor for a thirdparty server software.
In that editor, i am registering commands as i.e. `/pos1` or `/set <block>`
When i type `/`, i get a list of all commands. With `//` it is only the editor commands. So far, all good.
The first part of the issue comes when i press <tab>: A `/` is being appended in front.
The second issue is that the arguments of the command do not display/show/suggest
Th
is bug has been around for a long time, and i do remember that there was a Jira issue for it - but whatever i searched, i could not find it anymore.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.
- 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
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: /`.
- 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.
Tab issue does not reproduce for me, but confirming for the rest.





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
Affects 1.19.21
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:
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
I have updated the issue to the suggested style
Still applies to the latest version. Development build does not yield any useful output either.
Deleting my confirmation due to not understanding the issue the first time I tested.
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