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 Mar 28, 2016@JeanJacquelin
@JeanJacquelin
Thank you so much. At the end was just that I was not configuring permissions. With the help of the owner I could solve it easily.
Thanks both for your support.
-
View User Profile
-
Send Message
Posted Mar 26, 2016Thank You So Much!
i would just like to thank you so much for this! Please don't quit this plugin! I absolutely love it and it is exactly what I need :) Thank you soo much <3 - ClassyUni
-
View User Profile
-
Send Message
Posted Mar 26, 2016@marcosjesusm
'helloworld': command: /helloworld type: RUN_AS_OPERATOR execute_mode: BLOCK_ONLY runcmd: - /say HelloWorld permission-required: false
-
View User Profile
-
Send Message
Posted Mar 25, 2016Is there a solution to increment 1 by a command, a variable created by us in the file "othersdb.yml"?? Like it is possible for Playerdata.yml
-
View User Profile
-
Send Message
Posted Mar 25, 2016Is there an way to get an space in the command? Example: That can do /griefprev 2
-
View User Profile
-
Send Message
Posted Mar 25, 2016@ZombieHDGaming
Both the plugin depends on external library/plugin for work. The messageofdeath's one, use the Citizens API, and that plugin its currently broken (NMS broken code). The other plugin by InventiveTalent, require external library developed by itself. If you want use a "player model" as an NPC, you need to use that. For normal mobs, there is no problem.
-
View User Profile
-
Send Message
Posted Mar 25, 2016Add a MySQL support :))
-
View User Profile
-
Send Message
Posted Mar 24, 2016@Ivanpro
I just checked the entire GitHub code for what CommandNPC had to offer on there, and there is no use of NMS what so ever. And since md_5 from Spigot advised against using NMS in 1.9 as it is most certain to fail, most plugins do not use NMS anymore.
I do not think you would need to use NMS to implement a feature such as this. You may just need to set a listener on certain entities and execute a command on interaction, (I don't know that much of plugin coding, just normal Java) but I doubt you need NMS to execute a feature like this Ivan.
I may be wrong, and you can most likely prove me wrong, but I checked both the codes of both, messageofdeath's and InventiveTalent's on Spigot, of both of their CommandNPCs, and neither of their codes consist of NMS. But, it's your decision Ivan, it is your plugin.
Cheers
-
View User Profile
-
Send Message
Posted Mar 24, 2016@ZombieHDGaming
I usually don't implement code who use NMS code or similar, so i'm sorry, but nope.
-
View User Profile
-
Send Message
Posted Mar 24, 2016Hey there Ivanpro, I love MyCommand. I think it has lots of potential for various ideas/creations, depending on a server's situation.
I love all the features it has now and I love using this on my server. I was wondering if it would be possible to add a feature for hooking commands in the server, such as, on NPCs? I don't know if anyone ever suggested this, but I feel like it would make sense within MyCommand to have this as a feature.
I know some people will say, "Hey, there's already CommandNPC, why not use that?", or "There's InventiveTalent's CommandNPC, why not use that?!?!", well, neither of those have been updated to 1.9 as of this post, and I feel like it having this feature would save server owners from downloading yet another plugin to do 1 simple feature that could be included in this amazing plugin.
I can understand the difficulty and complexity that this feature may prove to have, but I honestly think me, and a bunch of server owners would be thankful for this feature.
Cheers, Zombie
-
View User Profile
-
Send Message
Posted Mar 24, 2016@Ivanpro
Hi Ivan. Thanks for your fast reply.
It tried, of course, all the possibilities before writing the post.
This is not the command I want to launch but the issue I'm facing, is the same.
What I did was:
- Put a wooden button.
- /mycmd-blockset create
- /mycmd-blockset add /helloworld
and the command is (now):
'helloworld':
command: /helloworld
type: RUN_AS_OPERATOR
runcmd:
- /say HelloWorld
execute_mode: BLOCK_ONLY
permission-required: false
as simple as this...
The effect is that the command is executed if I'm Operator, but no result (no message at all) if you are not.
I tried...
- with and without register.
- with and without permission-required.
The real command cannot be executed as RUN_CONSOLE because I need access to PlayerData variables and this is not possible doing it as Console.
And if I try to execute it from inside a Command Block, as the executor is Console, I cannot put it there.
Any suggestion?
-
View User Profile
-
Send Message
Posted Mar 24, 2016@marcosjesusm
if you want give the access to everyone without giving the permission, you need to put " permission-required:" to false e not on true. Instead, for allow the execution of the command "/helloworld" only by clicking a button, add the string " execute_mode: BLOCK_ONLY" in your command.
-
View User Profile
-
Send Message
Posted Mar 24, 2016Hi all.
I have a doubt and maybe some of you can help.
I've created a command the I want to be used only when clicking a button (so the command is not registered).
I create a blockset in a wooden button and I add the command to it (/HelloWorld as example).
If I click the button (as Operator), it works perfecty.
If other player clicks the button, nothing happens.
The command is:
'helloworld':
command: /helloworld
type: RUN_AS_OPERATOR
runcmd:
- /say HelloWorld
register: false
permission-required: true
I played with different combinations for register and permission-required and still not working.
Any help?
-
View User Profile
-
Send Message
Posted Mar 24, 2016@JohOply
$multiargs its supposed to be used alone. For now, the only replacment can be $arg2. I see to implement better the integration between ($arg1 and multiargs) in the next release.
-
View User Profile
-
Send Message
Posted Mar 23, 2016Hi,
I want to create a command like this :
Is it possible to help me how can i do it? (there is an error with my jail plugin)
-
View User Profile
-
Send Message
Posted Mar 23, 2016@MrFlashSpray
Yes, all except the itemset feature works. If you plan to use this feature, don't update.
@remrider44
You can do it in 2 ways, The easily one is creating 2 different command, where the first is called "command : /team list" and the second only "command : /team". The second way is using the scripts feature. Like :
-
View User Profile
-
Send Message
Posted Mar 22, 2016Somebody know how to ensure that when I do the command : /team list For it does not put me the same text that when I do the command : /team Thanks
-
View User Profile
-
Send Message
Posted Mar 22, 2016Will V5.2.1 also work on 1.8.8?
-
View User Profile
-
Send Message
Posted Mar 21, 2016Thank you very much for your last updates. It's a great plug-in.
-
View User Profile
-
Send Message
Posted Mar 21, 2016Why don't you post this on Spigot also? Seems like a much better and faster system.