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.
Guys, when we can use again player_chat event ? :(
EDIT
With build 1042 I can chat but can't cancel event.
@Gunnerrrrr
I think you accidentally a word there. What are you wanting?
@Master__Jonny
What's broken?
Could you guys please fix the logging functions? I wanna log my stuff! :D
How can i make it so the essentials motd on startup?
@MariuszT Ya, you can't intercept player_chat on current builds. I had to comment out my mute function.
With build #976 I can't type anything on chat. It's looks like every message is canceled by CH. I have script with player_chat event and it was working before. Now, on build #958 it's working but event it isn't canceled when it should be.
1.3 Update:
The latest dev builds seem to be reasonably stable, so feel free to try one of the dev builds found on build.sk89q.com. I was not expecting to have to do a release soon, so there are still a few critical bugs that may affect several people, so let me know if you get stuck in a rock and a hard place, and I can see how I need to prioritize bug fixes and such. Most of the known bugs have some sort of workaround, so it should be possible to update regardless.
@Cackbone
does not work
This version works fine with Bukkit 1.3.1. The error is a chat listener, but that isn't dramatic.
When do you think that the update will be ready?
Does this work for R4.0 and higher?
@Antruxit @RonnChyran
Thank you very much :)
@UbuntuFreak @Antruxit The section sign doesn't work very well for me, to use formatting, update to a dev build from http://build.sk89q.com/job/CommandHelper/lastStableBuild/ and then just use color(italics) or etc.
@UbuntuFreak
Use § instead of & like
Is it possible to use bold, italic and scrolling text (&k) in CommandHelper?
@therealduckie Use this
I'll guide you through it so you know what is what and how to do it yourself
I find that the wiki and the IRC channels are a great help when coding aliases.
Ron, here is one example of my code:
/mumble = msg(color('light_purple'), 'Mumble Server info:') msg(color('white'),'Label: mcmagic - Address: ADDRESS HIDDEN - Port: 64738 - There is no password - Username: use your Minecraft name') msg(color('red'), 'Download Mumble here: http://mumble.sourceforge.net/')
So by your definition I should be able to do:
commandhelper.alias.mumble
In PEX and users will have permissions to use that command, right?
@therealduckie Give it a label
And then you would give your users the permission commandhelper.alias.info
Or you could just give the permission commandhelper.function.msg
Hey Wraith - Duckie here.
Forgive my inability to code, but is there a way to be able to allow users to use a command without being op'ed or is that permissions/PEX?
Looking at this old code from Creative it gave users the ability to give themselves items by pretending the command was sent by an op:
creative:/i $data [$qty=1] = runas('op', sconcat(/give player() data_values($data) $qty))
My issue is this: I want users to be able to input something like '/info' and get a /msg CONTENT HERE but the way I have it now it tells them they do not have permission to perform that function.
I also worry giving users a blanket allowance to the permissions nodes on this would give them access to things like /thor and such.
Thanks for any help you can offer...and THANK YOU for updating this and keeping it going.
Cheers
@Byamarro
Yep, but not in config.txt - you bind to player_chat and check for the "command" there.
Simple example:
bind(player_chat, null, null, @event, if(parse_args(@event['message'])[0] == 'herp', msg('Derp!') ) )
(Disclaimer: written on iPhone, may not function OotB!)