MyCommand
MyCommand
Donations
If you like this plugin, and want to offer me a coffee, consider to click the button on the top right corner of the navbar to donate! Thank you :D

Make your own, customized Minecraft commands
Features:
- Make new commands!. (Also registered command)
- Run others command in new one
- Perform several commands in one
- Delayed commands with custom pause, warmups and cooldowns
- Make Shortcut/alias commands or override commands.
- Run commands with any item , block, signs or even (villager) NPC's.
- Various functions for costumize commands, like placeholders, scripts (if-else) and more.
- Console support
- Economy support (Require Vault)
- All features are highly customizable
- No command limits with multiple file support
- Customizable IconMenu (ChestGUI), ActionBar, BossBar, Hover/ClickableText, Title and Scoreboard commands.
- Allow the execution of commands in various circumstances (per world, by worldguard regions and more.
- Custom players database where you can store anything you want to personalize even more your commands. SQL database supported.
- BungeeCord feature, Scheduler, Join/Quit/Death events, PHP/GET request ...
- ... And much, much more..!
Configuration and examples (Documentation)
Commands & permissions
Video Tutorial :
(French) Getting Started (TEXT and ALIAS commands) by Texier (MyCommand 5.5.0)
(English) by Koz4Christ. (MyCommand 5.1.8)
If you have to report an error in the chat, or just a command section, use pastebin or a similar website. Help with YML code error : http://yaml-online-parser.appspot.com/
This plugin uses bStats Metrics - MyCommand stats page
-
View User Profile
-
Send Message
Posted May 2, 2020Great plugin! I am really happy with it! :)
-
View User Profile
-
Send Message
Posted Apr 30, 2020Is it possible to create a command like /pay. I use an economy plugin called gMoney. Players need to type /gmoney pay [playername] [amount] to pay each other and this is taking too long. Is there a way to shorten this command using this plugin? For example /pay [playername] [amount]. Thanks in advance.
-
View User Profile
-
Send Message
Posted May 2, 2020In reply to tirituvanziro3210:
You could do it like this as long as you don't have a plugin using the /pay command already, that should work! $arg1 and $arg2 are the placeholders for where the player would've typed [playername] and [amount]. If something is using the /pay command then you could make it something else like /gpay.
-
View User Profile
-
Send Message
Posted Apr 29, 2020How can I create an alias with the condition of not needing the permission of the command I'm doing the alias?
-
View User Profile
-
Send Message
Posted Apr 29, 2020In reply to ErikolGamer14:
If the command in consideration supports the console, you can use the RUN_CONSOLE type. Otherwise you need to to add the permission, run the command and remove the permission right after.
-
View User Profile
-
Send Message
Posted Apr 26, 2020Hi, is it possible to make nested if statements? I keep trying to make a command that has multiple nested if statements but it seems that on an if statement fail it falls out to the next if statement. Is that intentional, and if so, how can I fix that?
-
View User Profile
-
Send Message
Posted Apr 26, 2020In reply to StrikerIV4:
For how it's structured the plugin, you can't nest if's. You can insert a new command inside that if, and do another script and so on. Use the execute_mode to block the subcommand from being directly executed.
-
View User Profile
-
Send Message
Posted Apr 27, 2020In reply to ivanfromitaly:
ah ok, thanks for the quick reply!
-
View User Profile
-
Send Message
Posted Apr 21, 2020What are the permission nodes for the commands?
-
View User Profile
-
Send Message
Posted Apr 19, 2020Hi. I tried to make healing command, but it doesnt works. I tried this:
- '%PlayerOptions%setHealth: $health + 2'
I need to "add" some health, but not "set"
-
View User Profile
-
Send Message
Posted Apr 17, 2020Hey i have some suggestions for tab copleter arguments: block argument, item argument and an enchantment argument.
Im trying to make tab completer for a /i command.
-
View User Profile
-
Send Message
Posted Apr 18, 2020In reply to WeirdoDZN:
I've added something for that in the next version, togheter some other one's.
-
View User Profile
-
Send Message
Posted Apr 17, 2020I followed the steps down below but when I do /pl I don't see the MyCommand for bungeecord plugin, I also when I did the /mycmd bungee command it said something in chat about not having the MyCommand for bungee installed.
Open the config file of the Main MyCommand (config.yml) and put PLUGIN_MESSAGE_LISTENER on true
Done. Restart proxy and server.
How to use in MyCommand Spigot side.
Use those placeholder at the start of a runcmd line to execute commands on the BungeeCord Proxy. Or use /mycmd bungee (to debug stuffs).
After I followed those steps, I went to the MyCommand for bungeecord folder and I created a file called hub.yml, in this file I created a /hub command.
Teleport_to_hub:
command: /hub
type: RUN_COMMAND
runcmd:
- /send $player server_name
server_name: Hub
register: true
I restarted my proxy and my Hub server, but when I went in it I couldn't do the /hub command.
Hope you can help me fix these issues
Thank you in advance
-
View User Profile
-
Send Message
Posted Apr 17, 2020What are the materials ????? that i can use after the "1:here:"
-
View User Profile
-
Send Message
Posted Apr 16, 2020If I did this would it work?
-
View User Profile
-
Send Message
Posted Apr 16, 2020In reply to xxjackoutxx:
You can't do that because you need to execute commands on one server from another.
Maybe if you combine CommandSync with MyCommand for BungeeCord you can do that. Basically, use the bungee send command to move the player, and then the sync command, to execute the tp command on that server to move the player from one world to another.
-
View User Profile
-
Send Message
Posted Apr 14, 2020No but my skywarslobby is in my Hub server so how can I create a command that will send me to skywarslobby without teleporting me to hub?
Imagine I'm on my Arena server, how can I make a /skywars command that will teleport me to the hub server to the skywarslobby without teleporting me to hub (world).
Is it possible?
Sorry for bugging you with these questions but I've been trying to find a plugin that can do those functions for a long time and I'm hoping this plugin can do it.
Thanks for helping me I appreciate it
-
View User Profile
-
Send Message
Posted Apr 14, 2020In reply to ivanfromitaly:
I not sure if it is possible butI also want to create a command that allows players to teleport from a different server to my skywarslobby which is in my Hub server. Is it possible?
Would this work if I did this to make the command?
teleport_to_skywars:
command: /skywars
type:
- BUNGEE_TP
- RUN_COMMAND
- TEXT
server_name: hub
runcmd:
- /mvtp skywarslobby
text:
- '&fSending you to &bskywars'
permission-required: true
Thanks again for the support, I will make sure to give this plugin a 5 star review.
-
View User Profile
-
Send Message
Posted Apr 14, 2020In reply to xxjackoutxx:
I've already explained you all the possible cases in the other comment. just read.
Don't random stuff into it. If you want to create a command who teleports you in another server just copy and paste the example i made below, and change the destination server name.
-
View User Profile
-
Send Message
Posted Apr 14, 2020In reply to ivanfromitaly:
I can't delete this reply for some reason. So I'll do a review.
Great plugin I highly recommend people to get this plugin if they want the most complete server you can possibly have.