
V
Publisher
volodyakek
Single File Runtime Console
Misc
Console Runtime Command Integration History Input Autoload GDScript
Runtime console for Godot. Usage example can be found on GitHub: https://github.com/VolodyaKEK/GodotConsole
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
GodotConsole

Features
- Everything contained in single file
Console.gd - Easy integration in an existing project
- Easy command creation
- History navigation (
ui_upandui_downby default)
How to use
- Add script
Console.gdin your project - Add
Console.gdas autoload - Add
Console.connect_node(self)in_readyon nodes which have acceptable commands (or just connect them withConsole.connect_node(node)from anywhere) - To popup console you need to setup input action
console(can be changed by settingConsole.input_actionproperty)
Acceptable command example
An acceptable command is any function with "_cmd" at the end. Postfix can be changed by setting the Console.command_postfix property to any string.
func _ready():
Console.connect_node(self);
var cmdname_desc = "Text printed when using help for this command (help cmdname)"; #Optional
var cmdname_help = "Text printed when using 'help' command"; #Optional
func cmdname_cmd(arg0, arg1):
#arg0 and arg1 is an arguments provided after command,
#there can be any number of arguments
Console.print("Command output");