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 Dec 17, 2014Is there a possibility to add several command under one main commands without the need of adding many declerations?
Example:
-
View User Profile
-
Send Message
Posted Dec 15, 2014Can you explain a lil better how Once-Time-Commands work?
runcmd: - $Script$%PlayerData%/oncetime!=used - /horse give Apotheosis_ Whity White - $Script$%PlayerData%/oncetime=used error-message: "You have already used this command"
Doesnt seem to do the trick .. Always says .. You have already used this command, even tho I just make the commands and I have never used them before
-
View User Profile
-
Send Message
Posted Dec 9, 2014The day that "MyCommand" does not exist, my server will cease to exist.
Everything is based on it.
Congratulations on this piece of plugin, is impressive.
-
View User Profile
-
Send Message
Posted Dec 6, 2014I love MyCommand, but after looking through all the examples I haven't found a way to combine multiple commands into one line. For example if I wanted /? /pl and /plugins to all trigger "You can't use this command!" the only way I've found is to make something like this: http:pastie.org/9765437 So I was wondering if you could add a feature to combine multiple command triggers into one like. For instance have the command: like this.
'plugins': command: /plugins | /? | /pl type: TEXT text: - "&4$player, 4You can't use this command!" permission-required: false
Also when I was attempting to create a semi-automatic way to restart my server I was unable to do so with the way the plugin limits the $delay$ feature. For instance if I wanted /nightreload180 to restart the server in 180 minutes and automatically count down from the last five seconds it would be a pain to create this. Also color codes didn't seem to work with the latest version. It changed all the & symbols to the double s symbols so the /welcome command I have set up for my helpers doesn't change colors. Here's what I have set up for the /welcome command Link. Also when using the "/mycmd-playerdata" there is no option to remove a single piece of data. You can only clear everything under that person's username. Finally, could you add in a feature which allows specific commands to execute depending on how many variables are in the command? As an example, if I were to type /island it would send me to my Skyblock and if I were to type /island help it would pop up with text stating the island commands.
-
View User Profile
-
Send Message
Posted Dec 5, 2014Not sure if mycommand does this already but granting perms to do a command and then removing them is annoying. A other plugins I have seen do a *command to allow execution even if you don't have the perms to do the command (i.e. /sell won't work without perms but *sell would but if the user just typed the command /sell would still be blocked)
Could be super handy in icon menus and stuff.
-
View User Profile
-
Send Message
Posted Dec 3, 2014Will there be an update for this to fix the hooks into World Guard 6.0+. The latest update that fixed the TAB autocomplete has made it so much easier for my players, thanks.
-
View User Profile
-
Send Message
Posted Dec 2, 2014@ThisUsernameIsMine
You can already do something like this. Try :
-
View User Profile
-
Send Message
Posted Dec 1, 2014Please make it possible you can also block specific command arguments.
(for example):
Allow certain players to do /gm 3 (/gamemode 3), and block /gm 3 and /gamemode 3 for others, but allowing them to do /gm 0 (/gamemode 0) and/or /gm 1 (/gamemode 1).
Hopefully you'll consider this, as i only want to block a subset of arguments, but not the whole command itself ;-)
-
View User Profile
-
Send Message
Posted Nov 30, 2014overwriting commands doesn't work for me anymore. :(
-
View User Profile
-
Send Message
Posted Nov 29, 2014@JohOply
You can call commands from other commands but nearest I can tell once it completes the sub call it will not return to the master. You could do (pseudo code)
Master: set %playerdata%var1=1 If $playerdata%var1% ==1 then Call sub1 If $playerdata%var1%==2 then Call sub2 End
Sub1: Do something Set %playerdata%var1=2 Call Master End
Sub2: Do something Set %playerdata%var1=3 Call Master End
Hope this answers what you are asking
-
View User Profile
-
Send Message
Posted Nov 29, 2014How can i create subcommands ?
Examples : - /abc - /abc 2 - /abc xycd
-
View User Profile
-
Send Message
Posted Nov 29, 2014The 1.5.4 update returning vars is working perfectly! I thank you for making that change and your quick response!
-
View User Profile
-
Send Message
Posted Nov 29, 2014@VillageRealms: Try the latest version when avalaible (5.1.4)
@MrBeavis420 Added something similar in the latest version,try it. (it's limited at one for line, for now)
@BrutalNetwork Strange, i have tested it also with essentials and works fine.
@BrutalNetwork Put the command with less arguments for last.
-
View User Profile
-
Send Message
Posted Nov 28, 2014Every time I set a command to register: true and make it permission-required: false nobody has access to it but ops.
When register: true is gone, everything works. But I need the command registered, please help.
'vt_help': command: /vtokens type: TEXT permission-required: false text: - '&a*&8&m
---------&a*' - '&8- &a/&cvt shop &a- &7Open the token shop.' - '&8- &a/&cvt balance &a- &7Check your token balance.' - '&8- &a/&cvt send <player> <tokens> &a- &7Pay tokens.' - '&a*&8&m---------&a*' register: true-
View User Profile
-
Send Message
Posted Nov 27, 2014@TomXPro
Not that I have seen, I don't think it does that as you still need a restart of the server to update the listeners. A reload will not do it.
As a side note it is way faster to do it directly in the yml file and then you are already on the server to do the restart.
-
View User Profile
-
Send Message
Posted Nov 27, 2014@BrutalNetwork
Why not just flip the command name to say /vote help or /voting help? I don't think it would be too odd for people as some commands do use help after the command so it isn't outside the norm.
-
View User Profile
-
Send Message
Posted Nov 27, 2014Is it possible to create a command within the in-game chat? That would be more comfortable creating aliases.
-
View User Profile
-
Send Message
Posted Nov 27, 2014Im trying to make a custom help menu. When someone type /help it will bring up the menu listing all the sub categories. So for example when someone type ./help vote it will show them the vote info, when i make it in the config and set the vote help command to ( /help vote ) it runs the help command instead. How can i do it to recognize both Variables?
-
View User Profile
-
Send Message
Posted Nov 26, 2014If you set a PlayerData Var can your return that var else where in the code? I have set my var1=81 and try to run this command - /sell %PlayerData%var1 1 and it doesn't type 81 in place of the var1. I have tried %PlayerData%var1, $%PlayerData%var1, %PlayerData%$var1, $PlayerData$var1, $var1. This isn't all of them I have tried and they never return the value. It just treats it like text.
The sub it is running in is 'Sell1Item': command: /sell1 type: RUN_COMMAND runcmd: - /addpermsell - /sell %PlayerData%var1 1 - /removepermsell cost: 0 delaytimer: 0
-
View User Profile
-
Send Message
Posted Nov 20, 2014@GodsDead
Yeah, it happens to me too, i made a way for my players to buy classes via a menu, and i had to create 3-4 comamnds per class, My-cmd is really limited, do you know any other one that is better?