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 21, 2016I have the same issue with the $args, where can I get 5.2.1?
Edit: Got it.
-
View User Profile
-
Send Message
Posted Mar 21, 2016Thank you very much! Please keep up the good work!
-
View User Profile
-
Send Message
Posted Mar 21, 2016@Timrek123
Added the support for that in the 5.2.1 version.
@calvinalx
Try the latest version (5.2.1)
-
View User Profile
-
Send Message
Posted Mar 21, 2016Is there a way to show more than one enchant in a menu item? I would like to make a kit preview menu.
-
View User Profile
-
Send Message
Posted Mar 21, 2016@calvinalx
I found the problem. I'm looking how resolve it. Basically the $arg's get replaced only if before them there is an space.
-
View User Profile
-
Send Message
Posted Mar 21, 2016'plot_add': command: /bfp type: RUN_CONSOLE require_all_arguments: true runcmd: - /pex user $arg1 add plots.plot.$arg2
How do I make this work? I want to make the second arguments work but it doesn't think that it's an arguments. Is there any escape or workaround?
Instead it's issued this command, Permissions added: plots.plot.$arg2
-
View User Profile
-
Send Message
Posted Mar 20, 2016Any way to add actions when doing commands?
Actionbar, titles, bossbar?
I need titles to block commands like ./pl, ./plugins, etc,
So when someone enter this command, a title and sound will be send instead ;)
Thank you
-
View User Profile
-
Send Message
Posted Mar 19, 2016I LOVE THIS PLUGIN!
-
View User Profile
-
Send Message
Posted Mar 19, 2016I can't seem to be able to list more than one enchantment within a menu. Example: - '1:DIAMOND_PICKAXE;LOOT_BONUS_BLOCKS;1|DURABILITY;1: : :&e&l&oSTARTER&f Pickaxe:Your first kit!' Only the Fortune enchant shows. I've tried ; , . \ / nothing.
-
View User Profile
-
Send Message
Posted Mar 18, 2016Hi.
I'm trying to create a command executing something like this:
/tp $player $PlayerData%var_x% $PlayerData%var_y% $PlayerData%var_z%
where the variables are correctly stored from another custom command and can be used one by one.
But if I try to execute the command, the result is:
/tp player_name 30 $PlayerData%var_y% $PlayerData%var_z%
so it's translating only the first PlayerData's variable but not the rest in the same line.
I don't know if I'm doing something wrong or this is the current behaviour.
Any help about how to do it?
Thanks a lot in advance.
Jesus
-
View User Profile
-
Send Message
Posted Mar 17, 2016@AbdelCC
Means you are using an old version of Craftbukkit or Spigot. If you want use the itemset features on 1.8< servers, use an old version of the plugin (5.1.6).
-
View User Profile
-
Send Message
Posted Mar 16, 2016Hi i'm getting this error and any idea on to why I'm getting this? Thanks. 16.03 21:44:52 [Server] INFO ZeddCC issued server command: /mycmd-itemset add 16.03 21:44:52 [Server] ERROR null 16.03 21:44:52 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'mycmd-itemset' in plugin MyCommand v5.1.9 16.03 21:44:52 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:142) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:665) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_66] 16.03 21:44:52 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_66] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:773) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66] 16.03 21:44:52 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.PlayerInventory.getItemInMainHand()Lorg/bukkit/inventory/ItemStack; 16.03 21:44:52 [Server] INFO at it.mri.mycommand.commands.CmdItemSet.onCommand(CmdItemSet.java:53) [?:?] 16.03 21:44:52 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [paperspigot-1.8.jar:git-PaperSpigot-56c14f8-07c3001] 16.03 21:44:52 [Server] INFO ... 15 more
-
View User Profile
-
Send Message
Posted Mar 16, 2016it would be great if using player points! :)
-
View User Profile
-
Send Message
Posted Mar 15, 2016For some reason when I want to restart my server, it keeps hanging on disabling mycommand for a while. Is this a known issue, or do you need more information?
-
View User Profile
-
Send Message
Posted Mar 12, 2016@Helvim
You can create "conditions" using the script syntax, like "$Script$%if%$variable==something" ecc. For the itemname condition, currently you cant do that, but i can add something like this "$Script$%if%$name_iteminhand==Power Stone" in the next version. Check this page for more examples : http://dev.bukkit.org/bukkit-plugins/mycommand/pages/configuration-and-examples-scripts/
@PnsPtr You can set the color in the itemname yes, use the common char & for choose the color. &1ItemName ecc... For the commandblock, if you mean the ability to launch mycmd command from the command block, you can do this registering the interested command. put "register: true" under your command for do that.
-
View User Profile
-
Send Message
Posted Mar 12, 2016Hi, I ask again :D
I try to make a command for a roleplay server and I have to make a condition like ..
condition1 or condition2 or condition3 .. etc or condition1 and condition2 and condition3 .. etc
An other question, Can we use item name in a condition ? not : "if player have a stone in hand" but "if player have "power stone" in hand".
-
View User Profile
-
Send Message
Posted Mar 11, 2016Hi how can i make "itemset" with colored items? And please make it commandblock compatible :)
-
View User Profile
-
Send Message
Posted Mar 8, 2016@Ivanpro
Okay, thank you for the answer. I will try to do my things another way. This pluggin is awesome by the way ;)
-
View User Profile
-
Send Message
Posted Mar 8, 2016@Spark89
yeah, currently you can't do that. There is an variable for dont replace the variables, but works only in "text". I see to implement it in runcmd later.
-
View User Profile
-
Send Message
Posted Mar 7, 2016Hi, could someone help me with the customs variables?
My problem is that when I try to edit a custom variable via mycmd (not in-game), the command is not executed correctly.
In-game:
/mycmd-variables create varTest
/mycmd-variables set varTest HELLO
In MyCommand (commands.yml):
'test':
command: /test
type: RUN_COMMAND
runcmd:
- '/mycmd-variables set varTest BYE '
Instead of running '/mycmd-variables set varTest BYE ' it run '/mycmd-variables set HELLO BYE '