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 May 1, 2019First off this is one of my favorite plugins! Can make a lot of cool commands with it
But question, I see there are block and money cost options. Is there and experience cost option for commands?
-
View User Profile
-
Send Message
Posted May 1, 2019In reply to jef_is_god:
Incase their isnt an option, I made an alternative for others:
ExpThingy:
command: /ExpTester
type: RUN_CONSOLE
runcmd:
- $Script$%if%$level>=5 #asking if player's lever is 5 or higher
- /tell $player command worked #replace with your command
- /exp give $player -5l #Takes 5 levels from player
- $Script$%else% #if condition above not met, following commands run
- $text$You don't have enough Experience levels! #Tells player they dont have enough exp
permission-required: false
-
View User Profile
-
Send Message
Posted Apr 22, 2019Hi, Happy Easter :)
I've been using MyCMD for a while now but have run into an issue where a normal player cannot access a certain block. I have created a GUI with Ultra Customizer and the command is /guide to open up the guide which all players have permission to.
I have an NPC spawned inside two barrier blocks. The barrier blocks have both had the command /mycmd-blockset create and /mycmd-blockset add /guide to them. When an opped player right clicks on either of the barrier blocks (command blocks) it swiftly opens up this gui displayed here. http://prntscr.com/nf7fib
However, whenever a player who is not opped tries to right click on the npc/barrier blocks, nothing happens.
http://prntscr.com/nf7hz8
I use Luck Perms as my permission manager and in the default group, I have given them the permissions:
mycommand.block.all.use
mycommand.cmd.all
http://prntscr.com/nf7iiz
However this still doesn't seem to work.
Whats my best bet from here? Cheers
-
View User Profile
-
Send Message
Posted Apr 22, 2019In reply to trewology:
Don't forget to give also the permission to use the /guide command to the player. If you already have done that, i can't really help you. I've tested a working scenario with LuckPerms, and the Barrier block in mycmd blockset, with a fresh group and all works fine. Double check if all is ok.
-
View User Profile
-
Send Message
Posted Apr 21, 2019Hi!
I just started using Mycommands and I ran into a problem. I am trying to give the command to spawn a horse to players. But I do not want to give the entire spawnmob command to the players. Rather just run the command and a horse appears and thats it. I have tried using ADD_PERMISSION and RUN_CONSOLE. Both of these do not work and returns that it is trying it in console, but is giving custom error message that was programed in the MyCommand commands.
spawnhorse:
command: /spawnhorse
type: RUN_CONSOLE
runcmd:
- /spawnmob horse 1 $player
permission-required: true
permissions-node: mycommand.cmd.horse
permission-error: "&a$player!, &2You can't use this command!"
cooldown: 1200
Chat returns the permission error and console returns this:
[02:26:06 INFO]: NormTheLegend issued server command: /spawnhorse
[02:26:06 INFO]: NormTheLegend issued mycmd command ID(41) /spawnhorse
This is what is in my permission's file. I added the essentials pieces to try and get this working.
- mycommand.cmd.horse
- essentials.spawnmob.horse
- essentials.spawnmob
Any help will be appreciated!
-
View User Profile
-
Send Message
Posted Apr 21, 2019In reply to GimmeWelfare:
if the /spawnmob command doesn't support the console, i guess you can't run that from there.
You can do somethign like this (if you have Vault installed) to make a "workaround" to that :
-
View User Profile
-
Send Message
Posted Apr 21, 2019In reply to Ivanpro:
Thanks for your help! The fix was the use of your workaround and seeing my own stupidity. In my permission-node line, I accidentally put permissions-node. That stopped the entire command from registering and did not allow the command to besides from ops. Plus the use of your workaround it allows the player to spawn them. Thanks!
-
View User Profile
-
Send Message
Posted Apr 12, 2019Hello
I use Mycommands and I have some suggestions that can further improve this incredible plugin.
1- Add these variables (%groupname%), ($text_to_specific_group<%groupname%>), ($runcommand_group<%groupname%>) and ($runconsole_group$);
Example:
command: /help
type: RUN_CONSOLE
runcmd:
- '$text_to_specific_group%helper% &6$player &7need help:'
- '$text_to_specific_group%helper% &6>> &e$multiargs'
- '$runcommand_group%helper%/ExecuteForHelperOrHigherGroup'
- '$runconsole_group$ give %helper% stone 1 name:&dOnly_the_auxiliary_or_higher_group_will_receive'
- '$text$&aYour question has been sent, it will be answered shortly!'
permission-required: false
required_args: 1
error-message: '&4Use: &c/help (msg)'
cooldown: 30
-
View User Profile
-
Send Message
Posted Apr 13, 2019In reply to pretti_:
there is already something similar in the plugin, but using the permission (and not groups who depends from external plugins)
-
View User Profile
-
Send Message
Posted Apr 16, 2019In reply to Ivanpro:
Thank you, it worked.
I noticed that you updated the plugin, but for some reason several things will no longer work in spigot 1.8.8, will no longer have support for spigot 1.8.8?
-
View User Profile
-
Send Message
Posted Apr 16, 2019In reply to pretti_:
From the release of Minecraft 1.13 and the newer spigot/bukkit api, they have changed the names of a lot of things. Using the latest version on a older server version can cause problems when the plugin go and call out a item who doesn't exist in the previous version. I will see if i can do something about it, and make it work the best i can on older servers. But i guess some function needs to be cut off, like the player head in the icon menu.
-
View User Profile
-
Send Message
Posted Apr 17, 2019In reply to Ivanpro:
Thanks for your effort <3
-
View User Profile
-
Send Message
Posted Apr 7, 2019Hello,
I have a problem... When I give a group the permission to change the weather to sun if they pay 8$...the command takes 8$ and it doesn't run the command. It says "You don't have the access to run that command"
Can someone help me?
Thanks and have a nice day^^
-
View User Profile
-
Send Message
Posted Apr 8, 2019In reply to king_of_samurai:
Because the command itself (time set day?) Have his permission, and of course if the player paying for that doesn't have that one it doesn't work. You can bypass most of this by letting run the command from the console. Change type from RUN_COMMAND to RUN_CONSOLE
-
View User Profile
-
Send Message
Posted May 2, 2019In reply to Ivanpro:
Thanks, but I have another problem...When I run the command, it doesn't change the weather to sun ^^;
I'm usig multiverse btw
-
View User Profile
-
Send Message
Posted May 2, 2019In reply to king_of_samurai:
I'm not very familiar with multiverse, but maybe you need to specify the world where the player is in, to make it working properly? Depends on what /time and /weather command you're using, and also, can be a problem if the world name is needed and you're running the command from the console, cause the console as instance doen't have a world name itself.
Check if your time and weather command need more info's (world name) and also if needed run it from RUN_COMMAND and give the player the permission right before executing it for remove it just later done. Check my reply to GimmeWelfare here above, there is add permission example.
-
View User Profile
-
Send Message
Posted Apr 7, 2019How would I do it if I wanted to make a /whois Owner but keep the /whois working normally? (Essentials)
-
View User Profile
-
Send Message
Posted Apr 1, 2019Hey,
I wanted to make an item with command. I would like to make it disappear after use...
I tried with comamdn with item-cost, but it doesnt accept named items...
Any idea how to make VIP items?
-
View User Profile
-
Send Message
Posted Apr 2, 2019In reply to Forge_User_85914176:
I'm looking to upgrade the item-cost function, it already support multiple items in the "dev" version. I'm going to add itemnames and maybe enchantments as variables too.
-
View User Profile
-
Send Message
Posted Apr 2, 2019In reply to Ivanpro:
Wow, would be nice :D
So there's no chance to make items that disappear after use right now?