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
Hey,
So I am trying to put a symbol (») in one of the commands messages but then it shows up with a weird symbol and then the arrows. Any way I can fix?
@bikerad1
Agreed! Big thanks to creator of this plugin!
@Ivanpro
Thank you☺
@Marchio98
Nope, this actions works only if the client made that action clicking on the "raw message" in the chat.
@Ivanpro
Is it possible to suggest commands from icons of an iconmenu?
@Chinimala
For now, no, you can't
Is it possible to remove the "Checking if the player is still OP...", "Removed the OP status to ...", "Giving the OP status to..." messages in the console ?
@p1nkwafflez
Are you using the latest version of the plugin? Because for me this command, copy-pasted works fine. If the player don't write anything, and get the "args error", he get the money back.
Edit: Ok, maybe you for "fails" intend WG when give you the "select an area first" message. In that case, no. I can't determinate the result of another plugin command, and you can't do that in no way. The only solution is to develop a specific plugin using a specific provided api (wg api in your case).
The max you can create with MyCommand is this :
But also in this way, you can't check if that region "name" already exist in the server. So if a player write an used name, he don't get charged back. @ZombieHDGaming
Nope, you can use spaces in the command field.
@p1nkwafflez
Dude, you are missing the biggest part in the command because you do not understand syntax......you need the command to be either all one word or separate with an underscore. It charges because it sees the claim part as being an argument. This allows it to fail no matter what. Change that, and it should work.
@Ivanpro
Ok so i fixed the loop. Now i have this
This still charges the player even if the command fails, and i also tried it with
required_args: 1
which still charges the player also, sorry to keep this going but i can't seem to sort this charging out? The console doesn't show any errors or anything. Am i just missing something really obvious?
@Ivanpro tem algum comando que faça o NPCS não se movimentarem ? que deixe eles parado para sempre ?
@p1nkwafflez
The command get executed 30 times, because you have created a loop. "/rg claim" execute "/rg claim" and so on.... (try to change the runcmd to "/pluginname:rg claim ecc ecc). Anyway, i tested it (in normal circumstance, no loop) and without required_args the command chargeback the money (if no command get executed). Instead, using required_args the chargeback it's not required, because this check is made before of money check.
@robi0294
The broadcast message, it's just an example, i don't tested it too much. Anyway i see to fix this.
@WizardVS
Restart your server for made the listener works.
@UndeadJ3T
From the console? Nope, i see to implement the "executefor" line also for the console in the next release.
@HairyDaddymc
Hey there, if you did not notice, I am trying to do the same as you. I figured you should have a look at mine to improve your own.
This is actually pretty simple yet a tad complex. As to answer what you were looking for, the permission you set for broadcasting the message is all you need to add as a permission, no mycommand.cmd.blahhh, all you need is your permission. As an example like mine, I set the perm to be staffchat.message, if I don not have the permission, you cannot see the messages, if you add just staffchat.message, you can receive these messages. As for all your players seeing it, well, I can't tell you what is wrong without seeing a perms file.
Cheers, Zombie
@p1nkwafflez
You are using 1.10, as far as we know, MyCommand does not work on 1.10 as of now. This may be an issue, and that is causing the command spam. I would recommend waiting before posting an error like this as this version is not yet supported. Once it has been updated (hopefully within a few weeks), if you still have the issue, then you should bring it up.
Also, I would recommend looking into your log to make sure there is not an error being thrown.
I mentioned this a while back, but im still having a problem with it, basically i want to charge £2000 for using /rg claim. Now this command works perfectly but if a user types /rg claim WITHOUT the argument it still charges the player and i don't want it to do this, i only want it to charge them once the command is fully completed.
Also i just noticed if a player does the command it charges them about 30 times?
Hello.
I'm using your example from playerevents, with the kills. Problem is, when a player gets killed by a monster or mob or whatever, it says the person was killed by $killer in chat. is it possible to make a prevent_mobs: true or something?
best regards,
Robin
I can’t get "broadcast_message_permission_node: permission.for.see.this.message" to work propperly. Everytime I run the command the server broadcasts the message to everyone. This is what I have on commands.yml: st: command: /st type: broadcast_text text: - '&3[Staff &f$player&3] &7$multiargs' broadcast_message_permission_node: permission.for.see.this.message
and these are the group permissions: - mycommand.cmd.st - mycommand.cmd.st.permission.for.see.this.message
playerevents.yml doesn't work. and i have in config.yml EXTRA_LISTENER on true
@Ivanpro
Well, unfortunately, I couldn't add a custom command to Essentials' help, even though it's registered. essentials.help.mycommand.hub, .gotohub, .cmd.hub, .cmd.gotohub didn't work, although the permission essentials.help.mycommand does display the standard help from MyCommand
Anyways, thanks for the help
@Ivanpro
This is meant to be run by BuyCraft, (From the console)
So when a player buy a MoneyBoost all the online players sould get 5K
Do you know if that is even possible?