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.
Hi, I'm having trouble getting the player name or UUID while using command blocks.
I've seen people refering to "/runalias /command @p" but both the alias and the runalias return the same error :
The specified player (@p) is not online
The alias I've used for the tests :
*:/name $player = >>>
string @a = player($player);
run('/say hello '. @a);
<<<
The commands I've used in the command blocks :
/name @p
/runalias /name @p
Seems like the reference from the @p of Minecraft isn't passed, it's stays as a string. What am I missing ?
/spawn /s
I'm a little stuck. I've got the following set up which basically disables left/right click within a set region
bind(player_interact, null, array(item: data_values(PROJECTE_ITEMPE_VOLCANITE_AMULET)), @event, if(array_contains(sk_regions_at(ploc()), 'spawn')) { cancel() msg(color(red).'Sorry Volcanite Amulet is disabled in spawn!') } )
What i am trying to do however is prevent the use of the R key or "if (shootProjectile(player, stack)) "
These items essentially fire a projectile which damages blocks, and i want to try and hard disable the whole item completely from any presses. Any ideas what to do in that situation?
I keep getting commandhelper null in chat! wtf?
@41Plock
I recommend updating CommandHelper to a version of the build server here:
http://builds.enginehub.org/job/commandhelper?branch=master
@EvandroCJ
CommandHelper does alot, but the amount of resources it takes up depends on your usage of it.
@bluelightning001
I'm not sure I follow what you want. Can you be a little more clear?
@roracle
Yes, the API for this can be found under "Economy" here:
http://wiki.sk89q.com/w/index.php?title=CommandHelper/Staged/API&cb=6043
@verservarlin
I suggest the often-updated build versions of CommandHelper found here:
http://builds.enginehub.org/job/commandhelper?branch=master
Every time I turn around commandhelper breaks. It has not been updated in ages and I need an alternet plugin that will do the same thing as command helper as far as aliases go. Can anyone recommend a good one or if this plugin has been updated can you point me to the download page.
Oh yeah
Before I delve into this plugin, I'm trying to accomplish one thing. Just one thing and that's all, and it is very simple to explain, but takes some understanding:
MCJobs, mcMMO, SwornRPG, and many others, do not allow for payouts or paybacks from a specific iConomy account (a central server account). What I need is a method of doing such a thing. Can this be accomplished with this tool?
Hi, I need some help :) Is there anyway I can make an alias /eco and /e addpoints together after the money is taken from the person's balance, I want to make sure they can't exploit :)
The commands I wanted to alias are:
/bp 1 - /eco take player() 1000 \/enjin addpoints player() 1 /bp 50 - /eco take player() 50000 \/enjin addpoints player() 50 /bp 100 - /eco take player() 10000 \/enjin addpoints player() 100 /bp 1000 - /eco take player() 100000 \/enjin addpoints player() 1000
Any help would be grately appreciated :)
Does anyone know if this plugin uses too much resources from the machine? The last version have 11MB :o
@41Plock
Don't use semicolons to end your lines. It works without semicolons (and newlines)
I wanted to change the /warp command from CommandBook so that you have to wait 10 seconds before it teleports you. And it should be aborted when you move or get damage.
So this is the code i wrote:
# users need permission commandhelper.alias.go
# teleport to a specific warp after 10 seconds (from CommandBook)
# abort teleport when player moves or gets damage
go:/go $destination = >>>
@endTime = time() + 10000;
@health = pinfo(player(), 5);
@abort = 0;
while(time() < @endTime || @abort == 1,
if(get_pwalkspeed(player()) != 0){
@abort = 1;
};
if(pinfo(player(), 5) < @health){
@abort = 1;
}
)
if(@abort == 1){
msg('Teleportation aborted!');
}else {
/warp $destination;
}
<<<
But the Compiler stops at while and says this function does not exist.
Do I need to include libraries, etc somewhere?
For further information:
* I have CommandHelper 3.3.0 and Bukkit Beta 1.7.2 R0.2
* I simply added the code above to the config.txt file and did /reloadaliases
* Yes, it says the version 3.3.0 does not work with current builds, but the snapshot 3.3.1 wasn't compiling at all and somebody in the comments also said, downgrading helped him.
* Yes, I know that I should use the forums for faster support. So I will also try this.
Does anyone have an idea what I could do? Thanks very much!
If anyone wants it, I made a script for setting any block as your helmet.
And of course, you can change the permissions nodes and anything else you want. Here's the pastebin link for the script.
Hey I am trying to use the latest dev version of command helper, and I get this errorhttp://camelotmc.net/wp/sever-icon/latest.logSorry for had to post it on my own site, because it was too long for any other sites to handle.Fixed by downgrading to an older version of CH@Giftand
You need to close your multiline by adding "<<<"
Just to be clear to anyone reading the comments, CommandHelper works perfectly fine with Craftbukkit 1.7.2 (as well as Spigot) and it's always being updated. Remember to update to the appropriate builds first. http://builds.enginehub.org/job/commandhelper/last-successful/?branch=master
As the description above states, for faster/better/any support, use the forums or go on IRC. http://forum.sk89q.com/forums/commandhelper.20/