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 Apr 22, 2016@QIIxGriimZzQ It's not a bug, you are using an plugin intended for 1.9 on 1.8 server, for this you get "java.lang.NoSuchMethodError" error. I can see to add some exception for skip this lines of code for the 1.8 in the next version, for now, if you want use the blockset feature, you can use the 5.2.3 version.
@Qalle
What version of the plugin are you using? Because i have already edited this thing, infact, if you save an number without the decimal part, you get only the integer value.
For the placeholders for towny, try using the external plugin PlaceholderAPI. The link is here above in the description.
-
View User Profile
-
Send Message
Posted Apr 22, 2016I once again thank you for upkeeping this amazing plugin. It has really helped advance my and many others' servers.
I have, however two functions I'd like to suggest;
We recently updated from an older version of MyCommand, and it seems one thing is in a way broken.
When setting the value of a MyCommand variable via '/mycmd-variables set <variable> <value>', integers seem to operate in a manner they shouldn't. For example, if I set a variable to the value of '6', when reading that variable, the output is '6.0'. This breaks some functionalities, as using MyCommand variables as colorcodes.
I myself happen to use a custom command with runcmd of 'SectionSymbolColorID', and have the value of 'SectionSymbol' set to §, and that of 'ColorID' to minecraft colorcode, for example 6. A problem arises when MyCommand interferes with the set value of '6', adding the '.0' to it, and thus causing the output to appear as §6.0, in turn displaying in chat as a golden '.0'.
This isn't a huge game breaker, and I understand you probably have more important things to change, but it does break some of MyCommand Variables' intended functionality.
As for the second suggestion, would it be possible to add variables dependent on the Towny plugin? For example $townname, $nationname, $townyrank, or something along those lines. It would be a tremendous help for us Towny servers!
Please correct me if any of the things I mentioned here are incorrect or outdated. Thanks in advance. Also, apologies for the megathread.
-
View User Profile
-
Send Message
Posted Apr 22, 2016Hi! Support for 1.8 is no longer? I get this bug, if I destroy any block: 5.2.4, 5.2.5, 5.2.6
-
View User Profile
-
Send Message
Posted Apr 21, 2016@WhosHenry
Try the 5.2.6 version when available.
-
View User Profile
-
Send Message
Posted Apr 21, 2016@LX_Servers
Because you used "RUN_COMMAND". In this case the player needs also the permission for execute the command pex. So, change the type to RUN_CONSOLE, in this way the command get executed from the console and the player don't need the /pex command permission.
-
View User Profile
-
Send Message
Posted Apr 21, 2016Hi, I have tried to create a rank up command but I have set the cost of the command and players who don't have permission, it will take their money and then say no permission. E.g I have made the command /veteran, here is what I have put for it: http://pastebin.com/BcTjM8nU
When players type /veteran, it takes their money and then says no permission. Also if you type it without having enough money it says you need '2.5E7$' are you able to add support for larger numbers too?
-
View User Profile
-
Send Message
Posted Apr 21, 2016@Ivanpro
Ok :D Thank you so much 5/5 stars
-
View User Profile
-
Send Message
Posted Apr 21, 2016@WhosHenry
This seems broken also on 5.2.4, anyway, if you want use error-message and $args, you need to use RUN_COMMAND. I see what to do.
-
View User Profile
-
Send Message
Posted Apr 20, 2016v5.2.5 completely broke a load of my commands, these ones for example: http://pastebin.com/YtMTvSNi
I reverted to v5.2.4 and this fixed the issues, just incase anyone else is having issues with some of their commands.
-
View User Profile
-
Send Message
Posted Apr 20, 2016@Ivanpro
Ok, hopefully you'll find a fix soon :)
-
View User Profile
-
Send Message
Posted Apr 20, 2016@DarksiderSauron
just put RUN_COMMAND_RANDOM in the type of the command.
-
View User Profile
-
Send Message
Posted Apr 20, 2016@Ivanpro Can you send me an example pls?
-
View User Profile
-
Send Message
Posted Apr 20, 2016@DarksiderSauron
there is RUN_COMMAND_RANDOM type, use this. If you want make an 50/50 with mre of 2 commands in the list, you can create 2 separate commands, and put only this 2 in the list or you can also create something with the if / else.
@KyBLKuBA
I tested this on the latest version, and all seems to work how intended. If you put $arg1 and then don't type anything in the chat, you get [input1]. Use $multiargs if you don't want any output, but just a blank line.
-
View User Profile
-
Send Message
Posted Apr 20, 2016Hi, I have one question. With this plugin i can create a " chance " command? Example 50% run the command /heal and 50% run the command /kill
-
View User Profile
-
Send Message
Posted Apr 20, 2016if i have:
and if i use /cmd... sends the "[Input1]"
-
View User Profile
-
Send Message
Posted Apr 20, 2016@WhosHenry
Mmm yeah, i have tested 1000 times and never noticed this. If there isn't the main command, in this case "/border", the others command don't work, in your case ("/border toggle"). Not intended but have sense , i see to "fix" that in some way.
Anyway, you can easily use "$text$" instead of "%PlayerOptions%sendMessage:" for send messages inside runcmd :D
-
View User Profile
-
Send Message
Posted Apr 20, 2016I don't think the commands in any order works yet as of v5.2.5.
Here are my 2 commands - http://pastebin.com/7W9JX4ti
The second /border toggle command doesn't register, just says unknown command.
-
View User Profile
-
Send Message
Posted Apr 19, 2016@GodsDead
I think essentials already have an integrated system for implement cooldowns and warmups to any command. Anyway, with my plugin you can put both on a custom command, created with mycommand, instead, for now it's not possible add both the effect to another plugin command. I see to add the type warmup_and_cooldown in the 5.2.6. (I have already submitted the 5.2.5)
-
View User Profile
-
Send Message
Posted Apr 19, 2016Was the bug squashed where we could only have either a warm up or a cooldown on an exiting command? It was either one or the other? Or does someone have a better method of adding a warm up and cooldown to Essentials /back
-
View User Profile
-
Send Message
Posted Apr 17, 2016Thanks so much! Will make my server look much better.