You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How it works?
Add option to put a prefix for the command to be done, for example if configured '/' as a prefix for the command, it is necessary to send /commands and not commands.
Why?
Some games, for example minecraft, use the console to send chat messages and call commands
Also a future suggestion of a default command, which is sent without typing the command name or prefix, example would be the /chat command in minecraft.
Note:
This would be an option that can be placed in the console inspector, and by default it would continue with no prefix required.
The text was updated successfully, but these errors were encountered:
This was already discussed previously and I agreed that this is indeed what will be added but not in the core part of the console. I'm slowly but surely working to split current monolithic core into separate modules which can be modified and replaced to make console your own.
In the mean time I will advice to you to do the same thing and just change the source code to your needs. The easiest way I see is just to prepend / character to all commands in register function.
I'm working on a fork (https://github.com/expressobits/godot-console) with several enhancements (or not) that includes exactly this feature, it's still in WIP
My plan is for this to be optional, as are other similar features (How to print a typed command to the console, which is currently commented out)
How it works?
Add option to put a prefix for the command to be done, for example if configured '/' as a prefix for the command, it is necessary to send /commands and not commands.
Why?
![image](https://user-images.githubusercontent.com/1673249/204536362-a05424fe-dcb1-4db3-999b-9fd062498282.png)
Some games, for example minecraft, use the console to send chat messages and call commands
Also a future suggestion of a default command, which is sent without typing the command name or prefix, example would be the /chat command in minecraft.
Note:
The text was updated successfully, but these errors were encountered: