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 FortniteDied3YearsAgo:
You have to restart the server to make them effective
There are a lot of bugs, for example placeholders not working from the console, ans as soon as the task is a liitle bit complicated, it doesn't work.
When I try to change his profession, it appears for a split second and then changes right back to none. If I turn his AI off it works, but I want it on, and turning it on will cause the issue again.
Please help.
im trying creating one command:
admin_alias:
command: /admin
type: ALIAS
alias: /lp user () parent set owneradmin
permission-required: true
permission: mycommand.cmd.admin
but i need any uuid in () for player name, can u help me pls?
Is it possible to have the plugin run multiple commands? If so, how?
Is it possible to create a command that rewrites what players wrote? For example when player writes /rewrite [text] it will write [text] in chat but only the player wrote will be able to see it. Thanks in advance.
error command:you have bypassed the command for this command....Cost failed but i intall vault and economy plugin...please help me
Hi, How can we have an item execute a command as OP or from console when right clicked? I want normal players without the permissions to execute these commands directly to be able to use this item.
In reply to PhadingFuzzy: Exist 2 options
type: RUN_CONSOLE
type: RUN_AS_OPERATOR
Bossbar doesn't works for me: https://pastebin.com/SnQNY0MY
Please help ... I'm creating a static menu, but I didn't create icons (oak, birch wood ...), please, I want to find all items and item descriptions (item_name and item_data) :(
I absolutely love this plugin but I am struggle bussing right now.
I'm trying to restrict how many jobs a user can have. So I created PrimaryJob SecondaryJob and IAlreadyHav2Jobs in LP. I then made a mycommand so when someone got their first job, it would remove primaryjob and give secondaryjob, then when they got their second job it would remove secondaryjob and give them ialreadyhave2jobs. But whenever I paste the code in, my entire mycommand breaks. Can someone help?
Great plugin! I am really happy with it! :)
Is it possible to create a command like /pay. I use an economy plugin called gMoney. Players need to type /gmoney pay [playername] [amount] to pay each other and this is taking too long. Is there a way to shorten this command using this plugin? For example /pay [playername] [amount]. Thanks in advance.
In reply to tirituvanziro3210:
You could do it like this as long as you don't have a plugin using the /pay command already, that should work! $arg1 and $arg2 are the placeholders for where the player would've typed [playername] and [amount]. If something is using the /pay command then you could make it something else like /gpay.
How can I create an alias with the condition of not needing the permission of the command I'm doing the alias?
In reply to ErikolGamer14:
If the command in consideration supports the console, you can use the RUN_CONSOLE type. Otherwise you need to to add the permission, run the command and remove the permission right after.
Hi, is it possible to make nested if statements? I keep trying to make a command that has multiple nested if statements but it seems that on an if statement fail it falls out to the next if statement. Is that intentional, and if so, how can I fix that?
In reply to StrikerIV4:
For how it's structured the plugin, you can't nest if's. You can insert a new command inside that if, and do another script and so on. Use the execute_mode to block the subcommand from being directly executed.
In reply to ivanfromitaly:
ah ok, thanks for the quick reply!