TerminalAPI
TerminalAPI - what is this?
First this is a Plugin to control the shell from your server. You can execute commands via Minecraft chat remotely on your server. It works for Linux and Windows servers (vserver/root/localhost) Gameservers will be not supported! With this Plugin you can throw away SSH connections. It also can run .bat/.sh scripts (based on the system you use). It also can be used as an API for other developers. The next feature is the integrated Plugin Downloader and Installer. You can easily install Plugins though your minecraft chat without leaving your Minecraft Tab. The plugin brings the terminal/shell from your computer/server into your minecraft chat.
What is it good for?
Basicly its good to Install Software or manage several servers without leaving minecraft. For instance you can install a ftp server on your server just by typing "/terminal -console sudo apt-get install vsftpd" (linux) or you can execute a simple command in windows like "/terminal -console start www.google.de" This is just a sample that opens google. But you can do more complex things too, like executing your own scripts. You can drop your scripts in "plugins/TerminalAPI/scripts". You can run only .sh or .bat scripts with "/terminal -run <scriptname (without ending)>
Safety
The plugin can not be used by normal OPs or people who have the permission to do that. You have to add their names also to the config. Its just for safety, that not every OP have access to your whole server system.
TerminalAPI Summary
Commands
- /terminal -help - Shows help page
- /terminal -run <scriptname> - Runs script out of this folder: plugins/TerminalAPI/scripts
- /terminal -console <command> - Displays console with executed command
- /terminal -setsystem <Windows/Linux>
- /terminal -installplugin <Download Link (have to end with .jar)> - Download Plugins from http web server
Permissions/Security
- Add permission "terminalapi.use"
- Add User name to Config.yml
The API and how to use it
When you want to use the API Click http://dev.bukkit.org/bukkit-plugins/terminalapi/pages/the-api/
config.yml file
#System must be Windows or Linux system: 'Linux' #List all Players who have access to the Plugin #write like this: #================ #access: # - Minecraftname1 # - Minecraftname2 # usw... #================ access:
Wow this is a genius idea!! Downloading now!