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
Hi, 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!
In 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
Hi, 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?
Hello! 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.
In reply to yan_mihailov:
did you put this in your command? (requires server restart because of how minecraft is coded)
Is it possible to do something like a /youtube command to post a clickable link in the server chat
It is going with tellwra cmd /tellwra $player You can create Tellwar with colour easy at https://minecraft.tools/en/tellraw.php
Can 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.
In 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.
I 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.
I 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
Great 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
after updating to 1.16 my menu does not show the black glass panel only white, in 1.15.2 everything worked ok
iconmenu_autofill: BLACK_STAINED_GLASS_PANE
In reply to Techkyller_:
true, i've added the support for item data id (for older version) with some other stuff, and somehow i broke that.
to use any item, just add :0 after it
iconmenu_autofill: BLACK_STAINED_GLASS_PANE:0
anyway, i'll fix it.
Se me ocurrio otra idea para hacerlo pero necesito dar un libro escrito.
Al momendo de "comprar" el libro escrito me sale el mensaje de "Tag de libro invalido".
- WRITTEN_BOOK:1:lore:"Readme"<cost>NETHER_STAR:5<max_uses>4
¿Sabes como podria hacer?
Hola, quisiera hacer una tienda en mi servidor, uso el plugin merchant_items, la idea es que cuando el usuario compre un objeto le salga un mensaje en el chat como por ejemplo : "Objeto comprado", hasta ahora probe diferentes codigos pero ninguno me sirvio, alguna ayuda
store:
command: /store
type:
- MERCHANT
- TEXT
merchant_title: '&3Bienvenide &b$player'
merchant_items:
- IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
text:
- "Objeto comprado"
In reply to warrysde:
You can't determinate when a player has bought with success something. I'll see if i can implement anything to do that. the way you've done yourself, run that message when the player launch the command, no matter what. Putting multiple types in one, just run them all togheter.
Is there an estimated date for a 1.16 release?
I've noticed the new hex-color codes don't work properly.
In reply to tylflux:
The plugin works fine in the 1.16. The hex colors simply aren't implemented on the old version. I'll release something in those days.
Anyway, i've tested, and even without my implementation you can use them - '&x&a&f&f&f&0&f Example'
It says if you want to do tab-complete, than just put
in the command config stuff (where you define the type and name) so i do that and then type /mycmd-reload commands i don't get any errors in-game, but when i go to the console, it says:
and it does have a tab-completer, but it doesn't work if i try to make a citizens npc run it.
(in case it helps, it is an icon-menu)