{"repo":"20milliliter/command-terminal","free":true,"listed":false,"github":"https://github.com/20milliliter/command-terminal","clone":"git clone https://github.com/20milliliter/command-terminal.git","description":"An addon for Godot 4 that manages a developer-created Command Line, with the goal of providing flexible commands, with direct but safe interaction with business logic, through readable command declarations.","language":"GDScript","stars":23,"topics":["godot4","addons","commands","godot-engine","plugin","terminal"],"license":"MIT","category":"cli-tools","readme_excerpt":"command-terminal CommandTerminal is an addon for Godot 4.x that manages a developer-created, hierarchical command system (think Minecraft), with the focus of providing flexible commands, with direct and type-safe interaction with business logic, through fairly readable declarations for commands. Features include: - CommandServer to register and execute commands, anywhere and anytime. - CommandBuilder to easily create powerful, flexible, and type-safe commands. - CommandTerminal to input commands, with included rich autocompletion, and live validation. Installation You can install it via the Asset Library in the Godot Editor. Alternatively, you can install the addon as a git submodule: git submodule add https://github.com/20milliliter/command-terminal.git ./addons/command-terminal Finally, you can install it manually by downloading the zip. Overview Suppose your project is a 2D-platformer that has a player.gd script for a CharacterBody2D : [!NOTE] Everything done hereafter requires no alterations to the above code. Creating a command to give the player a coin may be done by emitting the coin collected() signal when it is ran. The following code creates command \"player give coin\" to do just that. The following code creates command \"player set walk speed \" to alter WALK SPEED . Values inputted that are not valid, positive floats are visibly flagged. Validated arguments include a default value which is supplied when autocompleteed. [!TIP] Validators such as is valid float positiv","default_branch":null,"files":null,"tree":[],"storefront":"/r/20milliliter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/20milliliter/command-terminal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}