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 Feb 27, 2020Is it possible to make a command that only runs on a player's first join? Also, an NPC with colliding off still can be pushed around.
-
View User Profile
-
Send Message
Posted Feb 15, 2020Hi, noticed that this placeholder doesn't work.
Always NoData response.
%mycommand_playerdatafor_<player_name>_<variable_name>%
-
View User Profile
-
Send Message
Posted Feb 17, 2020In reply to jotaro3235:
An example of how you're using it? It should be used in this way : %mycommand_playerdatafor_jotaro_money% , and works only with PlaceHolderPAPI installed.
-
View User Profile
-
Send Message
Posted Feb 17, 2020In reply to ivanfromitaly:
Oh, I checked it works. It seems the problem is in the nickname, if my nickname is _Jotaro_ or Jo_taro then it will be NoData.
-
View User Profile
-
Send Message
Posted Feb 18, 2020In reply to jotaro3235:
yeah it can be possible. I remember to have fixed something like that, but maybe only in the variable name. Because the "_" in PAPI split the sector. It's easy for me determinate the variable, because i can get everything after the name and say it is the variable. But for the name not so easy. I should have left the <> character to open and close the start and end of the name. I'll eventually if i can do something.
-
View User Profile
-
Send Message
Posted Feb 4, 2020Helllo,
I'm looking for an API to be able to invoke certain commands by their names. Any chances it could be added any time soon?
Thanks,
brc
-
View User Profile
-
Send Message
Posted Jan 5, 2020Please help! How can i add a player the perm to do a custom cmd?
Thank you!
-
View User Profile
-
Send Message
Posted Jan 1, 2020I have a problem in my server, Im trying to start my server with mycommand and this happen
I made a clear start up, I droped the mycommand plugin in the plugins folder, after that i went into the server to reload this one and see if the plugin works but... No, I need help.
Pastebin of all the log, isn't too much i only tried to install the plugin
https://pastebin.com/iu1p7q7Q
Thanks for the help
-
View User Profile
-
Send Message
Posted Dec 17, 2019(Sry I am Russian)
How change player's variable 10.0 to 10, without zero
example:
player send command /money bal
in chat: Ur balance is: 228.0
but i need:
player send command /money bal
in chat: Ur balance is: 228 (without zero)
-
View User Profile
-
Send Message
Posted Dec 14, 2019Console cannot run the logging commands. Also, you should get a Discord server for MyCommand, as it would make getting support and everything so much quicker and easier.
-
View User Profile
-
Send Message
Posted Dec 10, 2019Hello, after my call_url "problem" it's me other time...
This time it's for the cooldown for the customs commands.
I would like to save the cooldowns in the yml file to save it after a restart of the server bug it doesn't save anything.
The DEBUG part of the config is:
DEBUG:
GAME: false
CONSOLE: true
DISABLE_PERMISSIONS: false
USE_UUID_FOR_PLAYERDATA: true
USE_NAME_INSTEAD_OF_ID_IN_THE_PERMISSION_NAME: true
USE_THE_UPDATER: true
SAVE_PENDING_COOLDOWNS: true
USE_AT_SELECTORS_PLACEHOLDERS: false
ROUND_DOUBLE_DECIMALS_AT: 2
Anybody knows how to put it saves on?
Thank you
-
View User Profile
-
Send Message
Posted Dec 9, 2019Hey,
i have several questions and i hope someone can help me. Thanks!
#1 Is it possible to create a own command and user can use them without the permission?
Example: "/money add @p 100" - users cant this for normaly; but if i create "/money4me" in mycmd is it possible?
#2 In minecraft commands will be suggest commands, but not the my-cmd commands. Can i add this?
#3 Is it possible to hide message from original-commands? Example: "/weather set clear" in Chat "@P changed the weather in world". Now i did my own command: "/good-weather" - can i hide the broadcast?
Thaaaanks
-
View User Profile
-
Send Message
Posted Dec 10, 2019In reply to Forge_User_66867501:
#1 You can run as whatever you want, for example '/money4me' with RUN_CONSOLE you can put '/money add $player 100' will run as CONSOLE
#2 You have to put "register: true" to put the command for player in white and for tab completer to add arguments it's with the "tab_completer:" variable.
#3 I think it depends of the plugin which make the "/weather set clear" command. You can try to put it with console but I don't know exactly
-
View User Profile
-
Send Message
Posted Dec 3, 2019Hello,
first of all this plugin is great, but I've a problem with a CALL_URL command. In the URL, there is this:
&d
And during the CALL_URL, the output is not the right one because the URL seems to be modified by the Minecraft's colors system instead of calling this:
REST OF THE URL/ip=%player_ip%&duration=1440
Does anyone know if we can disable the chat format on a specific command?
Thanks
-
View User Profile
-
Send Message
Posted Dec 5, 2019In reply to Forge_User_22209876:
You could try $NoReplace, otherwise rename your GET variable :/
from help doc:
-
View User Profile
-
Send Message
Posted Dec 6, 2019In reply to Forge_User_22209876:
I don't think $NoReplace is going to work there, but what you can do is to create a custom placeholder (variable) with the command /mycmd-variables and give to that placeholder the content you need. Example %pieceofurl1% and set it to &d or put the complete url into that placeholder. Try.
-
View User Profile
-
Send Message
Posted Dec 9, 2019In reply to ivanfromitaly:
I've tried with both of the 2 methods and it don't work but it works with &+d instead of &d.
Thanks you for trying help me
-
View User Profile
-
Send Message
Posted Nov 20, 2019how can you get custom command with a plugin?
i like it easy to use but i need it for plugins
-
View User Profile
-
Send Message
Posted Nov 14, 2019Thank you for making such an amazing plugin! I'm a moderator of a 1.12.2 server using MyCommand, and I have a question about tab compeleter function.
Is there any function that shows players' names starting with some particular characters? For example, if I type (/command r) and press Tab key then players' name starting with "r" (like Rny0_0, RobertJames, Ryan724, ...), or (/command rn) then players' names starting with "rn".
I already tried $player_list, but it didn't seem to work as I wrote above. (It retrieved all players' names no matter which letter I'd typed, and the argument just changed into the name of the player who goes alphabetically first among those that are online)
Thanks in advance!
-
View User Profile
-
Send Message
Posted Nov 11, 2019How in the icon menu can we use modded blocks and modded ids if we only put the name of the item?