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
@Yoshi910
I want this too, but I want it configurable so you can decide what commands to run as console and what commands to run as the user.
Example: command1: /goto type3: runconsole runcmd3: - /tp $player $arg1 - /money take $player 500
Why? Simple, I dont want to give people the /money take permission or the /tp but i want them to be able to do these for a price.
I really love this plugin, its really helpful and makes the server look more professional when having commands like /donate and it bring up info about donating like this is what I have:
This plugin works on my offline server on my desktop, but when I upload it to my actual server, mc.haxir.com, it overwrites the config with the default config when I do /mycmd-reload.
It works its just that I cant customize the commands in the config because it overwrites them with the default file everytime. I want to use this plugin so badly to save me time and frustration, please help.
Can you make it so that, when a player types a command, it executes a command in the console? For example, a player types "/spawn" the console executes "spawn {name}".
@Ivanpro
Ok I got it figured out. It was nothing having to do with your wonderful plugin and everything to do with trying figure it out while I was obviously too tired. :) The proper long command for LogBlock rollbacks is:
/lb rollback player <playername> since <time>
and I had:
/lb rollback <playername> since <time>
Once I corrected the lack of the text string "player" it all worked fine!
Thanks for you response on the matter however as I suspected it was completely possible to do what I wanted and wanted some extra verification!
@KCQuetzal
Your configuration it's right,can you explain the error/problem? I have tried your command for security,and works.
I suspect the answer to this is simple however it has so far evaded me.
Long command:
/lb rollback <playername> since <time>
I would like it to be:
/rollback <playername> <time>
I have tried:
command2: /rollback
type2: runcommand
runcmd2:
- /lb rollback $arg1 since $arg2
however that does not seem to work. I would also like to combine:
/db <playername> [reason]
/dbip <playername> [reason]
into
/dban <playername> [reason]
I have tried:
command3: /dban
type3: runcommand
runcmd3:
- /db $arg1 $arg2
- /dbip $arg1 $arg2
Any advice on either of these is greatly appreciated!
Love your plugin! Great work Ivanpro. :)
@PreFixLT
Yes,the $arg1 it's the first argument you type in chat command. Example if you type /yoursamplecmd &4Elite and runcmd is /pex user $player prefix "$arg1" the output commands are /pex user Playersender prefix "&4Elite "
Anyway, i just uploaded the new version 2.3 with "optional"spout support and $playertarget argument on /mycmd-itemset
Download link :http://dev.bukkit.org/server-mods/mycommand/files/19-mycommand-v2-3/
I want something like this /pex user $player prefix "&4Elite " Not a $arg1
@PreFixLT
I see to add a mycmd-itemset feature in next version.
For the commands with "" i have tested this - /pex user $player prefix "$arg1" and works without problem.
Can you make MYCMD Items something like this:
/mycmd-itemset /jail TargettedPlayerName or something like that.I want to make batton for cops for my server:)
And what about " " in commands? I want make command who set prefix for the player.Please fix it. My long cmd is /pex user PlayerName prefix "&4 Elite"
sorry for bad english.
@Rtzon There are 2+ way for make a alias.
You can make better alias ,typing only /hero (name) with:
Or if you want type: /hero (choose) (name)
How can I alias a base command?
Like if there was one command, like /hero choose (name) and /hero specs,
could i just alias /hero with /class and then /class choose (name) and /class specs would work?
@DexTerMineCraft You can't put $arg in "command" line.The arguments it's only for runcmd.
@Rtzon
disabledebugmessage : true
How do I remove the [MyCMD]: /hero specs
before each new command I do?
I can not get a MCBans command to work with MyCmd. My config:
commandsnumber: 1 disablepermission: false disabledebugmessage: false command1: /$arg1ban $arg2 $arg3 type1: runcommand runcmd1: - /ban $arg2 $arg1 $arg3 text1: - §1Line1! - §2Line2! and ecc,ecc... delaytimer1: 5
I would really like to make this command simpler for my staff members to ban with MCBans.
@Ivanpro
oops! didnt see that. Thanks :P
@gustebeast
Put disabledebugmessage : true
Please o' please make a config node to remove the running command notifications. Its just confusing to players that when they see this "running command: /..." note in their chat. It would be nice if it did the shortcut quietly instead of announcing it.
@zxcdserf
I tried to add console support,but i found some problem and don't work correctly