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 3, 2014im using " " instead try it
-
View User Profile
-
Send Message
Posted Apr 3, 2014Hey!
I'm getting a weird error:
[08:35:35] [Server thread/INFO]: [MyCommand] Enabling MyCommand v5.1.0 [08:35:35] [Server thread/INFO]: =-=-=-=-=-=-=-=-=-=-=-MyCommand-=-=-=-=-=-=-=-=-=-=-=-= [08:35:35] [Server thread/INFO]: = Vault : Ok. Hooked MyCommand Vault 1.2.31-b411 [08:35:35] [Server thread/INFO]: = BarAPI : Detected. feature enabled. [08:35:35] [Server thread/INFO]: = Spout : Not detected [08:35:35] [Server thread/ERROR]: Cannot load plugins/MyCommand/commands.yml org.bukkit.configuration.InvalidConfigurationException: while scanning an anchor in 'string', line 119, column 6: - '&5=&d-&5=&d-&5=&d-&5=&d-&5=&5=&d ... ^ expected alphabetic or numeric character, but found =(61) in 'string', line 119, column 8: - '&5=&d-&5=&d-&5=&d-&5=&d-&5=&5=&d-& ... ^ at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:149) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:114) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:176) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at it.mri.mycommand.InitializeConfigFiles.checkConfig(InitializeConfigFiles.java:103) [MyCommand.jar:?] at it.mri.mycommand.Main.onEnable(Main.java:164) [MyCommand.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugin(CraftServer.java:463) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.craftbukkit.v1_7_R2.CraftServer.enablePlugins(CraftServer.java:381) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at net.minecraft.server.v1_7_R2.MinecraftServer.n(MinecraftServer.java:351) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at net.minecraft.server.v1_7_R2.MinecraftServer.g(MinecraftServer.java:326) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at net.minecraft.server.v1_7_R2.MinecraftServer.a(MinecraftServer.java:282) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at net.minecraft.server.v1_7_R2.DedicatedServer.init(DedicatedServer.java:186) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:440) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [Spigot-1.7.5-Latest.jar:git-Spigot-1348] Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning an anchor; expected alphabetic or numeric character, but found =(61); in 'string', line 119, column 8: - '&5=&d-&5=&d-&5=&d-&5=&d-&5=&5=&d-& ... ^ at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1446) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAnchor(ScannerImpl.java:939) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:370) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:530) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:157) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ~[Spigot-1.7.5-Latest.jar:git-Spigot-1348] ... 16 more [08:35:35] [Server thread/INFO]: = Config : Ok [08:35:35] [Server thread/INFO]: = Custom commands loaded : 0 [08:35:35] [Server thread/INFO]: = Version: 5.1.0 [08:35:35] [Server thread/INFO]: = Author : MRI a.k.a Ivanpro [08:35:35] [Server thread/INFO]: = Status : Active [08:35:35] [Server thread/INFO]: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=The line it complains about is this one:
-
View User Profile
-
Send Message
Posted Apr 3, 2014This plugin seems a little heavy for the simple feature I am looking for. I want to create a command so that players can type something like /trade <message> to have a message appear in chat to other users like "[Trade] Trading a diamond for 10 gold ingots!" Can this be done with this plugin? How?
-
View User Profile
-
Send Message
Posted Apr 1, 2014I am trying to add two additional things to this set of commands:
'ironkit':
command: /ironkit
type: RUN_CONSOLE
runcmd:
- '/warp ironkit $player'
- '/give $player 267 1'
- '/give $player 306 1'
- '/give $player 307 1'
- '/give $player 308 1'
- '/give $player 309 1'
- '/heal $player'
It is working as it should however i can not get it to feed back text to the user. And i would like to add a warpup to it neither of which i seem to be able to figure out how to get this working. I have tried adding:
type: TEXT
text:
- 'test test'
I have also tried adding the warmup similarly. So idealy it says:
Executing command in 3 .. 2 .. 1
and then does the command and teleports saying:
You are locked in.
Thanks for any help and a great plugin.
-
View User Profile
-
Send Message
Posted Mar 24, 2014then use /warp shop and pick type as player using /mycmd-blockset switch. Im not sure if $player variable works everywhere but in custom commands it does Im sure
-
View User Profile
-
Send Message
Posted Mar 24, 2014When I am running a command, what can I put instead of (player)? Btw $player won't work. I want the command to be /warp (player) shop.
-
View User Profile
-
Send Message
Posted Mar 23, 2014Hi, im using execute_mode: BLOCK_ONLY but it still works with cmds aswell nay idea ?
-
View User Profile
-
Send Message
Posted Mar 20, 2014@Marium0505
You can't register an command if is already register.Try with "registered: false".
@Moltak100
It's not possible modify other plugin commands.
-
View User Profile
-
Send Message
Posted Mar 20, 2014Hello.
First off, I love your plugin!
Secondly, I have been trying to override bukkit's /say command so I can change the output, but it doesn't look like the override is working. :L
This is how I have set it up:
-
View User Profile
-
Send Message
Posted Mar 19, 2014How would i to just change the color of /msg , with this plugin ? like i want to make it so when they type /msg <player> Hi. the original color of the msg would be like /msg <player> &6hi how would i to make it yellow as default color ? im pretty sure you can , i just cant seem to make it work.
-
View User Profile
-
Send Message
Posted Mar 19, 2014@yopugiscool
Update your old language.yml config file.
-
View User Profile
-
Send Message
Posted Mar 18, 2014Hello! Whenever I set up a command, it works fine, but in chat, it displays nullnull/command
This only happens whenever I set up a runcommand.. Any ideas to fix this issue?
-
View User Profile
-
Send Message
Posted Mar 18, 2014@Ivanpro @ThisUserNameWasAvailable:
"
Currently the cooldowns works only on registered commands of other plugins.I see to implement something for custom commands. Edit: I have added this feature in the latest plugin version.Try it."
@Ivanpro
I tried it "cooldown: 5' and it works, thank you very much, Greatly appreciated!
Keep up the good work on this awesome plugin.
-tunwa
-
View User Profile
-
Send Message
Posted Mar 16, 2014One more question. I have edited the language file, reloaded/restarted, the file remained so its hsoudlnt be corrupted and its not working. any idea ?
-
View User Profile
-
Send Message
Posted Mar 15, 2014@jozefmery
.set is for allow users to create it, not for use it :)
Block Permissions :
NEW_VERSION > 4.1 mycommand.block.ITEMNAME.use -> Example mycommand.block.STONE_PLATE.use Or just mycommand.block.all.use
OLD_VERSION < 4.1 mycommand.block.button.use , mycommand.block.plate.use , mycommand.block.lever.use , mycommand.block.detectorrail.use
mycommand.block.break
Edit: 5.1.0 released, it need be approved
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Ivanpro
which one ? I tried mycommand.block.set I didnt work .
Oh it has to be mycommand.block.all.use - works thanks, great plugin so much opportunities
-
View User Profile
-
Send Message
Posted Mar 15, 2014@jozefmery
Give also the block permission. http://dev.bukkit.org/bukkit-plugins/mycommand/pages/commands-permissions/
@WitherFire
Try with the latest plugin version.
@ThisUserNameWasAvailable
Currently the cooldowns works only on registered commands of other plugins.I see to implement something for custom commands. Edit: I have added this feature in the latest plugin version.Try it.
-
View User Profile
-
Send Message
Posted Mar 14, 2014Hi, I have disabled permissions in config, gave the mycommand.cmd.all permission despite that, but for some reason for players without op it doesnt work. I want to make that on button press they get vip info. The command which i gave it /vipinfo works. Any idea ?
-
View User Profile
-
Send Message
Posted Mar 12, 2014Hi, I've been having an issue with the icon menu feature: when someone clicks on something, it would run the command or show the text for someone else. Is there somewhere where I have to include $player or something?
-
View User Profile
-
Send Message
Posted Mar 10, 2014Hello, i tried lots of ways but it doesn't work how can i replace the word : /f f FACTION_NAME to /f show FACTION_NAME ?