Commander Project
Commander is a powerful extension of Minecraft's basic datapack system, opening up new possibilities for creating custom content on servers.
What the Mod Offers
The main purpose is to provide developers with advanced tools for working with datapacks. Key features include:
- Innovative event system allowing command execution when certain conditions are met
- Flexible JSON commands with support for advanced selectors
- Set of additional console commands with enhanced capabilities
- Support for complex expressions with access to game data
Technical Features
The event system allows registering reactions to various game situations. For example, automatic command execution after killing an entity:
{
"event": "commander:after_killed_by_other",
"commands": [
]
}
JSON commands provide flexibility in selecting targets for action execution:
{
"type": "commander:commands",
"selector": "commander:random_player",
"commands": [
"/cmd:explode ~ ~1 ~ 2"
]
}
The mod introduces several useful console commands:
/cmd:arithmetica— mathematical calculations:/cmd:arithmetica "round(346.45, 1)"/cmd:explode— creating explosions:/cmd:explode ~ ~ ~ 4
Data Processing
Working with game data through convenient expressions is supported:
minecraft:this_entity.isInWaterOrRain/say ${{origin.x}}
It's important to note—all functionality is implemented exclusively on the server side; the plugin does not contain client components.
Development Status
Currently, development is in testing mode. Implemented features may undergo changes, improvements, and temporary issues during the project's development process.