Melius Commands: Custom Command Control for Fabric Servers

Melius Commands for Minecraft on Fabric lets admins create custom commands via JSON and manage permissions without needing Java knowledge.

Melius Commands: Custom Server Commands via JSON on Fabric

Running a Minecraft server on the Fabric loader often feels like walking a tightrope between performance and functionality. Administrators frequently crave deep customization for chat interactions and game mechanics but dread the overhead of heavy plugin frameworks or the complexity of writing Java code from scratch. This is where Melius Commands: Custom Server Commands via JSON on Fabric steps in as a game-changer. It offers a lightweight, server-side solution that empowers admins to craft entirely new command structures, modify existing ones, and manage permissions using nothing more than readable JSON configuration files.

For those looking to download Melius Commands: Custom Server Commands via JSON on Fabric, the promise is simple yet profound: total control without the bloat. Unlike client-side mods that require every player to install files, this modification lives exclusively on the server. Once installed, it integrates seamlessly with the Brigadier command engine, allowing you to redefine how players interact with your world.

Redefining Command Architecture Without Java

In both vanilla and modded environments, commands are fundamentally built as trees of literals and arguments. Traditionally, altering this tree required recompiling code or installing massive API wrappers. Melius Commands: Custom Server Commands via JSON on Fabric for Minecraft flips this script. It allows you to extend or override command behaviors directly through configuration. You can introduce brand-new root commands, attach complex access conditions, redirect execution flows, and chain together sophisticated action sequences.

The beauty of this system lies in its accessibility. You do not need to be a software engineer to create powerful tools for your community. If you understand the basic logic of JSON, you can define custom arguments, set up placeholders like ${player:name}, and create dynamic responses based on user input. The mod supports a wide array of argument types, many of which accept specific parameters, giving you granular control over what data your commands accept.

Streamlined Execution and Dynamic Placeholders

When defining what happens when a command is triggered, you have flexible options. An execution block can be a simple string, which runs silently as the console with default operator levels. For more nuanced control, you can utilize a full object structure. This allows you to specify whether the command runs silently, forces execution as the console, or sets a specific operator level ranging from 0 to 4.

Dynamic content is handled elegantly through placeholders. By using the ${PLACEHOLDER} syntax, you can inject argument values or global data sources directly into your command strings. Whether you are teleporting a player to a specific coordinate stored in an argument or broadcasting a message that includes the user's display name, the system handles the substitution instantly. This makes creating immersive role-play elements or administrative tools incredibly straightforward.

Advanced Modifiers and Permission Control

One of the most compelling features for server owners is the ability to modify existing commands without breaking them. Located in the ./config/melius-commands/modifiers directory, this system lets you apply "overlays" to any command in the game. There are two primary families of matchers available:

  • Node Matchers: These target the internal path of the Brigadier command tree, such as teleport.targets.location.
  • Command Matchers: These analyze the actual string input typed by the player.

Each matcher supports three strictness levels: strict for exact matches, starts_with for broader coverage, and regex for pattern-based matching. Perhaps the most powerful tool here is the requirement_modifier. This field allows you to alter the visibility and executability of a command node. For instance, you can hide dangerous teleportation sub-commands from guests entirely, making them vanish from the tab-complete list and throwing a permission error if attempted, all without touching the core game code.

Debugging and Workflow Efficiency

Creating complex command trees can sometimes lead to confusion regarding node paths. Guessing the exact string for a nested command like teleport.targets.location is inefficient. To solve this, the mod includes a built-in diagnostic tool. By running /melius-commands path followed by the tokens you intend to use, the server returns the precise node path. This single feature can save hours of trial and error when setting up intricate teleportation networks or item distribution systems.

Furthermore, debugging is made transparent. If a player encounters a generic "An unexpected error occurred" message, you can enable detailed logging via /melius-commands debug-command-exceptions. This switches the server console into a verbose mode, revealing syntax errors in your JSON, mismatched argument types, or conflicting modifiers. Additionally, the mod provides specialized placeholders for cooldown management, allowing you to display remaining wait times to players in a formatted, user-friendly manner.

Installation and Best Practices

Getting started is a breeze for anyone familiar with how to install Fabric mods. Simply place the jar file in your server's mods folder and ensure you have the necessary dependencies. Custom commands are stored in ./config/melius-commands/commands. A significant quality-of-life feature is the ability to reload configurations on the fly. After editing your JSON files, executing /reload applies changes immediately, eliminating the need for full server restarts during development.

