:evergreen_tree: Admin Web GUI Server Wrapper for Vanilla Minecraft Servers
AdminCraft is an open source Administration Web GUI Console for administering a
Linux Minecraft Server. Admincraft is still in early development.
AdminCraft provides the following features:
Assuming you have at least Python 2.6+ installed and the minecraft_server.jar
downloaded, please follow the steps below:
If not installed already, please install sqlite3 and python-setuptools:
$ sudo apt-get install sqlite3 python-setuptools
Clone AdminCraft.git:
$ git clone git://github.com/alfg/AdminCraft.git
Run setup.py to install dependencies:
$ python setup.py install
Open config.ini and set the required variables.
Copy the Minecraft daemon to /etc/init.d/
$ sudo cp scripts/minecraft /etc/init.d/
Configure USERNAME, WORLD, MCPATH, BACKUPPATH in
/etc/init.d/minecraft in the text editor of your choice
$ sudo vim /etc/init.d/minecraft
Set required permissions to the Minecraft daemon:
$ sudo chmod a+x /etc/init.d/minecraft
Run update-rc.d to create sym links:
$ sudo update-rc.d minecraft defaults
Now finally, run run.py:
$ python run.py
Or to run in the background:
$ nohup python run.py &
If you wish to view the nohup output:
$ tail -f nohup.out
Using your preferred web browser, open 0.0.0.0:5000 (or your server’s hostname:5000)
Great success! (I hope)
AdminCraft runs under Flask’s built-in server with debugging and auto-reloading disabled by default. You can turn this on by changing DEBUGMODE and AUTORELOADER to “True” in config.ini. It is recommended to disable debugging if deploying to an externally accessible server.