Melius Commands Mod 1.20–26.3
MODMelius Commands is a Fabric server-side modification designed to create custom commands and alter existing ones. To add custom commands, users create a JSON file. Examples are provided in "examples/commands." Changes are applied by running the "/melius reload" command in-game. The root node for custom commands must be a literal node, which can be a simple string that executes silently as the console with op level 4, or it can be manually configured. Execution values support placeholders from command arguments and global placeholders. A full list of argument types is available in ARGUMENTS, some of which require additional arguments.
Melius Commands is a Fabric server-side modification designed to create custom commands and alter existing ones. To add custom commands, users create a JSON file. Examples are provided in "examples/commands." Changes are applied by running the "/melius reload" command in-game. The root node for custom commands must be a literal node, which can be a simple string that executes silently as the console with op level 4, or it can be manually configured. Execution values support placeholders from command arguments and global placeholders. A full list of argument types is available in ARGUMENTS, some of which require additional arguments.
For command requirements, users create a JSON file, with examples in "examples/modifiers." The syntax depends on the chosen modifier type. Command matchers come in three types: "exact" for precise matches, "startsWith" for matching longer inputs, and "regex" for regular expression matching. Node matchers also include a "requirement" field to modify node requirements, which removes commands from sources that do not meet the criteria. The "/melius tree" command can determine command node paths for use in modifiers. Player command cooldowns can be set, identified by an ID and a duration format.
