Ascii Bukkit Menu
它是什么?
Ascii Bukkit Menu 是一款 Bukkit 服务器管理器。使用 bash 编写,旨在简单且健壮。应在大多数发行版上开箱即用。专门设计用于通过 SSH 会话在无头服务器上运行。
功能:
- 使用 screen 保持服务器会话在后台运行,可随时重新连接。
- 启动/停止/重启命令。
- 直接向 Bukkit 服务器发送命令。
- 自动将 Bukkit 服务器更新至最新的推荐版本。
- Bukkit 服务器日志轮转。每次启动时轮换 server.log,保留最后 20 个压缩文件。
- 如果使用 Ramdisk(内存盘),会自动在 ramdisk 和本地磁盘之间复制世界文件。然后运行 md5sum 以验证数据的一致性。
- 使用非交互模式在开机时启动和停止服务器。
查看:
截图 - 已更新为 0.2.8
下载:
最新版本 0.2.8
依赖项:
- Java 运行时环境
- bash
- screen
- 必须支持垂直滚动。(基于 Debian 的系统已内置此功能)
- Arch 用户可尝试此 软件包
- RHEL/CentOS 请使用 Git 源码 | 教程
- grep
- wget
- zip / unzip
- logrotate
- md5sum(可选)
- sysstat 工具(可选,用于查看网络使用情况)
- python(可选)
安装:
自动魔法方法:
这将下载并安装 ABM,然后运行交互式脚本来设置配置。
无需手动编辑配置文件。
只需将以下内容复制并粘贴到 bash shell 中即可。
wget http://dev.bukkit.org/media/files/667/24/install.sh && chmod +x install.sh && ./install.sh
传统方法 - zip:
wget http://dev.bukkit.org/media/files/667/23/abm-0.2.8.zip
unzip abm-0.2.8.zip
实验性构建 - git:
不适合胆小的用户。
git clone https://user77@github.com/user77/Ascii-Bukkit-Menu.git
用法:
要使用 ABM,只需切换到您安装它的目录并运行 abm.sh 脚本即可。
cd Ascii-Bukkit-Menu
./abm.sh
您还可以在非交互模式下运行。这可以添加到启动脚本中。
目前如果您正在使用 ramdisk,则无法正常工作。
./abm --start
./abm --stop
帮助:
首先检查您是否具备上述列出的正确依赖项。
确保您的用户对 Ascii-Bukkit-Menu 目录具有 +rx 权限。
chmod -R u+rx Ascii-Bukkit-Menu
chown -R you:yourgroup Ascii-Bukkit-Menu
问题:
在不支持垂直滚动的 screen 中无法工作。
这仍然是一个正在进行中的项目。因此,如果您遇到错误,请提交工单。
点击这里。
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:
Latest Release 0.2.8
Dependencies:
- Java Runtime Enviroment
- bash
- screen
-Must have vertical support. (This is baked into debian based systems)
-Arch users try this package
-RHEL/CentOS use Git Souce | HowTo
- grep
- 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://user77@github.com/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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