The client-side command overwrites the same command defined on the server-side, and the suggestions do the opposite
No-Eul opened this issue · 0 comments
Description of Issue
To make the command behavior of the client and server different, we can define it as follows:
somecommand client
(Defined on client)somecommand server
(Defined on server)
The issue occurs when satisfied with the following:
- On the Integrated server (single player and LAN server) or when the player joins the Dedicated server.
- The player has permissions to execute the command.
And the player tries to enter the server-side command, then the server-side command doesn't work, but the suggestion is working well. Meanwhile, the client-side command is still working, but the suggestion is not.
Environment | Execution | Suggestion |
---|---|---|
Client | ✅ | ❌ |
Server | ❌ | ✅ |
Steps To Reproduce
- Create a mod and build, like: /No-Eul/FabricTestMod/tree/command/environment-test
- Apply the mod.
- Create a new single-player world or join the existing world, or join the multiplayer server that applied the mod.
- If you have not the permission level '4' to use, acquire it.
- Try to enter the
test (client|server)
command. - See that client-side commands are executed, but server-sides are not.
- Also, see the client-sides are not suggested, but server-sides are suggested correctly.
Expected Result
Players who have permission to use the command, should be able to execute both-side commands, and they should be suggested.