Command Groups (CMDs)
Introduction into CMDs
Welcome to Command Groups. In this section we will cover creating command groups that are pre-batched by you to trigger a chain of commands at the click of a button. These can be super useful for quick access to commonly used commands. With a limit of 25 commands per group you can create some super events, mass drop locked crates and or even just use it for singular commands. Whatever you need it for it can only be limited by your imagination.
We've seen some really great creations out there - Including an unofficial version of Underwater Labs - All designed around the Grouped Commands.
Creating CMD Groups
Getting started with Command Groups is a great way to exercise your command knowledge and put your imagination to the test. Before adding Commands we first need to create the groups for them to be placed in;
Creating Groups
The first step to this process is to create the group for the commands to go into to do this we need to use the command /cmd group-add Where we can create a group ready to install out commands, all we need to do is think of a name, for this example we will use the name Heli Trigger. Please see below the example;
Now please hit enter to install the group.
Editing Groups
If we ever need to we can adjust the name of our command groups, the command for this is /cmd group-edit Which does exactly as mentioned, it provides you with an opportunity to rename the group, all you have to do is select which group to rename and then rename it accordingly. Please see the example below;
Group Listing
Should you ever need to, you can recall a list of your command groups, this is in case you forget the name of the group or are curious in general as to what groups you have. For this, please use the command /cmd group-list Please see the example below;
Deleting a Group
Deleting a group is as simple as it sounds, should you not need the group anymore or want to combine 2 groups and make this one redundant, all you need is the command /cmd group-delete Please Note: Any commands inside that group when deleting will also delete the commands left inside. To avoid this, please move any commands you want to keep to another group. More on that in the next chapter.
CMD Management
Welcome to CMD management, where we will cover creating commands, editing commands, moving categories and even deleting commands. This stage can get a little in depth, I personally recommend writing them our digitally in a notepad or writing them down, especially if you have multiple commands (Up to 25) in a single category.
Adding a Command
When creating your command for your groups, it helps to have them precisely named so you know exactly which each command does, and ultimately what each group does.
For our command we will need the correct Discord command, which is /cmd add, here you will see that we get offered 4 options, all of which are mandatory.
command-group - Select which group you want this particular command to fall under.
name - The name of the command (This could get tricky - Be precise)
position - You can adjust the order in which these items appear in your store by clicking this menu, starting at 0
eg; 0=1st, 1=2nd, 2=3rd, 3=4th ect...
command - Here's the tricky part, you need to not only know the command, but be sure it works as intended before installing into Command Groups
Please see the example below;
Editing a Command
If you have added a command to a CMD Group but have made an error, the old remit would have been to delete the command and start again, since then, we have implemented the /cmd edit command, which will prefill the command box with the old command for you to edit at will, please then confirm hitting send, as shown below;
List your Commands
There is a fair to high chance that you won't be able to remember every command you end up storing, especially when you need it. Thankfully we have the power to show all of our commands per category in list format.
To do this please use the command /cmd list from here you will need to select which category you wish to view. Once selected you will be presented with all of the commands inside that group, please see example below;
Running a Command
Once we have all of our commands grouped and ready to go, as we require them weather that be for events, custom monuments or to giveaway kits server wide, the command you need is /cmd run. From here you will be prompted to select a group to run the commands from, select it, hit enter and your commands will begin to execute. Please see below for the example;
Deleting a Command
As always we have also included a way to delete those out of date, messed up or no longer required commands, unfortunately due to the complexity we do not offer a method to edit existing, instead you will need to delete the command and start again, to do this simply use the command /cmd delete and delete the command as you need to, please see below for an example;