Edit of asset "Game Developer Console" Accepted

Old/Current New/Edit
Title Game Developer Console Game Console
Description This Addon provides a flexible in-game developer console system, allowing you to register custom command and execute them during runtime. You can easily add commands with or without parameters, including optional arguments, and provide descriptions and usage examples for each. The console supports toggling visibility, pause the game when opened. The console can be disabled for release builds if not needed. It also include methods to update the settings for the console, such as changing the toggle key or change command colors.

The addon is compatible with Godot 4.4 and above, some breaking changes where introduced in version 0.5. and 0.6.. For detailed usage, examples and updates, visible the GitHub repository.
Addon to add a console to your game, this will allow you to run commands after opening the console.

To add a command simply use

Console.register_custom_command("reload", _reload, [], "Reload current scene")

where reload is a function without parameters.
If you want to parse parameter use

Console.register_custom_command("count_up", _count_up, ["(int) amount to count up"], "Increase the counter", "Command will increase a local counter", ["count_up 1", "count_up 3"])
This adds a command with a single argument, a short and long description and some examples.



To unregister it run, this should be done if a node does leave the scene tree.
Console.remove_command("reload")

Other interessting methods
Console.set_console_key(KEY_F12) -> Set toggle key
Console.hide_console() -> Hide console
Console.show_console() -> Show console
Console.should_pause_on_open() -> Pause game tree if console does open up
Console.disable() -> Disable console completely, can be used to remove it on release builds
Console.enable() -> Enable a disabled console

Category Tools Tools
License MIT MIT
Repository Provider GitHub GitHub
Repository Url https://github.com/XanatosX/godot-game-console https://github.com/XanatosX/godot-game-console
Issues Url https://github.com/XanatosX/godot-game-console/issues https://github.com/XanatosX/godot-game-console/issues
Godot version Godot 4.4 Godot 4.3
Version String 0.6.1 0.1.3
Download Commit 0da67f2ddb9ffbf7620eb9d2984436d98cd7e201 0d3d7a47254681f31bf254f71b7630175d38e15a
Download Url (Computed) https://github.com/XanatosX/godot-game-console/archive/0da67f2ddb9ffbf7620eb9d2984436d98cd7e201.zip https://github.com/XanatosX/godot-game-console/archive/0d3d7a47254681f31bf254f71b7630175d38e15a.zip
Icon Url https://media.githubusercontent.com/media/XanatosX/godot-game-console/refs/heads/main/images/logo.png
https://media.githubusercontent.com/media/XanatosX/godot-game-console/refs/heads/main/images/logo.png