BukkiSH
This plugin supports a command shell environment to your Bukkit server.
What does it do?
Once activated your chat will be caught and will either be forwarded to the active task or will be executed as a command line.
How to use it?
Type /shell to enter the shell mode. If you type /shell again you leave the shell mode. Commands won't be caught. If you are in shell mode and you type in "test" for example you have to have a "test.jar" or a "test" file in the bin-directory of BukkiSH.
Planned features
I also want to provide the ability to make shell scripts and command line features like piping.
How to program a BukkiSH program?
I'm working on this but it will be like this:
public class YourProgram extends BukkishTask { public YourProgram(LinkQueue lq, Session ses, String cmdLine) { super(lq, ses, cmdLine); } public void run() { // Your code here... finish(); // Last method call to end the task } }
WARNING! BukkiSH is single task. If a program doesn't call the finish() method the session will freeze
Further mechanisms will be introduced later. See here for a doc and here for packages
Preinstalled programs
cmd <Command>
Dispatches a bukkit command
bg <BukkishCommand>
Starts a BukkiSH task in background
hello
A test program
load [package]
Loads a package from the /pkg directory
system
Displays loaded commands
Comments