{"id":20769239,"url":"https://github.com/rootkot/godot4-dev-console","last_synced_at":"2025-12-25T07:28:16.604Z","repository":{"id":234994896,"uuid":"789872346","full_name":"rootKot/godot4-dev-console","owner":"rootKot","description":"Dev console for Godot 4 projects. Mostly useful for developing multiplayer games, where each instance can print their own logs","archived":false,"fork":false,"pushed_at":"2024-04-22T01:22:52.000Z","size":147,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T19:41:35.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootKot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-21T19:26:12.000Z","updated_at":"2025-01-14T19:06:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7cf2f56-3166-4ec8-9b3e-6b0364244a95","html_url":"https://github.com/rootKot/godot4-dev-console","commit_stats":null,"previous_names":["rootkot/godot4-dev-console"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rootKot/godot4-dev-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootKot%2Fgodot4-dev-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootKot%2Fgodot4-dev-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootKot%2Fgodot4-dev-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootKot%2Fgodot4-dev-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootKot","download_url":"https://codeload.github.com/rootKot/godot4-dev-console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootKot%2Fgodot4-dev-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28023455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T11:42:56.598Z","updated_at":"2025-12-25T07:28:16.578Z","avatar_url":"https://github.com/rootKot.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev Console for Godot 4.2.x\n\nHey there! Check out this handy in-game dev console I made for Godot. It's super easy to set up and perfect for debugging multiplayer games.\n\nYou know how the built-in console kinda jumbles everything together? Well, mine separates the console outputs for each instance, making multiplayer debugging way easier.\n\nGive it a try and see how much smoother your development process can be!\n\n![Screenshot1](Screenshot1.PNG)\n\n\n## Features\n\n- Simple setup and usage\n- Print anything in console using Console.print()\n- Define custom commands for your game\n- Navigate previous commands with ease using the arrow keys\n- Toggle the console with the press of the `~` key\n\n## Installation\n\n* Add the repo as a submodule anywhere in your project\n\n```bash\n  git submodule add git@github.com:rootKot/godot4-dev-console.git\n```\nNow you will have `Console.tscn` in that `godot4-dev-console` folder\n* Drag and drop the `Console.tscn` inside your scene node.\nFrom the inspector you can set is the console should be visible by default when runing the project\n\n## Usage\n\n* Use `~` key to open/close the console (It is actually ` key)\n* Type `help` and press Enter, to see available commands\n* For printing something in the console use Console.print() instead of print()\n```gdscript\n  Console.print('Hello world')\n  Console.print('This is my variable', my_variable)\n  Console.print('I', 'can', 'pass', 'up', 'to', 12, 'params')\n```\n\n## Add custom commands\n```gdscript\n\tConsole.add_command(\n\t\tcommand_name: String,\n\t\tfunction: Callable,\n\t\tfunction_arguments_if_needed: Array[String],\n\t\tdescription_to_show_in_help: String\n\t)\n```\n### Examples\n```gdscript\n\tConsole.add_command(\n\t\t'set_player_pos',\n\t\t_set_player_pos,\n\t\t['float', 'float'],\n\t\t'Set player pos. Ex. set_player_pos 100 50'\n\t)\n\tfunc _set_player_pos(x: float, y: float):\n\t\tposition = Vector2(x, y)\n```\n```gdscript\n\tConsole.add_command(\n\t\t'is_player_can_move',\n\t\tfunc(val: bool): _is_player_can_move = val,\n\t\t['bool'],\n\t\t'set if player can move. Ex. is_player_can_move false'\n\t)\n```\n### Remove command\n```gdscript\n\tConsole.remove_command('is_player_can_move')\n```\n\n## Future plans\n* Implement Autocomplete functionality\n* Add checkbox to select if the console should be available in release build\n\n## License\n### MIT License\nCopyright © 2024 rootKot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootkot%2Fgodot4-dev-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootkot%2Fgodot4-dev-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootkot%2Fgodot4-dev-console/lists"}