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.
Is it possible to make non-slash alliases?
@frankyW8
Well, since you didn't post the error message, I can't be 100% sure, but it looks like you forgot to escape the apostrophe in l'inscription. Change that to l\'inscription, and try again.
I don't understand why this script don't work :
inscription:/inscription $ = /mail send 'frankyW8' concat(player(),' demande l'inscription au serveur :',' ',$)
Thanks for your help!
@Zephedge
http://forum.sk89q.com/threads/commandhelper-and-mysql.1640/
@techno1312
It sounds like your server doesn't allow large files via FTP? This isn't a CH problem, sounds like you need to get in touch with your web host, or maybe try scp or some other method?
@lukecfairchild
Thanks for your help! :)
@Nuinethir
/flora = run('/mask 6,17,18,31,32,37,38,39,40,81,86,103,106,111')
WTF -
/help = Do you need halp?
0.o
Can someone help me? I have a daddycheese-multicraft server that has a built in FTP. The built in FTP works fine almost 100% of the time, but for some odd reason says this plugin is to large or "Entity to large". Is there any way i can fix this? I really love this plugin for my old server and want it on this one. Thanks techno1312~
Quick question. Trying to use CommandHelper to set up pre-defined masks for WorldEdit, specifically for clearing large tracts of land of any flora before I start landscaping. However, when typing it like this...
/flora = /mask 6,17,18,31,32,37,38,39,40,81,86,103,106,111
...the mask is accepted but doesn't work. If I type it in manually it works fine. Are the commas interfering with the shortcut and is there a way I can make this work? Thanks!
Sk89 wiki states that CH would support reading from MySQL in the future, and has said this for a while. Has there been any progress on this? Thanks.
@Talocitie
You're quoting the actual function call, also, you don't need to run() that, you just call_alias() instead. Updating the relevant snippet:
... closure(call_alias(/command 3)) ...
Also, there isn't really a change log for dev versions, though you can look through the commit history on github https://github.com/sk89q/commandhelper
It may also help in general to be aware of what bugs are currently known, so if you're having the same issue, you might be able to find a workaround, or simply know not to upgrade yet. I'm currently in the process of squashing some of these bugs, though a few of them are going to take a minute to fix, so that's one of the reasons there's no release yet. http://redmine.sk89q.com/projects/commandhelper/issues?set_filter=1&tracker_id=1
Without knowing anything further, most people who have upgraded have had a problem with not quoting symbols (which has always been required, but not enforced [that's my bad, I should have been a dick about it]) so check your scripts for unquoted symbols (+-*%^, etc).
Also, there's a bug relating to commands that have a - in them, so something like
/this-command = /that-command
will be an error now. This is a bug, not a feature, and will be fixed as soon as possible. That could also be your problem. For dev related discussion, it is most helpful if you can get on IRC, as dev builds tend to change quickly, and forum-type discussions aren't usually quite as helpful, though if IRC isn't an option, the forum is a better place than here.
Thanks wraithguard01!
I am still confused though, how would I embed this into a delayed command in the dev builds?
/example = /command 1 \ /say command 2 \ set_timeout(30 * 1000, #This is 30 seconds closure(run('call_alias(/command 3)')) )
This was something I was thinking would work, but it didn't. Also, is there a link where I can view the changes made for the development versions posted on Jenkins? My old config files simply don't work beyond the first command.
Thanks again!
@Talocitie97
Yeah, there's a seperate function for calling aliases vs. normal commands. For instance, the following:
/test = /test
is actually not an infinite loop, because this simply re-calls /test, but as a plugin command, not as a CH alias. If you want to call a CH alias, you can use call_alias:
/test = call_alias(/test) #This is an infinite loop
I am using the latest recommended build, and I cannot seem to use a commandhelper alias, in a commandhelper alias. This might seem redundant, but it would be useful for organization purposes, and for delaying commands within an alias.
/test1 = /say Hello! \ (delay for command /test2)
/test2 = /say Do you require any assistance?
I understand that delays are in the developmental builds, but they don't offer aliases in an alias either.
@Unpluggeddk
Ok. When you try again, back up, then blank out the config.txt, auto_include.ms and main.ms files, and see if it works then. Also, if it's crashing, post the error messages (if any) or generally be a bit more specific with what you mean by "crashing" (that could mean a lot of things). Anyways, report back with your findings, and we'll see if we can't figure out what the problem is.
@wraithguard01
didnt try out the plugin before yesterday... when i installed it and reloaded the server kept chrashing and reloading..
then i deleted the plugin and it worked fine again.. it was very wierd..
i can try again later tonight
@Unpluggeddk
I'm not sure why you would come to that conclusion, I have not heard anyone else have such an issue. Have you tried uninstalling just CH, and seeing if it still occurs? CH doesn't inherently have the ability to restart your server, though it could be indirectly if you set up a script to do so.
This plugin makes my server keep restarting.. :'/
No eroor in console
@Adri075 I'm pretty sure that another plugin has to be causing that.
@UbuntuFreak
Thank you for helping me ! For my other world, the old commands works perfectly, and when i run an aliase, it said: "unknown command, type /help...." How can i give the permission to command helper to run aliase in other worlds ?
Also, every aliases works in the nether and the end worlds...
Thank you, Adrien (French)