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 Aug 14, 2013@guimartino
You can't use the 1.6.2 version on 1.5.2 servers.
@Marium0505
$Script$HasPermission==
@KabouterJapsy
The id number depend from your client,use vanilla client and are ok.For the description,i see later.
-
View User Profile
-
Send Message
Posted Aug 13, 2013i don't know what i must to do
2013-08-14 01:18:09 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to MyCommand v3.9.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:963) at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:889) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:846) at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getHealth()D at it.mri.mycommand.PreprocessEvent.ReplaceVariables(PreprocessEvent.java:706) at it.mri.mycommand.PreprocessEvent.PerformTextCommands(PreprocessEvent.java:597) at it.mri.mycommand.PreprocessEvent.onPlayerCommandPreprocess(PreprocessEvent.java:230) at sun.reflect.GeneratedMethodAccessor729.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 17 more 2013-08-14 01:18:09 [INFO] guimartino issued server command: /terrenos
-
View User Profile
-
Send Message
Posted Aug 13, 2013make MyCommand v3.9.3 work with 1.5.2 please :(
This error as occurred: It's happens with any command, but with iconmenu works... i dont know why..
19:10:22 [INFO] guimartino issued mycmd command : /mycmd-random 19:10:22 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to MyCommand v3.9.3 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:957) at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:883) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:840) at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getHealth()D at it.mri.mycommand.utilities.ReplaceVariables.Replace(ReplaceVariables.java:63) at it.mri.mycommand.listener.PreprocessEvent.PerformMycmdCommands(PreprocessEvent.java:461) at it.mri.mycommand.listener.PreprocessEvent.PerformMycmdCommands(PreprocessEvent.java:316) at it.mri.mycommand.listener.PreprocessEvent.onPlayerCommandPreprocess(PreprocessEvent.java:242) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 16 more
-
View User Profile
-
Send Message
Posted Aug 13, 2013@KingMusic
I say this to developer. He says in new update this feature added :)
-
View User Profile
-
Send Message
Posted Aug 13, 2013Is it possible to require more than one permissions?
-
View User Profile
-
Send Message
Posted Aug 13, 2013This plugin is very useful!
But there are some bugs, the plugin doesn't save the set itemcommands, i would like to have this fixed. 'Caus everytime is restart my server I have to set those itemcommands again...
-
View User Profile
-
Send Message
Posted Aug 12, 2013Love this plugin!
I have a request/question though. Since 1.6 items show their attack damage, and this is annoying in the item menu (I use a sword for pvp options and shovel for spleef) but I don't want it to show +7 attack damage etc.
Is it possible to "fix" this?
I also just noticed the item menu is bugged (for me at least), the command shows the data value of the item it's linked to as well Example:
-
View User Profile
-
Send Message
Posted Aug 12, 2013Why can't custom commands be sudo'ed?
-
View User Profile
-
Send Message
Posted Aug 8, 2013How could one use the random function to pick a player at random?
-
View User Profile
-
Send Message
Posted Aug 5, 2013'1': command: /spawn type: addtimer delaytimer: 10
Everytime I type /spawn it tells me "You have bypassed the timer and it wont spawn me. I want to make people have to wait 10 seconds without moving to go to spawn. What do I add to make people have to wait?
-
View User Profile
-
Send Message
Posted Aug 4, 2013I don't entirely understand the section for making your own Variables, and the player() variable doesn't work either.
-
View User Profile
-
Send Message
Posted Aug 3, 2013Can you please add two variables? <randomplayer> The plugin will output a random online player.
<nearplayer> the plugin will output the nearest player to the player who performs the command.
Also, would it be possible to add a "Sign teleport" thing. I need a plugin/feature where I can do a command, and then click a sign, and then a location(block). Player will be teleported to the location I set by a command. This was a bit hard to explain, but I hope you understand it.
-
View User Profile
-
Send Message
Posted Jul 31, 2013@IchCraft033
Check your syntax. Toying around with this I have found that a single missed annotation mark can throw everything off. I know it is a pain, but take a close look and you should find the error. It may be something out of place as well, like an unrecognized argument. Hope this helps!
Edit: The Creator of MyCommand links a yaml reader, under the "Latest Download", that can check for errors. It may not be perfect, but it should find any of the small things at the very least!
-
View User Profile
-
Send Message
Posted Jul 31, 2013Hi there,
I'm having a bit of trouble with the itemset command. I get it to work just fine, but upon restart or reload of the server it wipes the information from the bound item. While it isn't that big of a deal since I just have to rebind it to the item, I was hoping that there is a way to automate this for my server when i am unavailable to rebind the command to the item during auto-restarts.
Any help with this would be great!
-
View User Profile
-
Send Message
Posted Jul 31, 2013@lokiy999
Hi a workaround i've found for this is if you place in a buffer command.
in the menu you can set a cmd to run that opens another menu on a 1 second delay. this will give enough time to close the current inventory window and open the next.
Example:
'1':
command: /ExampleMenu1
type: iconmenu
text:
- 'POSITION:ITEMID:COMMAND/MESSAGE:DESCRIPTION'
iconmenu_title: '&cExample Menu 1'
iconmenu_size: 9
iconmenu_commands:
- '0:###:/Menu2bufferCmd:Open the &1Example Menu 2'
- '1:###:/cmdhere: Command'
- '2:###:/cmdhere: Command'
- '3:###:/cmdhere: Command'
- '4:###:/cmdhere: Command'
- '5:###:/cmdhere: Command'
- '6:###:/cmdhere: Command'
- '7:###:/cmdhere: Command'
- '8:###:/cmdhere: Command'
'2':
command: /Menu2bufferCmd
type: runcommand
text:
- ''
runcmd:
- $delay$/ExampleMenu2
delaytimer: 1
'3':
command: /ExampleMenu2
type: iconmenu
text:
- 'POSITION:ITEMID:COMMAND/MESSAGE:DESCRIPTION'
iconmenu_title: '&cExample Menu 2'
iconmenu_size: 9
iconmenu_commands:
- '0:###:/cmdhere: Command'
- '1:###:/cmdhere: Command'
- '2:###:/cmdhere: Command'
- '3:###:/cmdhere: Command'
- '4:###:/cmdhere: Command'
- '5:###:/cmdhere: Command'
- '6:###:/cmdhere: Command'
- '7:###:/cmdhere: Command'
- '8:###:/cmdhere: Command'
-
View User Profile
-
Send Message
Posted Jul 30, 2013Please help :/ ... The Plugin doen't work ... i dont have change anything ... the all default commands are "Uknown command. ..." If i use /mycmd list there is "No command" in every line ... :/
Edit: Now: if i use some commands there are no messages in the text and nummer 20 (sell cobblestone) works ;o - but not more
-
View User Profile
-
Send Message
Posted Jul 30, 2013Add "type: Join-Text"
-
View User Profile
-
Send Message
Posted Jul 30, 2013mhmm ... i installed it and nothing works ... ;O ... "Uknown Command" on the default MyCommand commands ...
-
View User Profile
-
Send Message
Posted Jul 28, 2013@llama4488
I'd like it too :S
-
View User Profile
-
Send Message
Posted Jul 26, 2013Click to add item assigned to perform the assigned command
P.S GoogleTranslator