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 skhizosheep:
I got it. I've added a RGB way to set the color.
Put the values like the playerhead name way, splitted by <rgb> 0 to 255 max.
In reply to ivanfromitaly:
OMG thx you
In reply to ivanfromitaly:
The other potions do not work with RGB (SPLASH_POTION and LINGERING_POTION), in the official version 5.5.2, will you add this same function for these?
In reply to skhizosheep:
Sure, i forgot to add them.
hey, I want to make a /lobby command that will teleport me to specific coordinates but I'm not sure how. can someone please help me?
In reply to ouriya:
Just use a RUN_CONSOLE command type and in runcmd put /tp playername X Y Z (or something similar), in alternative, you can use MyCommand tp function. Check the script page.
...
Hello,
This plugin is amazing, but can you add a selected blocks in worldedit * something please?? There no other way in 1.13 to do that, and the "* something" make it possible to add a cost per claimed block (* 0.001 = 0.1 cent per block, and so on)
Hey, I have a few question (great plugin btw):
So when I want to apply and effect to a player after a command, it says 'Applied effect Jump Boost to %player%'. How do I disable this so that only my custom text will appear after the command. Thanks in advance.
Oh, and also, how do you disable the enchantment it shows in the IconMenu when you give an item an enchantment? (Fixed this)
Lastly, when I switch between chest guis, is it possible to make it so that you don't exit out of the GUI and then go to another one? Because right now it quickly exits and then afterwards swaps to the next GUI. It would look a lot nicer if there was no exit, and it would just instantly change to the next GUI.
Edit: So I had another problem... I was creating my own IconMenus through the commands.yml file, and then all of a sudden, I reloaded the commands, and then it started saying that I had 0 commands. However, I fixed this by deleting the yml file and restarting my server. Whenever I use the IconMenu I created, I think there's an error hidden somewhere affecting this. And I've seen this type of behavior in yml files before. But I believe this is a bug you must fix...
In reply to flimsynimsy:
Your first issue: you can avoid the effect message by running the vanilla effect command from console instead - /effect $player ... (RUN_CONSOLE)
Your last issue is a result of an invalid YAML, once you've done your iconmenu, validate it using something like
http://www.yamllint.com
To make sure it's correct. One misplaced " or ' can break the file making it unreadable, it's not a bug.
If you need help finding the issue with your command, post a pastebin with your commands and I'll fix it for you.
In reply to Forge_User_98674312:
I was wondering if it was possible to give a certain permission to players, but they can't run the command itself through chat, you know what I mean? Like the only way to do so is by clicking an npc or something
And also, I still wanted my own custom text and I didn't know how to make custom text appear, while running it in the console, so I disabled command feedback in chat as a gamerule in-game. But if there was another way, please tell me. Thanks
Sorry for the many questions xD
In reply to flimsynimsy:
Yes you can limit commands to certain worlds, add
- '$Script$%if%$world==worldname'
also, use '$text$texthere' to make a custom text appear in the chat
Is it not possible to make it so Playerdata can be edited for Players that arent online? Maybe an external file that saves UUID's of Players with their usernames so they can be used even when the Player is offline?
Trying to do:
- '$Script$%PlayerDataFor%$arg1%store1AMOUNT-$arg2'
- '$Script$%PlayerDataFor%$arg1%storespaceLeft+$arg2'
But it doesnt work if the Player is offline. Is there a fix?
Hello.
I have a question regarding the GUI stuff.
I have found that there a limit of 2 text heights. Is there a way to have more then 2 lines when you hold you mouse on a item?
i just created an Alias /skyblock for the command /server skyblock but it says unknown command
http://prntscr.com/nzul0u
In reply to Forge_User_22374224:
if you want to use custom commands in other plugin's or vanilla minecraft stuff, you need to register them, with "register: true". Once done, restart the server to make them 100% effective.
In reply to Forge_User_22374224:
I think it's because Bungee cord (which is what I presume you're using), doesn't register their commands in each server which means when you make an alias through My command, it doesn't work.
I have Block Commands set up in order to pop up social links (twitter,yt, discord) and before i could click those links in the chat and automatically be transported to twitter etc like with any link in chat but for some reason that no longer works.
i still havent gotten my /shop command to work, i have added shop as an alias for shop open in both plugin.yml and commands.yml i still have no clue what to make of it..
shop_open:
command: shop:
aliases: /shop
In reply to Forge_User_27476696:
As i already said, you've created a loop, that's impossible to resolve. The only way was to open the interested plugin archive.jar and add manually the aliases (see here : https://www.spigotmc.org/wiki/command-alias/ ) under the interested command. But isn't1 100% sure to works, if you have tryed and done all correctly, there isn't any solution, if not add the alias internally from the dev of the plugin itself.