Ascii Bukkit Menu
Ascii Bukkit Menu
What is it?
Ascii Bukkit Menu is a Bukkit server manager. Written with bash, designed to be simple and robust. Should work out of the box on most distros. Specificly designed to run on a headless server via a ssh session.
Features:
- Uses screen to keep server session running in background, can reconnect at anytime.
- Start/Stop/Restart commands.
- Send commands directly to bukkit server.
- Automatically update Bukkit server to latest recommended.
- Bukkit server log rotation. Rotates server.log on each start, keeps last 20 compressed.
- If using Ramdisks, will automatically copy worlds between ramdisk and localdisk. Then runs an md5sum to verify consistency of the data.
- Start and Stop server on boot using non-interactive mode.
See:
ScreenShots - Updated for 0.2.8
Download:
Dependencies:
- Java Runtime Enviroment http://java.com/en/download/manual.jsp
- bash http://www.gnu.org/s/bash/
- screen http://www.gnu.org/s/screen/
-Must have vertical support. (This is baked into debian based systems)
-Arch users try this package
-RHEL/CentOS use Git Souce | HowTo
- grep http://www.gnu.org/s/grep/
- wget http://www.gnu.org/s/wget/
- zip / unzip
- logrotate
- md5sum (optional)
- sysstat utilities (optional to see network usage)
- python (optional)
Install:
AutoMagic Method:
This will download and install ABM, then run an interactive script to setup the configuration.
No need to edit config manually.
Simply copy and paste the following to a bash shell.
wget http://dev.bukkit.org/media/files/667/24/install.sh && chmod +x install.sh && ./install.sh
Traditional method - zip:
wget http://dev.bukkit.org/media/files/667/23/abm-0.2.8.zip unzip abm-0.2.8.zip
Experimental Builds - git:
Not for the faint of heart.
git clone https://[email protected]/user77/Ascii-Bukkit-Menu.git
Usage:
To use ABM simply change to the directory you installed it to and run the abm.sh script.
cd Ascii-Bukkit-Menu ./abm.sh
You can also run in non-interactive mode. This can be added to startup scripts. Currently doesn't work if you are using a ramdisk
./abm --start ./abm --stop
Help:
First check to see you have the correct dependencies as listed above.
Make sure your user has +rx permissions to Ascii-Bukkit-Menu directory
chmod -R u+rx Ascii-Bukkit-Menu chown -R you:yourgroup Ascii-Bukkit-Menu
Issues:
Dosen't work on screen without vertical support.
This is very much a work in progress. So if you come across a bug, please open a ticket.
here.
I stole your idea of using screen to add a scheduler to my script, I hope that doesn't bother you! ;)
@TnTBass
Any suggestions on how to set it up to work well with ABM?
There's a few different ways I've seen from searching around.
@MrDragon7656
You need to setup the ramdisk itself. ABM just provides a method to copy your worlds on and off of your ramdisk when you start and stop ABM.
Oh bleh, my ticket was closed when I had one last question.
For the ramdisking, do I need to have any prior setting up before I say Y to copying worlds over? Or is this handled by Ascii itself?
@TnTBass
it always says it cant find something when i reopen it, the command you gave me at least brings back the console, thats it though.
is there a way to make this not edit he server log? each time i load it it empties the log, and i dont want that. i cant seem to find the setting anywhere.
@muggerfugger
ABM by default will reconnect to the same screen session. However, if you need to, you can connect via: screen -r bukkit-server
I wish the search function on here worked better is there a way to resume ? i know the program is still open cuz the server is still up, and it wont let me reopen it if it already opened using the ./abm.sh
so is there a way to resume an existing abm? Info doesnt say.
for example i could awalys resume screen with screen -r or something.
@user777
Got to the ./configure stage, getting No such file or Directory, I can see a configure.in file but it's not configuring so I can't proceed to the make and so on steps.
EDIT: Or for once in my existence I could learn to read seeing as the information is there.
@Tsanas For screen with vertical support on EPEL based systems.. Try the following as root:
@Tsanas
Fedora 14 is a little old. Have you tried a newer version? Are you sure you are on the latest screen version? If you are, you can try adding in this patch: http://fungi.yuggoth.org/vsp4s/
@TnTBass
I am using fedora 14 and Im really, really new to linux.
I have installed gnu screen, and I can run the ABM, but as the screen I have installed, doesnt have vertical support, it isnt working. :(
I have read something about patching the screen before installing, to get vertical split, but I cant seem to figure it out >:(
@Tsanas
You will know right away as soon as you try. We've only ran into issues with people using Arch Linux so far.
What distro are you using?
Dependencies: screen -Must have vertical support.
Could you provide some info on how to get that? I have no idea how to get vertical support.
i forgot about screens.. sorry... but now all is fixed... thanks :)
@BONNe1704
Try ABM 0.2.7.
If you are still having troubles, please open a ticket and post a screenshot.
@BONNe1704
Can you give me a screenshot of what you are experiencing. ABM relies on the default plugins command to get that data, so perhaps a plugins has altered that command? If so, I just need to see what you're seeing, and we can look to getting that fixed.
@TnTBass
it still spam all time my plugin list :D it is anoying
@BONNe1704
0.2.6, which was just released, addresses that plugin command being spammed. It also comes with a lot of nifty cool things and other bug fixes.
@almicklew
agree... costum shutting down and restarting messages would be useful...
also it is possible to create autorestart ??
and in my log file all time is spaming pluginlist :@ is it normal??