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.
Example for coloring text:
Hey guys, I want to make a new command, but i really suck at this so maybe someone here could write it for me. I need a command, lets say /areload what i needs to do is this: - say: Reload commencing, prepare for lagg. - 10 sec delay - actual reload - say: reload complete!
I really hope someone could help me with this
Hi,
I have made a bunch of commands for my server with CH, but only I can perform the commands (Like /su for /mvtp world or /cr for mvtp plotworld etc.) I have tested this on non-ops and ops but no luck. Anyone know of a solution?
JJE990
Forget that, you can download one of his dev builds, which are working fine for me! http://build.sk89q.com/job/CommandHelper/
Broken in 1.6, hoping for an update! :)
18:58:22 [INFO] [CommandHelper] Enabling CommandHelper v3.3.0 18:58:22 [INFO] CommandHelper/CommandHelper 3.3.0 enabled 18:58:22 [INFO]
_/_/_/ _/
_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/ _/ _/ _/_/_/ _/ _/ _/_/_/
_/ _/ _/ _/ _/ _/_/ _/ _/_/_/ _/_/ _/ _/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/ _/_/_/_/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/ _/_/_/ _/_/_/ _/ _/ _/
18:58:22 [INFO] [CommandHelper]: Main file processed 18:58:22 [SEVERE] Something when wrong while trying to load up break_block: 18:58:22 [SEVERE] java.lang.ClassNotFoundException: net.minecraft.server.World 18:58:22 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass0(P luginClassLoader.java:70) 18:58:22 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl uginClassLoader.java:53) 18:58:22 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 18:58:22 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 18:58:22 [SEVERE] at java.lang.Class.getDeclaredConstructors0(Native Metho d) 18:58:22 [SEVERE] at java.lang.Class.privateGetDeclaredConstructors(Unknow n Source) 18:58:22 [SEVERE] at java.lang.Class.getConstructor0(Unknown Source) 18:58:22 [SEVERE] at java.lang.Class.newInstance0(Unknown Source) 18:58:22 [SEVERE] at java.lang.Class.newInstance(Unknown Source) 18:58:22 [SEVERE] at com.laytonsmith.core.functions.FunctionList.initFunct ions(FunctionList.java:40) 18:58:22 [SEVERE] at com.laytonsmith.core.functions.FunctionList.<clinit>( FunctionList.java:28) 18:58:22 [SEVERE] at com.laytonsmith.core.MScriptCompiler.compile(MScriptC ompiler.java:408) 18:58:22 [SEVERE] at com.laytonsmith.core.Script.compileRight(Script.java: 797) 18:58:22 [SEVERE] at com.laytonsmith.core.Script.compile(Script.java:638) 18:58:22 [SEVERE] at com.laytonsmith.core.AliasCore.reload(AliasCore.java: 281) 18:58:22 [SEVERE] at com.laytonsmith.core.AliasCore.<init>(AliasCore.java: 56) 18:58:22 [SEVERE] at com.laytonsmith.commandhelper.CommandHelperPlugin.onE nable(CommandHelperPlugin.java:130) 18:58:22 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug in.java:217) 18:58:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin( JavaPluginLoader.java:457) 18:58:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si mplePluginManager.java:381) 18:58:22 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin (CraftServer.java:282) 18:58:22 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlug ins(CraftServer.java:264) 18:58:22 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.reload(Cra ftServer.java:605) 18:58:22 [SEVERE] at org.bukkit.Bukkit.reload(Bukkit.java:275) 18:58:22 [SEVERE] at org.bukkit.command.defaults.ReloadCommand.execute(Rel oadCommand.java:23) 18:58:22 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo mmandMap.java:189) 18:58:22 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCo mmand(CraftServer.java:523) 18:58:22 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchSe rverCommand(CraftServer.java:512) 18:58:22 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.an(Dedic atedServer.java:262) 18:58:22 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.r(Dedica tedServer.java:227) 18:58:22 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.q(Minecr aftServer.java:477) 18:58:22 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.run(Mine craftServer.java:410) 18:58:22 [SEVERE] at net.minecraft.server.v1_5_R3.ThreadServerApplication. run(SourceFile:573)
Command Helper runs fine, but I'm just wondering what this error means.
@Fodermester
You need to actually read the wiki and do things the right way. This is an EXTREMELY documented plugin.
@Giftand
Yes, I have done it before:
assign(@enable, concat('/pex user ', @player, ' remove -essentials.nick'))
sudo(@enable)
Would you please write som proper documentation!!! Give me the correct and exact syntax on the commands. Be specific guys. I cant guess what you mean from reading the config.txt
What does the \ do? Are you using commas, backslash or new line to seperate commands? Why does a command work in bukket but gives a syntax error when fired by CommandHelper?
Has anybody ever tried to add a permission node using an alias.. seems the plugins cant add fullstops...
The IRC seems to be down...
Sorry guys you were fairly rude on the IRC I found something else. No help documentation on the configuration on the wiki. just put it in and go. You have to do many things in order for it to work like putting in your path to the MC server in the config that are not included.
@jb_aero
Nope, doesn't work with or without the /.
If I just run the command normally, then it works. If I type /runalias /aliasiwanttorun as a player it doesn't work either.
@UbuntuFreak
Well of course join IRC. Then you get to find out about the nifty works-in-progress. :)
@ryguy147
/runalias /myalias
In my experience "runalias myalias" works too. It has to do with how the events this relies on are fired. Although a solution to that may be coming in the next couple weeks.
I've noticed that the aliases I define cannot be run from Command Blocks. Solution?
@WickedTrench
Right now you will need to use dev builds wich you can get at build.sk89q.com
Use the staged API and Event API to use all of CommandHelper's functions
Update?
@jb_aero
I can if you wish. But maybe we are in diffrent time zones what makes it even harder. If you want to add me on Skype or Steam, I can send you my name(s) via mail. Otherwise the IRC will also work of course
@UbuntuFreak
Hi, are you on IRC/the forums? If not, you should really join us so you can stay in the loop.
I remember seeing you on this page helping people before I even started using this incredible plugin, thanks for doing that!