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 Jul 29, 2016Lots And Lots Of Ideas 1) Add a way to specify a certain command to execute if specifying a certain argument 2) Placeholders editing: instead of required-args or require_all_arguments just modify the argument placeholder so par example for optional arguments using $argo1 and for requested ones $argr1 or as you'd like to add, getting rid of that required-args "tag" will clean your conscience xD 3) Another placeholder request: what about improving the $multiargs adding numbers also for those? (also implementing eventually the optional and the requested) 4) Add a better argument location specifier and implementing also characters that, when needed, close the multiple arguments.
5) I noted that, if not specifying any tab-completation, it automatically turns to players, I suggest to remove this to make sure that, if a command has no argument, it does not default on players and does not do anything. About players I notice to add the $ponline placeholder on the tab_completer list to make it look for online players or, as I'd prefer, you can add a singular argument type par example $targetplayer. For this here is a little edit because I suggest also some other placeholder to tab complete par example $plugins, $warps, and others to make a dynamic tab completing list which doesn't need manual set up. 6) Only two words: Case sensitivity, I think this will be the easiest feature to implement to the plugin that I proposed here and this is not good, so just add a little trick: try adding an optional wrong case error message. 7) Optional multiple error messages type to help the user, this is hard to explain clearly, I'll put what I mean in the example below, a little thing: add also a way to set multiple rows of error message text just wrapping and using the runcmd style, see below this too (to specify par example a description). 8 ) Custom placeholders for every command, starting from removing the "&=§" and making eventually add it manually by owner and a way to set a permission to use specified or all placeholders, see below. 9) Remove the type: *TYPE* and replace it with runcmds's placeholders: $text$ is already existing, just add %barapi%20%40%PINK%*TEXT* and others as %console% or $console$ and you'll no longer need that "type" specifier. 10) Tab_completer for every single argument: get rid of that generic "tab_completer" and just set "$argr4_tab_completer" (e.g.), I think that this feature is pretty large but It should be really really interesting and optionally consider also multiple argument tab completing (see below). Here is an example in code block of an advanced version of /title utilizing the features that I requested. 11) Argument's operation: Something as the third quick example I'm going to do: you can par example close arguments with "$" (e.g. $argr1$) and allow operations before to close "$", e.g.: $argr1+3$, $argo3-2$, $argo2*5$, $argr4:3$ and arguments interactive operations as this: $argr2-$argr1$ or something similar that does not do too much confusion with "$". 12) "Forced Argument Alias System": I'll try explaining but I'll bring this in the third example: Something as setblock materials and minecraft:give items are what I name "Forced Arguments" because I can only write that, so you can add something as a replacer or "aliaser" of those arguments, see below.
Here is an explanation if you did not understand the multiple error message type mechanic: If a player specifies the arguments 1, 2 and 3 and leaves blank the 4, 5 and 6 it gets the 2nd error message (error-message-select: 2) I know that this method should not be totally clear for users in fact you can implement this as you prefer, what I want is this mechanic that should be really interesting with other 8. I hope you'll implement those features! Edit: I added a weird dice command to show also what I was saying for specific commands for specific arguments and to show better the tab_completer, here I mean that, if a player types /weirddice it gets a text as a normal dice, if he types /weirddice 9 he gets a random number between 1 and 9 (as a 9 face dice), logically it's just a stupid example and the 9 it going to be tab-completed only where he must go, so as first argument after the command and for example typing 6 it is going to execute the command as if nothing is specified (2nd argument "random" is just an example). Logically, if the first and the second arguments were requested, the first one's command would be an error message. Edit: Please, I spent more than an hour and a half to write this comment, tell me something if you read this and say me your consideration of this, I'd really like to have those features.
-
View User Profile
-
Send Message
Posted Jul 25, 2016I am trying to do this: $randomnumber%$arg1%
This works as long as the $arg1 is a valid number, but if a player writes 001 as the argument then the server crashes :/ The same happens if the player writes +60
I also get a weird number when a player writes 5.5
My question is if there is a way to check if $arg1 is a integer?
-
View User Profile
-
Send Message
Posted Jul 24, 2016Please, add player event: PlayerSendCommand, PlayerSendMessage :)
-
View User Profile
-
Send Message
Posted Jul 23, 2016@TheClubMC
This features are missing in the 1.8 and lower Api's. I forgot to block them. The Armorstand maybe dont work because it's an entity and not a block. I look in it when i have time.
@Ikeetjeop
You can use an script line for do that. Like this :
@BiGUNMAN Nothing, just the console don't support the custom timing. > On todo list.
-
View User Profile
-
Send Message
Posted Jul 23, 2016itemset doesn't work :(
-
View User Profile
-
Send Message
Posted Jul 23, 2016Hi i have a sugestion to XD
can u add anti your self
E.X:
/respect ikeetjeop
You can not give ur self respect
/respect notch
You gave Notch respect
Thanks
-
View User Profile
-
Send Message
Posted Jul 22, 2016Hello, I'm having the errors with mycmd-npcs. http://pastebin.com/2KgEUzqS
I was wonder is there a way to add command to armor stand. I tried add ARMOR_STAND to BLOCKS: section even run /mycmd-blockset create in-game but it doesn't work. http://pastebin.com/MhTu602y It would be great if you could implement to add command to armor stand.
Any suggestion would be appreciate, Thanks.
-
View User Profile
-
Send Message
Posted Jul 21, 2016@Mat1azkenblock43
thanks i will give this a try :D
-
View User Profile
-
Send Message
Posted Jul 19, 2016@Ivanpro Thanks a lot! I was hoping you could also help me out with the following issue: http://pastebin.com/MeGrwfKV - What's suppose to happen is that the delay command is executed 4 times, which it is. But then when doing $delay$<60>, which would be a 60 ticks delay instead of a 1 second delay, it doesn't work. Instead the console returns "unknown command".
-
View User Profile
-
Send Message
Posted Jul 19, 2016Hi! @ivanpro I try to create a npc, no error but the npc does not spawn, what can it be?
-
View User Profile
-
Send Message
Posted Jul 19, 2016@BiGUNMAN
If you want use commands in other plugin's, you need to register them. Put "register: true" under the interested command. And yes, MyCommand on Spigot is mine, but for now, the main page is this, on bukkitdev.
-
View User Profile
-
Send Message
Posted Jul 18, 2016@Ivanpro I have an issue where DeluxeJoin: https://www.spigotmc.org/resources/deluxejoin.4846/ - Can't access the commands (using player command or console commands), I also noticed that /sudo (player) - by essentials doesn't pick up the commands created (I made a delay command). I have console commands set to true in the config, but is their any way to have those other plugins pick up the commands? Or would I need to contact those developers.
I also noticed MyCommand was posted on Spigot, not sure if it's by you or not, but I just want to say it would be awesome to see this plugin active their. The discussion is so much better then Bukkit, and it does have wiki pages you can utilize to copy all the info from here to their. Ofc it's your choice if you want to do so or not, but it would be awesome.
-
View User Profile
-
Send Message
Posted Jul 17, 2016@DrakeSnodgrass
'hi':
command: /hi
type: RUN_AS_OPERATOR
runcmd:
- '$Script$%if%$PlayerData%Hi%==NoData'
- '/say One time use.'
- '$Script$%PlayerData%Hi=1'
- '$Script$%else%'
- '/say You have already perform this command.'
-
View User Profile
-
Send Message
Posted Jul 17, 2016Is it possible to make a command a 1 time use?
-
View User Profile
-
Send Message
Posted Jul 16, 2016How to use $Script$%if%? I think it verifies what is /mycmd-playerdata and if the characters overlap then executes the desired command or how to understand here ?
-
View User Profile
-
Send Message
Posted Jul 14, 2016@Ivanpro
How can I enable it so I can use colors in my broadcast then? I'm not sure what could be causing it as it's a mycommand command, I'll test it on a dev server only with MyCMD.
I ran it on my DEV server with MyCMD and I could use colors? Not sure why I cannot on my network though, Looking into it. Found the error. Don't worry. Thanks for pointing out it was an external plugin.
-
View User Profile
-
Send Message
Posted Jul 14, 2016Hey!
I'd appreciate it if you responded as soon as possible. I'm creating a command that will bring up a world selection menu. I would like the commands from the item menu to be run by console, but the type slot is filled up with ICON_MENU.
Please help!
-
View User Profile
-
Send Message
Posted Jul 14, 2016@Doktorwhoe
BRO use citizens and npccommands nwn
-
View User Profile
-
Send Message
Posted Jul 14, 2016@Doktorwhoe
The built-in api's are a bit bugged, infact you can't spawn an entity and face it to a specific direction (for example). You can do that messing around with nms code, but this make the plugin "broken" on every server release.
@ThisUsernameIsMine
Try to disable the (vanilla) server protection in server.properties. Anyway, this don't depends to me. I can add workaround for everyplugin who block some kind of execution.
@Ikeetjeop
I can look in that.
@Mat1azkenblock43
Like above.
@darthdoesmc
You mean the permission error? It's another plugin error, not MyCommand.
@jpayer123
You can't load custom textures from local data or whatsoever source. You can use only registered username in the player head item.
-
View User Profile
-
Send Message
Posted Jul 12, 2016I want to make a type of icon menu with player heads so players can select which player head they want to display on them. I viewed a ton of Minecraft skull websites and I found one with a ton of skulls. I collected about 270 skulls total and none of them have Minecraft usernames since they're not based on a player's skin. Where should I place the texture value I want to be displayed on the menu? Thanks in advance :)