- Resource Type
- Originality
- API Version
- 1.0.11
- Copyright Link
- #
RedirectCMD
A very simple command replacement plugin, initially designed for ElysianArena.Feature Overview
This plugin allows customization of command aliases via a configuration file. When a player or the console executes a registered alias command, it automatically triggers a predefined series of commands.Core Features
- Dynamic Command Registration: Automatically registers commands based on the configuration file.
- Batch Command Execution: Supports triggering multiple command sequences with a single alias.
- Flexible Configuration: Easily manage command aliases through a YAML configuration file.
Configuration Example
Code:
commands:
- name: "startgame"
description: "Command to start the game"
recommand:
- "say The game is about to start!"
- "effect @a clear"
- "time set day"
Usage Instructions
1. Define command aliases and their execution sequences in the configuration file.2. After reloading the plugin, the newly registered commands become available.
3. Executing an alias command will run the preset commands in sequence.