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
Hello! How can i change /say message output? so for example instead of having this: &d[Server] Message Have this: &4[Server] Message I won't use that, it was just a example.
how to make metadata of ID?
like 397:3 ?
@CrazyPoli
Check Examples...
could you make command to item binding possible? For example when you right click your compass it opens and icon menu:)
can use the worldedit bind ?
Whenever i execute a custom command that is a "runcommand" it sends a global chat message. It is §6nullnull§a$command where $command is the command its executing. Everyone can see it regardless if it worked or not. It even does that with the example runcommand's. I am using v3.9.3
@Ivanpro
Thanks a lot Ivanpro!
Your plugin are great.
Hope you can add the feature such as command countdown. For example when /fly then it will countdown 15mins then will issue /fly off automatically.
Second, Could you let us to config the /iconmenu. The lore is enough to explain the icon.
'1': command: /iconmenu type: iconmenu text: - 'POSITION:ITEMID:COMMAND/MESSAGE:DESCRIPTION' iconmenu_title: '&cMyCommand &4ItemMenu' iconmenu_size: 27 iconmenu_commands:
- '0:322:/help:&aOpen the help menù' <
Don't show and hide the /help at the displayAlso could possible to bind the keyboard to issue the /iconmenu like Ctrl+M
The Plugin works, but when I use the command, thers shown an error: "Unknown command. Type "/help" for help."
@lanceryy
remove the ù in the commands.yml file.
Please help !
23:00:05 [SEVERE] Cannot load plugins\MyCommand\commands.yml 23:00:05 org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping 23:00:05 in 'string', line 177, column 3: 23:00:05 command: /iconmenu 23:00:05 ^ 23:00:05 expected <block end>, but found Scalar 23:00:05 in 'string', line 185, column 6: 23:00:05 - '1:345:/mycmd:MyCommand men�� 23:00:05 ^ 23:00:06 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) 23:00:06 at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) 23:00:06 at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 23:00:06 at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) 23:00:06 at it.mri.mycommand.SetConfig.checkConfig(SetConfig.java:71) 23:00:06 at it.mri.mycommand.Main.onEnable(Main.java:170) 23:00:06 at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 23:00:06 at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 23:00:06 at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) 23:00:06 at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:286) 23:00:06 at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:268) 23:00:06 at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:319) 23:00:06 at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:296) 23:00:06 at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:256) 23:00:06 at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:164) 23:00:06 at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:397) 23:00:06 at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 23:00:06 Caused by: while parsing a block mapping 23:00:06 in 'string', line 177, column 3: 23:00:06 command: /iconmenu 23:00:06 ^ 23:00:06 expected <block end>, but found Scalar 23:00:06 in 'string', line 185, column 6: 23:00:06 - '1:345:/mycmd:MyCommand men�� 23:00:06 ^ 23:00:06 at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) 23:00:06 at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) 23:00:06 at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) 23:00:06 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 23:00:06 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) 23:00:06 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 23:00:06 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) 23:00:06 at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) 23:00:06 at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) 23:00:06 at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) 23:00:06 at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) 23:00:06 at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) 23:00:06 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) 23:00:06 ... 16 more 23:00:06 [INFO] = Config : Ready | Custom Commands : 0 23:00:06 [INFO] = Version: 3.9.3 23:00:06 [INFO] = Author : MRI a.k.a Ivanpro 23:00:06 [INFO] = Status : Active 23:00:06 [INFO] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
@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.
i 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
make 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
@KingMusic
I say this to developer. He says in new update this feature added :)
Is it possible to require more than one permissions?
This 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...
Love 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:
Why can't custom commands be sudo'ed?
How could one use the random function to pick a player at random?
'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?