Skip to content

Add Taj's Core v1.0.0 - Godot modding framework#1

Closed
Copilot wants to merge 7 commits intomainfrom
copilot/add-tajs-core-framework
Closed

Add Taj's Core v1.0.0 - Godot modding framework#1
Copilot wants to merge 7 commits intomainfrom
copilot/add-tajs-core-framework

Conversation

Copy link

Copilot AI commented Jan 7, 2026

Implements a modular framework for Godot 4.x game mods providing module registration, logging, settings, events, keybinds, and code patching.

Core Systems

  • runtime.gd - Module registration with versioning and lifecycle management
  • logger.gd - Multi-level logging (DEBUG/INFO/WARN/ERROR) with optional file persistence
  • settings.gd - Namespaced ConfigFile storage with version-based migrations
  • event_bus.gd - Global event system supporting built-in and custom signals
  • keybinds.gd - Input action registration with automatic conflict detection
  • patches.gd - Apply-once callable registry with persistence across sessions
  • mod_main.gd - Bootstrap singleton initializing subsystems in dependency order

Key Features

  • Namespace isolation prevents mod conflicts (Core.Settings.get_value("mod_name", "key"))
  • Migration system handles schema evolution (register_migration(version, callable))
  • Keybind conflicts detected before registration with detailed reporting
  • Patch execution tracked in settings to guarantee single application
  • Null-safe Core references throughout for safe initialization
  • Godot 4.x signal syntax (signal_name.emit() vs emit_signal())

Usage

extends Node

func _ready():
    # Register module
    Core.register_module("MyMod", self, "1.0.0")
    
    # Setup keybind
    var key = InputEventKey.new()
    key.keycode = KEY_F1
    Core.Keybinds.register_action("my_action", [key], "Description")
    
    # Namespaced settings
    Core.Settings.set_value("my_mod", "enabled", true)
    Core.Settings.save_settings()

Documentation

Complete API reference, installation guide, quickstart tutorial, and working example module included.

Original prompt

A Godot ModLoader “Taj’s Core” framework for my game mod. Add core/runtime.gd, logger.gd, settings.gd (namespaced keys + migrations), event_bus.gd, keybinds.gd (register actions + conflict handling), patches.gd (apply_once registry), and mod_main.gd bootstrap. Include docs/API.md + README, semantic versioning, and a tiny example module showing Core.register_module + keybind registration. No gameplay changes.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 6 commits January 7, 2026 17:33
Co-authored-by: tajemniktv <12156943+tajemniktv@users.noreply.github.com>
Co-authored-by: tajemniktv <12156943+tajemniktv@users.noreply.github.com>
Co-authored-by: tajemniktv <12156943+tajemniktv@users.noreply.github.com>
…ile I/O

Co-authored-by: tajemniktv <12156943+tajemniktv@users.noreply.github.com>
Co-authored-by: tajemniktv <12156943+tajemniktv@users.noreply.github.com>
Co-authored-by: tajemniktv <12156943+tajemniktv@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Godot ModLoader Taj's Core framework Add Taj's Core v1.0.0 - Godot modding framework Jan 7, 2026
Copilot AI requested a review from tajemniktv January 7, 2026 17:46
@tajemniktv
Copy link
Member

@copilot

@tajemniktv tajemniktv closed this Jan 7, 2026
@tajemniktv tajemniktv deleted the copilot/add-tajs-core-framework branch January 10, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants