CommandHelper
CommandHelper lets you and users alias commands so that you don't get carpal tunnel, and it also allows you to script your own plugins without Java knowledge.
- Let you or users bind aliases for multiple commands
- Using an easy to use language MethodScript, script your own plugins
- Completely replace whatever you are using for /homes /warps /mail etc. with CommandHelper
- Create new features, handle new problems, without having to learn Java
- Easy to use language to pick up, with great documentation
Want an easy to use in-game map editor? Try WorldEdit. Want to protect areas? Try WorldGuard.
For the latest version: This page is not updated. For the latest builds, get them from the Downloads page.

Getting Started
| Installation |
|---|
Bukkit is currently required.
- Download CommandHelper and put the .jar into plugins/.
- Run your server once to generate the configuration files.
- Read the wiki (see below) to find out how to use CommandHelper.
| Documentation |
|---|
What are the permissions? How do you make your own scripts?
All the documentation can be found at https://methodscript.com/docs
| Learning More |
|---|
- Project leader: LadyCailin is the current project leader
- Lead developers: LadyCailin
- Project started: In November 2010 (Bukkit was started January 2011)
The original project leader and lead developer was sk89q.
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
THE COMMENTS ON THIS PAGE ARE NOT REGULARLY MONITORED. For faster support, please join us on IRC or Discord.




-
View User Profile
-
Send Message
Posted Apr 6, 2012Just as a heads up. The new build of bukkit ruined this plugin. Whenever I or one of my users runs an alias it returns the unknown command error, it also prints this on the console.
I have tried to delete the config and the folder, to allow it to generate a new one, it still returns the same errors.
[Edit] I reverted back to a 1.2.4 jar file and it is still broken. So I don't know what to do I have tried reinstalling it and reloading the config files. No luck.
[Edit] I updated again to a 1.2.5 build of bukkit, and the plugin will no longer generate the folders and files.
Best plugin = dead :(
-
View User Profile
-
Send Message
Posted Apr 6, 2012Would i be able to somehow hook into iconomy, so when people type /money it will show with seperators such as 100 copper = 1 silver 100 silver = 1 gold sortve thing?
-
View User Profile
-
Send Message
Posted Apr 6, 2012@waremanu Go to preferences.txt and turn off case-sensitivity.
-
View User Profile
-
Send Message
Posted Apr 6, 2012Can you do so all in lower case in the config are all different methods of something. Example:
/hello $ msg = ('Hello, hello you!')
There does not work /Hello, /HeLLo, /HEllO, etc..
Can you please fix this?
-
View User Profile
-
Send Message
Posted Mar 30, 2012How do I create a /tphereall command that has the option to exclude certain users? Like that: /tphereall <Player1> <Player2> The player names should be optional.
-
View User Profile
-
Send Message
Posted Mar 27, 2012Website Offline, No Cached Version Available
when I click the forum link =X
-
View User Profile
-
Send Message
Posted Mar 27, 2012to those asking for help here you may get faster, more detailed help on forum.sk89q.com there is a whole community of people who would love to help!
-
View User Profile
-
Send Message
Posted Mar 26, 2012with the new events stuff i think this is possible. i want the console to run a command every-time a player logs in how would i go about doing this
-
View User Profile
-
Send Message
Posted Mar 26, 2012@Sean_O_Seaghdha
I'm having a similar error with the newest #776-baefa94 build.
Expecting a number, but received "-s" instead;
Compile error in script. Compilation will attempt to continue, however.
from code (snippet inside multiline code)
I believe it has something to do with the new infix notation addition in build #762-f0efb73
I'll have to try that 'run' command.
edit: Works fine with the run command. Shame it doesn't work "tha simple way" =D.
-
View User Profile
-
Send Message
Posted Mar 25, 2012Is there any way to be able to make a command broadcast a message? For example Run something like this.
/test: msg(color(RED)'This is a test') \ <broadcast function>(color(AQUA)'<player> just performed as test')
If there is could someone tell me please? That would be great. Thanks.
-
View User Profile
-
Send Message
Posted Mar 23, 2012Is build #771 broken? I'm getting more errors with things that worked before. E.g.
/sm $ = /brush smooth -n $
Expecting a number, but received "smooth" instead :: CastException:plugins/CommandHelper/config.txt:29
Edit: This works: /sm $ = run(concat('/brush smooth -n ', $))
-
View User Profile
-
Send Message
Posted Mar 22, 2012I'm having a problem with build #771-3c32891. I've had a couple of aliases defined to shorten resizing WorldEdit selections (which I've been doing a lot of lately):
/- $ = /contract $
/+ $ = /expand $
The lastest build gives this compile error for both on load:
2012-03-23 14:06:28 [INFO] Expected command (/command) at start of alias. Instead, found DIVISION (/); Compile error in script. Compilation will attempt to continue, however. :: COMPILE ERROR:plugins/CommandHelper/config.txt:13
I realised it might be a little dubious using operators for command names but on the other hand shouldn't everything contiguous with the / be considered a label for the command?
-
View User Profile
-
Send Message
Posted Mar 18, 2012@psirusa
When running an alias (/beerme) anything on the right of the equals sign is evaluated as an actual command, passed outside of CommandHelper. You are trying to run one alias with another alias, and in order to do that you have to use the call_alias function. Also your use of /msg will work, but will cause the player to message themself, which will look odd. The msg function itself will fix that. Specifically, one of these should solve your problem (I do not know which as I have not had an opportunity to test how it takes the called aliases):
welcome:/beerme = call_alias(/adgroup) \ call_alias(/giftaxe) \ msg('Welcome to the server! Enjoy your free gift.')
welcome:/beerme = call_alias(adgroup) \ call_alias(giftaxe) \ msg('Welcome to the server! Enjoy your free gift.')
@UbuntuFreak
That is horrible syntax. There is such thing as a right and wrong way. psirusa's method was actually correct other than calling an alias in an alias. Commands inline are seperated by a backslash. That '<<<' you wrote is a multiline constructor, more specifically, the closing marker, which is totally null the way you've use it. If you were to use multiline for this alias this would be how you would do it:
welcome:/beerme = >>> call_alias(/adgroup)
call_alias(/giftaxe)
msg('Welcome to the server! Enjoy your free gift.') <<<
-
View User Profile
-
Send Message
Posted Mar 18, 2012@psirusa
I don't know what's wrong, but mabye the /beerme command doesn't work. Try it like this: /beerme = <<< /adgroup /giftaxe /msg player() 'Welcome to the server! Enjoy your free gift'
-
View User Profile
-
Send Message
Posted Mar 16, 2012Could someone please let me know what's wrong with my syntax?
I have permissions set up correctly because the commands work on their own, just not in the larger command I made.... please help.
safe2:/adgroup = runas('~op', /pex user player() group set user)
safe3:/giftaxe = runas('~op', /give player() 278)
welcome:/beerme = /adgroup \ /giftaxe \ /msg player() 'Welcome to the server! Enjoy your free gift.'
-
View User Profile
-
Send Message
Posted Mar 14, 2012@UbuntuFreak
Well considering the major change in api from rb4 to rb6 Its most likely if your not at rb 6 on the server. Its not gonna work.
-
View User Profile
-
Send Message
Posted Mar 14, 2012What is the build for 3.1.2 by any chance? Trying to figure out why i am getting this one error.
Note: I can not update this plugin yet... if the reason it won't work is because of that.
-
View User Profile
-
Send Message
Posted Mar 11, 2012@UbuntuFreak
yes i know why
-
View User Profile
-
Send Message
Posted Mar 10, 20123.3.0 doesn't work by me. Do you know why?
-
View User Profile
-
Send Message
Posted Mar 9, 2012So, I was wondering, how do you make a function that broadcasts the message to the entire server, not just the command user.
Also, Whenever someone else tries to use one of the commands i set, it says this:
Any way of fixing that?