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 Sep 15, 2020the repeat function does not work
-
View User Profile
-
Send Message
Posted Sep 7, 2020https://pastebin.com/0tu9sAGU error when I write /mycmd hologram near
-
View User Profile
-
Send Message
Posted Sep 5, 2020So I want to add an argument for a command but if the argument is blank then I want to run something else. This is what I mean
heal:
command: /heal
type: RUN_COMMAND
runcmd:
- /effect give $arg1 regeneration 1 255 true
But I do not know to be able to leave the argument blank and heal yourself, can someone help me?
-
View User Profile
-
Send Message
Posted Sep 6, 2020In reply to pureaspiration:
I need it too, someone help us
-
View User Profile
-
Send Message
Posted Oct 15, 2020In reply to pureaspiration:
Use scripts with if and else conditions:
https://www.curseforge.com/minecraft/bukkit-plugins/mycommand/pages/configuration-and-examples-scripts
Example:
type: RUN_COMMAND
runcmd:
- $Script$%if%$arg1.string.length>0
- $RUN_CONSOLE$/effect give $arg1 regeneration 1 255 true
- $Script$%else%
- $text$Usage: /heal <player>
-
View User Profile
-
Send Message
Posted Aug 26, 2020Can't set the warmup for the command. Warmup is working like a delay but without canceling it on move event. I also set in the config:
MOVE_LISTENER: true
But it still not working :(
My command:
spawntp:
command: /spawntp
type: RUN_CONSOLE
runcmd:
- '/spawn $player'
register: true
permission-required: false
warmup: 15
cooldown: 10
Help me please, IDK what I am doing wrong
-
View User Profile
-
Send Message
Posted Oct 15, 2020In reply to dawidrutx:
You are supposed to put MOVE_LISTNENER to true only if you WANT TO CANCEL when players move.
From the documentation:
Warm-ups can be canceled on the move event. Put true on MOVE_LISTENER in the main config. (config.yml)
(It's disabled (false) by default, once changed, restart the server to make it effective)
-
View User Profile
-
Send Message
Posted Aug 19, 2020Hi, is it possible to use variables or placeholders with the CALL_URL type? I'm trying to use a custom placeholder %bukkit_version% to send the server's version to my website.
I tried a PAPI placeholder and a playerdata variable. Both times it printed the literal text in the url.
(e.g. instead of GET http://localhost/git-Paper-60, it does GET http://localhost/%bukkitversion%)
If this isn't a feature, please consider adding it. I would really appreciate it. Thank you!
-
View User Profile
-
Send Message
Posted Aug 16, 2020Hi, first of all, great plugin!
Second of all, could you potentially add a "toggle" command type?
Say you do "/bypass" to toggle it on, it would then do "/lp user <user running cmd> permission set bypass true".
Then you do "/bypass" again (same exact command) to toggle it off, it would then do "/lp user <user running cmd> permission unset bypass".
Thanks!
-
View User Profile
-
Send Message
Posted Oct 15, 2020In reply to realsrnyx:
There is probably a way to do it using scripts, you may have to use variables though which I am not so familiar with. Someone made an example here for toggling nightvision but that depends on ability to check playerdata https://dev.bukkit.org/projects/mycommand/pages/pre-created-commands-or-just-take-them-as-a-more?comment=2
-
View User Profile
-
Send Message
Posted Aug 16, 2020Hi, so I've been wondering 2 things: Can the ICON_MENU type use multiple commands and also can it recognize a user's /balance amount, take away the needed amount, and run said multiple commands?
-
View User Profile
-
Send Message
Posted Aug 16, 2020Hello! I have a question that really bugs me from many days. When I make a command to open a menu the command is always in red and is not recognized, or shown in the list when you type the command. What I have to do to fix this can someone help me for this, it will be amazing.
-
View User Profile
-
Send Message
Posted Oct 15, 2020In reply to yan_mihailov:
did you put this in your command? (requires server restart because of how minecraft is coded)
-
View User Profile
-
Send Message
Posted Jul 31, 2020Is it possible to do something like a /youtube command to post a clickable link in the server chat
-
View User Profile
-
Send Message
Posted Aug 7, 2020It is going with tellwra cmd /tellwra $player You can create Tellwar with colour easy at https://minecraft.tools/en/tellraw.php
-
View User Profile
-
Send Message
Posted Jul 29, 2020Can you make a $worldtime placeholder. To return the current time of the world the sender is in, in ticks. This can allow certain commands to be only run at night or day, or maybe even at midnight. It would be cool to use in if-statements. Also, the newest version tends to break on 1.7.10, the version right before it v5.6.5 works on it still.
-
View User Profile
-
Send Message
Posted Jul 31, 2020In reply to KAMKEEL:
What breaks on the 1.7.10? Just to know. I usually test my plugin on last version, and the 1.8. 1.7 it's just supposed to work.
About the placeholder, check if there is something in PlaceHolderAPI, anyway, i can see to add it.
-
View User Profile
-
Send Message
Posted Jul 27, 2020I have an online bukkit server and if I create a custom command but I'm not a Server Operator, the server text to me that I have no permission to do that command. Can You help me please? I Think that's a Bukkit option but I don't know how to fix the error.
Sorry for the bad english.
-
View User Profile
-
Send Message
Posted Jul 22, 2020I was wondering if there was any way to have the commands that turn on the item list and load the item list could be automatically run when the server is rebooted
-
View User Profile
-
Send Message
Posted Jul 11, 2020Great plugin, just a quick question.
How do I reference a custom variable inside a script?
I've been using "$Script$%if%$Variable%customVariable%==true", but it seems to always return false.
I think I'm calling the variable incorrectly.
https://pastebin.com/wmL0LWaA