Tuesday, 2017-09-26Welcome, Guest! | RSS
» » How to Start a MCPE Server on Linux Debian & Ubuntu Nukkit

How to Start a MCPE Server on Linux Debian & Ubuntu Nukkit

2017-03-28, 22:02:52
Rating: 3.3/3
How to Start a MCPE Server on Linux Debian & Ubuntu Nukkit
Create and run a MCPE server on Linux is one of the most simple and intricate installations. Simply enter a few commands to load the Server Build and ready. If you have purchased or want to purchase hosting and then install it on a multiplayer server Minecraft PE, then this guide will detail how this is done.

Our guide will be divided into two parts, because it can be installed both on Linux Ubuntu both Linux Debian. Both of these methods are very simple and does not take much time and effort.

Start Server on Linux Debian


  • Remove old versions of Java (If installed earlier)

  • Code
    sudo apt-get purge openjdk* && sudo apt-get autoremove

  • Download and install Java 8

  • Code
    echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list

    Code
    echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list

    Code
    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886

    Code
    apt-get update

    Code
    apt-get install oracle-java8-installer

  • Download and install Nukkit Server Build

  • Code
    wget http://ci.mengcraft.com:8080/job/nukkit/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar

    Code
    java -jar nukkit-1.0-SNAPSHOT.jar


    If someone will have problems with the encoding (it will appear the signs "?"), we recommend that to start the server like this:
    Code
    java -jar -Dfile.encoding=UTF8 nukkit-1.0-SNAPSHOT.jar nogui


    Start Server on Linux Ubuntu


  • Remove old versions of Java (If installed earlier)

  • Code
    sudo apt-get purge openjdk* && sudo apt-get autoremove

  • Download and install Java 8

  • Code
    sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26 && echo "deb http://www.duinsoft.nl/pkg debs all" | sudo tee -a /etc/apt/sources.list.d/duinsoft.list && sudo apt-get update && sudo apt-get install update-sun-jre

  • Create a folder in /root/server
  • Move the nukkit-1.0-SNAPSHOT.jar to the folder "Server"
  • Go to the folder and create a file start.sh
  • Edit the file by adding:
    Code
    java -jar nukkit-1.0-SNAPSHOT.jar
  • Save the file and give it the rights 755
  • Go to the folder and start the server
    Code
    cd server./start.sh


  • Additional Materials


    Nukkit Server Build
    Nukkit Core API
    How to Start Server on Android?
    How to Start Server on Windows?

    Added by: ^^ADMIRALL^^ | Views: 2137

    Related Materials

    Total comments: 0
    avatar