|BuildTools f9eb8014a7 updated userid npm!||2 weeks ago|
|html||1 month ago|
|init||3 years ago|
|test||2 months ago|
|.gitattributes||5 years ago|
|.gitignore||4 years ago|
|Dockerfile||1 year ago|
|LICENSE.md||5 years ago|
|README.md||1 year ago|
|auth.js||2 months ago|
|entrypoint.sh||2 years ago|
|generate-sslcert.sh||1 month ago|
|mineos.conf||1 month ago|
|mineos.js||1 month ago|
|mineos_console.js||1 year ago|
|package-lock.json||2 weeks ago|
|package.json||2 weeks ago|
|profiles.js||1 month ago|
|reset_webui.sh||1 year ago|
|server.js||1 month ago|
|service.js||4 years ago|
|update_webui.sh||1 year ago|
|webui.js||1 month ago|
MineOS is a server front-end to ease managing Minecraft administrative tasks. This iteration using Node.js aims to enhance previous MineOS scripts (Python-based), by leveraging the event-triggering, asyncronous model of Node.JS and websockets.
This allows the front-end to provide system health, disk and memory usage, and logging in real-time.
This has been tested on Debian, Ubuntu, ArchLinux, and FreeBSD and should work on all variants, Linux or BSD.
MineOS is distributed through github and downloads its dependencies with npm.
MineOS requires root-privileges, as the authentication relies on the underlying system's /etc/shadow.
Do not install this atop an existing MineOS system (using the Python-based webui), since the installation location is the same /usr/games/minecraft. Following are steps for installing MineOS on an apt-get based distribution, such as Debian or Ubuntu. These instructions are detailed further (as well as for additional distributions) on the MineOS wiki.
Using an apt-get based Linux distribution:
curl -sL https://deb.nodesource.com/setup_8.x | bash - apt-get update apt-get install -y nodejs git rdiff-backup screen build-essential openjdk-8-jre-headless mkdir -p /usr/games cd /usr/games git clone https://github.com/hexparrot/mineos-node.git minecraft cd minecraft chmod +x generate-sslcert.sh ./generate-sslcert.sh cp mineos.conf /etc/mineos.conf npm install
For hosts using ‘upstart’:
cp /usr/games/minecraft/init/upstart_conf /etc/init/mineos.conf start mineos
For hosts using ‘supervisor’:
cp /usr/games/minecraft/init/supervisor_conf /etc/supervisor/conf.d/mineos.conf supervisorctl reread supervisorctl update supervisorctl start mineos
For hosts using ‘systemd’:
cp /usr/games/minecraft/init/systemd_conf /etc/systemd/system/mineos.service systemctl enable mineos systemctl start mineos
To use the webui as a background daemon:
node service.js [start|stop|restart|status]
To start the webui in the foreground:
On FreeBSD, you will need to mount a Linux-compatible /proc filesystem, i.e., linprocfs, at /usr/compat/linux/proc in order for the web-ui to work. In addition, where CLANG is default for your system, you'll need to build the NPM modules differently:
echo "CXX=c++ npm install" | sh
Mineos-node requires rsync 3.1.x or later, 3.0.x does not have the ability to chown on copy, which is essential for profiles. Depending on your distribution, you may need to build it from source.
See LICENSE.md file.
Create an issue in github or start a post on the MineOS support forums.
The Angular.JS-based web user interface capable of: