Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
A console extension for Godot 4 modeled after the Source 2 Developer Console.
My Console
A console extension for Godot 4 modeled after the Source 2 Developer Console.
Command System
- Runtime command execution
- Command registration API
- Built-in command descriptions
- Command aliases
- Command history navigation (
β β) - Command autocomplete (
TAB) - Suggestion hints
Logging
- Default output
- Info logs
- Warning logs
- Error logs
- BBCode rich output support
- Scroll following
- Selectable console text
Installation
1. Copy the addon folder
Place the addon in the project:
addons/Console/
The directory structure should look like this:
addons/
βββ Console/
βββ Console.gd
βββ font/
βββ plugin files
2. Add font (optional)
Supported formats:
.ttf.otf.woff.woff2
Place any font in:
res://addons/Console/font/
The console will automatically load the first font it finds.
3. Add to scene
Add the script as a node:
extends CanvasLayer
or connect via:
Autoload (Singleton)
We recommend using Autoload.
Register Custom Commands
Example
func _ready():
register_command(
"god_mode",
_cmd_god_mode,
"Enable immortal mode",
"god_mode"
)
func _cmd_god_mode(args: Array) -> void:
player.invincible = true
print_info("God mode enabled")
Logging API
Console Output Methods
print_line("Default message")
print_info("Info message")
print_warning("Warning message")
print_error("Error message")
print_bbcode("[color=red]Custom BBCode[/color]")
A console extension for Godot 4 modeled after the Source 2 Developer Console.
Reviews
Quick Information
A console extension for Godot 4 modeled after the Source 2 Developer Console.