Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Custom Commands Plugin - Create Your Own Server Commands!
This plugin lets you make your own special commands on your server without needing to know how to code! You can create commands that send messages or even act like shortcuts for other commands that already exist.
Installation:
- Download the plugin file.
- Restart your server.
Setup:
To make your own commands, you need to open and edit the config.yml
file. Inside that file, you'll find instructions on how to create your custom commands.
Placeholders:
These are like special tags you can use to make your commands more interesting:
{args}
- This will take everything you type after your custom command.{player}
- This will automatically put the name of the player who used the command.
Features:
-
Use Arguments in Your Commands with
{args}
: You can make commands that can take extra words or information from the player.Example:
config.yml
adminhelp: command: 'msg Admin {args}' message: ''
If a player types
/adminhelp I need help
, the player will run the command/msg Admin I need help
. -
Show the Player's Name with
{player}
: You can include the name of the person who used the command in what the command does.Example:
config.yml
hello: command: 'say Hello {player}' message: ''
If a player named "CoolGamer" types
/hello
, the player will run the command/say Hello CoolGamer
.
Commands:
- /customcommands reload - This command tells the plugin to reload its settings. So, if you change something in the
config.yml
file, you can use this command to make the changes happen without restarting the whole server.
Permissions:
cc.reload
- Players who have this permission can use the/customcommands reload
command. Usually, server admins have this permission.
Autocomplete:
After you install the plugin and set up your custom commands, and then restart your server, the game will help you by suggesting your custom commands as you start typing them! This makes it easier for everyone to remember and use the new commands.
Config: config.yml
# [CustomCommand] Create own commands
prefix: "[&6CustomCommands&r] "
# All custom commands
# Create your own commands here
CustomCommands: # Don't touch this!
example: # Command trigger (/example)
command: 'tps' # The command to be executed
message: 'Example' # A message
Version: 3 # Don't touch this!