However, caution is advised. Always keep backups of your commands and modifiers folders before making bulk changes. When testing modifiers, start with the strict setting to ensure accuracy before expanding to starts_with or regular expressions. Also, remember that while documentation examples may include comments using //, standard JSON does not support them; ensure your final files are clean to prevent parsing errors.

In conclusion, Melius Commands: Custom Server Commands via JSON on Fabric transforms server administration from a rigid process into a creative endeavor. It is particularly valuable for heavily modded packs where adding another heavy library is undesirable. By starting with simple literal nodes and gradually introducing arguments and modifiers, administrators can build a stable, customized command ecosystem that enhances the player experience without compromising server stability. Whether you are managing a small survival realm or a large network, this tool provides the precision and flexibility needed to make your server truly unique.

Download MeliusCommands for Minecraft 26.2, 26.1, 1.21.11-snapshot, 1.21.11, 1.21.9, 1.21.8

Original name: MeliusCommands

Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.5-Snapshot, 1.21, 1.21.1, 1.21.11, 1.21.11-snapshot, 1.21.2-Snapshot, 1.21.4, 1.21.5, 1.21.6-snapshot, 1.21.8, 1.21.9, 26.1, 26.2

Loaders: fabric

FileVersionLoaderSize
MeliusCommands-2.0.2+1.20.1.jar1.20.1fabric270 КБDownload
MeliusCommands-2.0.1+1.20.1.jar1.20.1fabric270 КБDownload
custom-commands-1.0.0+1.20.1.jar1.20.2fabric71 КБDownload
custom-commands-1.0.0+1.20.3.jar1.20.3fabric76 КБDownload
custom-commands-1.1.0+1.20.4.jar1.20.5-Snapshotfabric76 КБDownload
melius-commands-2.1.0+1.21.1.jar1.21fabric358 КБDownload
melius-commands-2.1.3+1.21.1.jar1.21fabric358 КБDownload
melius-commands-2.1.1+1.21.1.jar1.21fabric358 КБDownload
melius-commands-1.1.0+1.21.jar1.21fabric77 КБDownload
MeliusCommands-2.0.0+beta.1+1.21.1.jar1.21fabric344 КБDownload
MeliusCommands-2.0.1+1.21.1.jar1.21.1fabric346 КБDownload
MeliusCommands-2.0.0+beta.2+1.21.1.jar1.21.1fabric345 КБDownload
melius-commands-2.1.3+1.21.11.jar1.21.11fabric395 КБDownload
melius-commands-2.1.2+1.21.11.jar1.21.11fabric395 КБDownload
melius-commands-2.1.1+1.21.11-rc2.jar1.21.11-snapshotfabric392 КБDownload
MeliusCommands-2.0.0+1.21.2-rc2.jar1.21.2-Snapshotfabric347 КБDownload
melius-commands-2.1.3+1.21.4.jar1.21.4fabric363 КБDownload
melius-commands-2.1.0+1.21.4.jar1.21.4fabric364 КБDownload
melius-commands-2.1.1+1.21.4.jar1.21.4fabric364 КБDownload
MeliusCommands-2.0.1+1.21.4.jar1.21.4fabric351 КБDownload
melius-commands-2.1.1+1.21.5.jar1.21.5fabric382 КБDownload
melius-commands-2.1.3+1.21.5.jar1.21.5fabric381 КБDownload
melius-commands-2.1.0+1.21.5.jar1.21.5fabric382 КБDownload
MeliusCommands-2.0.1+1.21.5-rc1.jar1.21.5fabric364 КБDownload
MeliusCommands-2.0.1+1.21.6-rc1.jar1.21.6-snapshotfabric373 КБDownload
melius-commands-2.1.1+1.21.8.jar1.21.8fabric387 КБDownload
melius-commands-2.1.0+1.21.6.jar1.21.8fabric384 КБDownload
melius-commands-2.1.3+1.21.8.jar1.21.8fabric387 КБDownload
melius-commands-2.1.1+1.21.9.jar1.21.9fabric389 КБDownload
melius-commands-2.1.0+1.21.9.jar1.21.9fabric389 КБDownload
melius-commands-2.1.3+1.21.10.jar1.21.9fabric392 КБDownload
melius-commands-2.1.3+26.1.jar26.1fabric377 КБDownload
melius-commands-2.1.3+26.2.jar26.2fabric384 КБDownload