Skip to content

[Feature Request] /cconfig clientcommands send_command_feedback #808

Description

@Tatertot5s

When using most of the commands from client commands it sends back some kind of feedback message. For example when doing /cgive diamond it will return "Gave 1 [Diamond] to self" into the game chat and logs. With vanilla commands if you have operator permissions you can do /gamerule send_command_feedback false and it will suppress these kinds of messages. This is also a potential issue with the /cfunction command as it will return all the extra log messages of the command unlike the vanilla /function command.

It would be nice if you could disable/enable the messages for commands from client commands by doing something like /cconfig clientcommands send_command_feedback [true|false] or implementing some other alternative way to do this (If you're still wanting to use Camel Case in those cconfig commands it could be sendCommandFeedback like it used to be before Mojang switched all the gamerules to snake case).

There would also likely have to be some exceptions, as the /cenchant command's entire interface is sent in chat, but if it's a message like "Successfully ran the command" it shouldn't need to be in chat. Another way could be to do /crun [command] and then make it so that command doesn't have any output to your chat.

If there's already some way to do this let me know, otherwise this feature would be great as I often find using these commands clogging up chat when working heavily with client command functions or when using other mods (like Minescript/JSMacros) to automate the usage of these commands.

Example of what I mean with /cfunction showing the outputs of commands inside of it.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions