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 27, 2013Please, add aliases for commands
-
View User Profile
-
Send Message
Posted Aug 27, 2013add $money, $kill, $deaths and $kd
-
View User Profile
-
Send Message
Posted Aug 25, 2013@rmb9797
Thanks for your help . I can describe my issue from /iconmenu clearly. Yup! We have a same problem with /iconmenu . Please Ivan takes a look it.
buggy of /iconmenu
1. icon position 2. random repeat or loop the command 3. execute once command will execute twice or more . (Would it be $delay$ issue ?)
-
View User Profile
-
Send Message
Posted Aug 25, 2013Hello, I've been having an issue with the iconmenu type command.
No matter which order I put the commands (as in the first variable, for where the icons show up in the menu) they always come up shown with the lowest item ID to the left, and I can't add any spacing between them. The commands themselves are executed in the proper places, but no icon is displayed in the area.
For example, if I had a command for slot 0 and a command for slot 2, there would only be icons in slot 0 and 1, in order from least to greatest ID, however a command would be properly executed if I clicked the blank space in slot 2.
Here's the code I have now, regardless of how I arrange the first variable on these they will still show in this order.
I was also having an issue where if I exited the iconmenu without using a command (by hitting escape) the next time I used a command it would execute twice. This compounded the more times you used escape to get out, until you restart or reload the whole server.
And finally I was having an issue similar to lanceryy below, where when one of my other admins tried to spawn in a book from the iconmenu it would give it to me instead (he wouldn't get the book). It worked just fine if he typed out the command, but from the iconmenu it didn't work properly
-
View User Profile
-
Send Message
Posted Aug 25, 2013I've been trying to get this to work for a while now.
Even when i copy/paste the examples straight into the commands file, they are still not recognized in-game.
Also when i type '/mycmd' one of the lines will say 'Show all 0 custom commands', but if i look at the list there are some custom entries there.
If you could help me see what i'm doing wrong that would be great, thanks.
-
View User Profile
-
Send Message
Posted Aug 25, 2013how can i add a delay to an iconmenu command?
-
View User Profile
-
Send Message
Posted Aug 25, 2013Hey, how can I set a delaytimer for a command and if player move it will be canceled, you told me to put "disablemoveevent: false" in the main config file but it didn't help, it's still teleporting they. this is the code i'm using: '6': command: /spawn type: runconsole text: - '$blue MyCommand Broadcast Test' runcmd: - '$delay$' - '/tppos $player 0 100 0' cost: 0 delaytimer: 4 I want the player to wait 4 sec before the command - '/tppos $player 0 100 0' will commence and if player move i want it to be canceled but it's not working. What should i do?
-
View User Profile
-
Send Message
Posted Aug 24, 2013V4.0.0 BUG. ItemMenu
Sometime when the player A execute /iconmenu and click the icon . player B will do the same . (seem random)
eg:Player A
> /iconmenu->/whois $player (icon)The server console i saw player A /iconmenu and execute /whois $Player then the Player B will also do the same things /iconmenu and execute /whois $Player ....I told the player A to call other command from /iconmenu . the the player B will do some thing = =" ....but i ask the player B who say that he did not /iconmenu and just afk....
On the other hand , after you use iconmenu ....then it will execute the commmand about 3mins once ...then repeat to random run the command from /iconmenu
Command.yml:
http://pastebin.com/DJzEJtMJ
MY CONFIG: Please help me to test.
http://pastebin.com/kbaFNzeU
-
View User Profile
-
Send Message
Posted Aug 24, 2013I hope this is better than myoc, I have problems with aliases on it
-
View User Profile
-
Send Message
Posted Aug 24, 2013@Ivanpro
Oh , thanks a lot . we will support you . you are elite
-
View User Profile
-
Send Message
Posted Aug 24, 2013@Ivanpro
I also would like the ability to have players run a command with one permission. In my case I want to teleport players using essentials' /tppos command, but I want to keep the teleportation delay. I need to give players essentials.tppos just to type one command.
I assume the $Script$Addpermission feature does the same thing as
/perm player setperm <player> <permission>
Unfortunately, PermissionsBukkit is not very efficient at updating its config. It takes around 1, maybe 2 seconds to add or remove permissions. (if you know of a permissions plugin that is more efficient I would be interesting to hear). Anyway, is there a way to temporarily give a player a permission without having to write to the permissions file?
-
View User Profile
-
Send Message
Posted Aug 24, 2013@gustebeast
it's not possible remove the item attribute for now,Instead for the "farm" icon,try in this way : '0:274:0:/warp farm:Farm:'.I fix the error in the next release.
@lanceryy
Yes,use AddPermission and remove.Example :
@MGNSS
Have you changed the "options.commandsnumber" line?Anyway,you have to use runconsole type for run the pex command if a player doesn't have that permission.
@BoomShnizel
Yes,i see later.
-
View User Profile
-
Send Message
Posted Aug 24, 2013Hi need to figure out what I'm doing wrong:
It just says unknown command for every command i make, and yes im entering it correctly
-
View User Profile
-
Send Message
Posted Aug 24, 2013@Ivanpro
when you write a command with multiplyargs and you write nothing, it wont display the error message, example: the command is: "/message" Config: - /me &f{$player} - $multiargs so when a player writes /message, it will write {his name} - {and nothing here} while it should write the error message. That's the only problem I found. Awesome plugin!
- BoomShnizel -
-
View User Profile
-
Send Message
Posted Aug 23, 2013@Ivanpro
um...you guess wrong.
i want to let everyone can use /whois $player (only show themself ) but not allow they use /whois to check other player information such as Ip address (essential) . I want the player only use iconmenu to click the icon them will execute /whois $Player , they can't use $player to other name such as /whois peter
@Ivanpro
-
View User Profile
-
Send Message
Posted Aug 23, 2013Well before it was possible to make a sub command within a command, Now this new version is not possible in any way to "RunCommand" or "runconsole" I want to create a command that runs another command, and I will run the first command in the console and in the game but the server console. What did this look then going 23:08 23:11:21 [Server] INFO Unknown command. Type "help" for help. 23:08 23:11:21 [Server] hello john IINFO 23:08 23:11:21 [Server] INFO cmd test
-
View User Profile
-
Send Message
Posted Aug 23, 2013Also, I am trying out the new icon menu feature and I have run into some issues.
If I set up an item like so,
- '0:274:0:/warp mine:Mine:&7A large mining area;with PvP turned off.'
It looks like this.
Mine
&7A large mining area
&5with PvP turned off
{empty line}
&9+3 Attack Damage
Here is what it should look like
Mine
&7A large mining area
&7with PvP turned off
Also, there seems to be no way to leave out the extra info section. I want a listing like so
- '0:274:0:/warp farm:Farm'
That just throws an error.
-
View User Profile
-
Send Message
Posted Aug 23, 2013@Ivanpro
Well if you could do the change it would open up new options. Like being able to broadcast text, send the player text, make the player run a command, and run a command through console all in one mycommand. The usage would also be a bit less awkward with types like "runcommand-broadcast-text".
Also it would allow people to change the order of a sequence. For example, by putting the text: field below the runcmd: field, I could have the text display after all the commands were run. This would be good for "Process Complete" messages.
Heck, I remember when the plugin had "command1" "runcmd1" "text1". You had to change all the numbers every time you wanted to add a new command. You changed the format though and now it is much easier to use.
-
View User Profile
-
Send Message
Posted Aug 23, 2013@Ivanpro Hey, how can I set a delaytimer for a command and if player move it will be canceled, you told me to put "disablemoveevent: false" in the main config file but it didn't help, it's still teleporting they.
-
View User Profile
-
Send Message
Posted Aug 23, 2013@lanceryy
With the 1.0 version,you can use AddPermission and RemovePermission instead of runasoperator. (Require vault)