Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

MyConsole

An asset by Cucumber
The page banner background of a mountain and forest
MyConsole hero image

Quick Information

0 ratings
MyConsole icon image
Cucumber
MyConsole

A console extension for Godot 4 modeled after the Source 2 Developer Console.

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 hours ago
Git URL
Issue URL

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

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
MyConsole icon image
Cucumber
MyConsole

A console extension for Godot 4 modeled after the Source 2 Developer Console.

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers