Download Custom Commands — Minecraft Mods — MetaMods

Custom Commands

Active

Downloads

0

Last update

1 year ago

Versions

1.8.8 — 1.21.1
Server
Fabric
Libraries
Control
Utils

Custom Commands

The Custom Commands mod allows you to create custom commands and aliases for existing commands in Minecraft. This is the perfect solution for those who want to customize gameplay but don't have programming skills.

Installation and Setup

The installation process is extremely simple: download the mod and restart the server. To add new commands, you need to edit the config.yml file, which provides detailed instructions for creating custom commands.

Available Placeholders

You can use special placeholders in commands:

  • {args} - gets all arguments following the command
  • {player} - displays the name of the player who executed the command

Main Features

Working with Arguments

Using the {args} placeholder, you can pass arguments to created commands.

Configuration example:

config.yml

adminhelp:
  command: 'msg Admin {args}'
  message: ''

Execution result:

/adminhelp I need help    →     /msg Admin I need help

Using Player Name

The {player} placeholder allows you to include the command executor's name in the result.

Configuration example:

config.yml

hello:
  command: 'say Hello {player}'
  message: ''

Execution result:

/hello    →     /say Hello <player_name>

Mod Management

Commands

  • /customcommands reload - reload configuration

Permissions

  • cc.reload - permission to reload the plugin

Work Features

The command autocompletion feature becomes available only after server restart.

Configuration Example

# [CustomCommand] Creating custom commands

prefix: "[&6CustomCommands&r] "

# All custom commands
# Create your commands here
CustomCommands: # Don't change this line!
  example: # Command trigger (/example)
    command: 'tps' # Command to execute
    message: 'Example'  # Message

Version: 3 # Don't change this line!
Project members
7AGAM

7AGAM

Developer

repulica

repulica

Created: 2 Jun 2023

ID: 8925