Skip to content

Init script for Minecraft, Bukkit, and Spigot servers. Sponge support coming soon.

Notifications You must be signed in to change notification settings

Livecraft-Server/minecraft-init

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Init script for various Minecraft servers

A init script that, apart form starting and stopping the server correctly, has many extra features for running a vanilla Minecraft, Spigot, or Bukkit server.

Features

  • Support for automated server management
  • Easy updates with Spigot BuildTools support
  • More to come soon

Requirements

git, java, screen

Note: This currently does not work with OpenJDK 9.0.

Access server console

service minecraft console

Exit the console

Screen:	CTRL+A D
Byobu:	CTRL+A A D

Setup

  1. Symlink the minecraft file to /etc/init.d/minecraft, set the required premissions and update rc.d.

     sudo ln -s ~/minecraft-init/minecraft /etc/init.d/minecraft
     chmod 755  ~/minecraft-init/minecraft
     sudo update-rc.d minecraft defaults
    
  2. Edit the variables in config.example to your needs and rename it to config (leaving it in the same folder as the original minecraft script)

For more help with the script, run

/etc/init.d/minecraft help

About

Init script for Minecraft, Bukkit, and Spigot servers. Sponge support coming soon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%