Commander API Documentation
website·Indexed 31 days ago
https://capi.un-known.xyzDocumentation for Commander API (v2.1.0), featuring ScriptEvents for controlling player health, size, and inventory, as well as spawning entities and items. Includes details on macros for velocity and scoreboards, form editors for JSON/ESON command generation, and tools for managing command sets.
What's inside Commander API
- Form actions are executed when a button is pressed within an Action Form or Message Form. These actions only trigger upon a button press; if the form is cancelled, no action is executed. For commands and target-based actions, the player who opened the form is treated as the executor/target by default if no specific target is provided.
Overview of Commander API for Minecraft Bedrock Edition
Commander API is a tool designed to extend the command capabilities of Minecraft Bedrock Edition. By leveraging ScriptAPI, it allows developers to implement complex logic and event detection that are not possible with vanilla commands alone.Introduction to Commander API Macros
Macros in Commander API allow developers to replace long, complex command strings with concise placeholders. They are evaluated from the innermost nested macro outward, replacing placeholders with their resolved values before the final command is executed.# Complex raw command /titleraw @a actionbar {"rawtext":[{"selector":"*"},{"text":"'s money: "},{"score":{"objective":"money","name":"*"}}]} # Simplified version using Macros /execute as @a run scriptevent capi:actionbar <!name>'s money: <!score=money>Introduction to Commander API Macros
Macros in Commander API allow developers to replace long, complex commands with concise placeholders. They are evaluated from the innermost nested macro outward, replacing specific tokens with dynamic values (such as player names or scores) before the final command is executed.# Traditional long command /titleraw @a actionbar {"rawtext":[{"selector":"*"},{"text":"'s money: "},{"score":{"objective":"money","name":"*"}}]} # Simplified version using Macros /execute as @a run scriptevent capi:actionbar <!name>'s money: <!score=money>Overview of Commander API for Minecraft Bedrock Edition
Commander API is a tool designed to extend the command capabilities of Minecraft Bedrock Edition. By leveraging ScriptAPI, it allows developers to implement complex logic and event detection that are not possible with vanilla commands alone.Overview of Commander API
Commander API is a wrapper library for the Minecraft Script API. It is designed to simplify complex script writing and provide intuitive event processing and custom feature additions, enabling advanced functionality beyond standard command capabilities while reducing the number of commands required for implementation.Overview of Commander-API Event Categories
Commander-API events are divided into three primary categories based on how they are triggered and tracked:
- Trigger Events: Triggered once when a specific action occurs.
- Tick Events (Score-based): Update information every tick, managed via scoreboards.
- Tick Events (Tag-based): Monitor state every tick and apply or remove tags accordingly.
Overview of Commander API for Minecraft Bedrock Edition
Commander API is a behavior pack designed to significantly extend the command system of Minecraft Bedrock Edition. By leveraging ScriptAPI, it enables advanced functionality beyond vanilla commands, including:
- Event Systems: Detect player actions and world changes.
- Macro Functionality: Use dynamic values and calculations within commands.
- Extended Commands: Perform inventory manipulation, UI display, and advanced entity control.
- Customizable Settings: Enable/disable features and rename events.
Overview of playerStateTags automatic tagging
TheplayerStateTagssystem monitors various player states every tick and automatically adds or removes corresponding tags. This allows developers to target players based on their current status using standard selector tags.Overview of Commander API for Minecraft Bedrock
Commander API (v2.1.0) is a behavior pack that significantly extends the Minecraft Bedrock Edition command system by leveraging ScriptAPI. It enables functionality beyond vanilla commands, including:
- Event Systems: Detect player actions and world changes.
- Macro Functionality: Use dynamic values and calculations within commands.
- Extended Commands: Advanced entity control, inventory manipulation, and UI display.
- Customizable Settings: Ability to toggle features and rename events.
Overview of Commander API for Minecraft Bedrock Edition
Commander API is a tool designed to extend the command capabilities of Minecraft Bedrock Edition. By leveraging ScriptAPI, it allows developers to implement complex logic and event detection that are not possible with vanilla commands.Introduction to Commander API Macros
Macros in Commander API allow developers to replace long, complex commands with concise, readable placeholders. They are particularly useful for dynamic content like player names or scoreboard values, which would otherwise require verbose JSON structures (e.g., rawtext).# Traditional verbose command /titleraw @a actionbar {"rawtext":[{"selector":"*"},{"text":"'s money: "},{"score":{"objective":"money","name":"*"}}]} # Simplified version using Macros /execute as @a run scriptevent capi:actionbar <!name>'s money: <!score=money>