Custom Commands Made Easy
Custom Commands Made Easy is a plugin which allows you to easily add commands for your server.
You can add up to 36 custom commands with:
- a custom permission
- up to 9 arguments
- up to 9 command parts
The adding/managing/removing of the commands takes place ingame with a nice gui. There is no need to manually modify the config. Also each command can be activated and deactivated during game. The server doesn't has to restart to accept changes.
Arguments:
Each command can handle up to 9 arguments. When creating the command you can decide what the input should be. There are four options: String, integer, decimal and player. When a player tries to perform the command, the plugin checks if there are some wrong or not enaught arguments to match the pattern.
CommandParts:
To make your command actually work you have to assign command parts. These are vanilla commands or commands that are providet by other plugins. When performing the custom command, each of its command parts will be executed. You can decide if they are executed by the player or by the console (In case the player doesn't has enaugh permissions to do it)
So some things have to be added: when putting '@p' into the command part, it will get replaced with the name of the sender. And to make the arguments useful, add '@' followed by the index of the argument (starting at 0).
Commands:
/customcommands
/cc
-> opens the command manager gui
An example
Command name: item
CommandPart (Inserted when creating the command): give @p minecraft:@0 @1
CommandPart is marked as Executed as console (because the player has no permission to do /give on his own)
Arguments are defined as following: Argument 0: [string], Argument 1: [integer]
Player (named DerDonut) enters command: /item stone 32
Plugin converts command: /give DerDonut (@p) minecraft:stone (Argument 0) 32 (Argument 1)
-> DerDonut recives 32 stones
If you need a more detailed tutorial, you found a bug or you have ideas on how to improve the plugin, feel free to contact me.
Plugin available for minecraft version 1.8 and 1.13, but I'm sure there are other versions which will run it too. If not tell me and I make the plugin available for the version you want it.
stupid shitass plugin is fucked
how to add comamnd part
How come there's no book and quill option for the latest version? It'd help if you actually made a video tutorial because what you're saying makes a lot of sense, but it seems not everyone's getting what you're saying
The GUI is cool and all, but the plugin looks like it's half built. There's no confirmation messages to show what's already done and if I didn't already read through the messages here I'd wonder what's going on too... Do you have a Discord made for the plugin to get instant feedback?
I would really like some help with this. I like your GUI and the way you have it set up, but you give no explanation as to how you customize the commands.
Type /cc in chat.
CC Manager GUI comes up.
Click "Create Command".
Prompt in chat says "Enter name in chat (without '/').
Type "kit" in chat.
Nothing else is prompted.
Type /cc in chat.
CC Manager GUI comes up.
"/kit" is now in the GUI but has 0 Arguments, 0 Commands, and - Permissions.
Clicking on "/kit" does nothing.
Now what?
In reply to PriitySiickOnTwitch:
this is probably outdated but you will need to add a command part and type give @p iron_sword or whatever and the amout you want then you can keep adding parts
hope that helped alittle bit
I'm wanting to add a "kit" Command where a new player can type /kit and receive an assortment of items that I have chosen.
How can I go about doing this?
In reply to PriitySiickOnTwitch:
So I think the best way to achieve this is by using the /give command. Since there are only 9 command parts available for each customcommand, you are able to perform this /give 9 times.
First, create a new command named 'kit'
then add the needed Command parts, in your case:
Remember to set 'send as console' for each of them so that non-ops also can perform this command.
Try this and give me a feedback if you need further help
DerDonut
In reply to Forge_User_41837648:
Could you explain how to add a command part?
In reply to PriitySiickOnTwitch:
I don't understand how to add the commands. You're instructions are unclear as to where you enter them.
I can get to the GUI and add the "Kit" Command but I don't know how to add to it.
Please explain.
In reply to PriitySiickOnTwitch:
I'm sorry I was really busy,
So in the GUI you firstly have general settings like name, permissions and so on. The next line is the arguments (the papers). If you just use the /kit with no specification what kit to choose you won't need them. And the last line is Commandparts. Click on the book and quill and enter the command as I described in one of the previous posts. Repeat this for every item you want to add.
DerDonut
In reply to Forge_User_41837648:
There isn't a book and quill option.
https://imgur.com/a/TrejyQF
In reply to Forge_User_41837648:
What version of the plugin are you using?
Why is there no 1.12.2, I cant do it on my server now. :(
I want to make a /feed thing that feeds you food, how would i do that?
In reply to spotterrbx:
I finally added 1.12 support.
The best way is to give the player a saturation effect:
effect @p minecraft:saturation 1 20
-> feeds instant
i wanna use ban command for my custom command which is called judgement
what im trying to get it to do is make judgement be the command to ban a player
any idea how i can do that??
In reply to gamingplusplus56:
Thank you for using this plugin, I would do it like this:
- new Command: type "judgement"
- create Argument, type PLAYER
- if you want add STRING argument (ban Reason)
- add Command part: type "ban @0 @1" (@1 only if you use the second argument)
- make sure the command part is executed by the console
This should work :)
If I do my command in console, it doesn't work.
In reply to realmrmitch:
I'm sorry I didn't mention that. Currently console input is not supported but maybe I'll make an update soon.
If you switch the commands to send from console instead of player, they will switch back to player after a server restart making the commands unusable, other than that works great!! would love that fixed though lol