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
In reply to Forge_User_57031538:
require_all_arguments works per-line. An alternative can be "required_args: 1", where if you type only "/hey" it shows the error.
The placeholders are a tricky question, maybe i can add something who's replace only the "$args" for example. Otherwise, i should add a permission for every placeholder and it can only get the replace process more heavier.
For the cooldowns i added a command /mycmd editcooldown to manage them. Run it in the "error phase" of the command, through the console. Ex. "$RUN_CONSOLE$/mycmd editcooldown $player command_name 1"
In reply to ivanfromitaly:
Thanks a lot for your help! Got the cooldown and error-message working.
And with the placeholders, sounds good. Whatever you think is the best solution. Anyway the command as it is now can already be given for use to our staff which was the primary idea. But I'm glad if we could get it working so that we could give it to our players too :D
Hello! I would like to know if there is or is it possible to add an "error message" option as a command.
For example, if a player misspells the command, instead of receiving a message defined in "error-message:", a command will be executed, such as an "error-command:".
I really hope you understand and answer, I thank you in advance, you do a great job.
Im trying to add a enchanted_book to the right_click_interaction but it doesnt work and I cant create a command. It says the target block not recognised. but everything is correctly set.
Is 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.
Hi, noticed that this placeholder doesn't work.
Always NoData response.
%mycommand_playerdatafor_<player_name>_<variable_name>%
In 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.
In 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.
In 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.
Helllo,
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
Please help! How can i add a player the perm to do a custom cmd?
Thank you!
I 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
(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)
Console 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.
Hello, 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
Hey,
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
In 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
Hello,
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
In reply to Forge_User_22209876:
You could try $NoReplace, otherwise rename your GET variable :/
from help doc:
In 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.