| bukkit-log.xml | ||
| craftbukkit.conf | ||
| craftbukkit.sh | ||
| craftmin.sh | ||
| README.md | ||
Craftmin
A collection of scripts to configure and manage a CraftBukkit Minecraft server.
Files
| Filename | Description |
|---|---|
craftbukkit.sh |
Init script |
craftmin.sh |
CraftBukkit management script |
craftbukkit.conf |
Configuration file |
bukkit-log.xml |
Server log configuration |
Requirements
- tmux
- sysvinit (systemd is currently not supported)
- sudo
Setup
-
Edit
craftbukkit.confto your liking -
Install the init script:
mv craftbukkit.sh /etc/init.d/craftbukkit chmod 755 /etc/init.d/craftbukkit update-rc.d craftbukkit defaults -
Install
craftmin.sh:mv craftmin.sh /usr/local/bin/craftmin chmod 755 /usr/local/bin/craftmin -
Move the configuration file in place:
mv config /etc/craftbukkit.conf
Usage
craftmin {console|backup|full-backup|wl-add|wl-rm}
Command description:
- console: Connects to the tmux console
- backup: Creates a world backup
- full-backup: Creates a full backup
- wl-add [USER]: Adds [USER] to the whitelist
- wl-rm [USER] Removes [USER] from the whitelist
- --help, -h: Shows a short help message