1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Installing a PMMP on Debian\vps

Discussion in 'Help' started by Juqxi, Feb 15, 2017.

  1. Juqxi

    Juqxi Spider Jockey

    Messages:
    33
    Hi, in this tutorial I will explain how to setup a PocketMine server on your VPS.
    If you are a newbie about that, I suggest you to learn for understanding this tutorial.
    NEEDED THINGS:
    1.SSH PROGRAM (PuTTy is good program) or console to your vps
    2.SFTP/FTP PROGRAM(YOUR DECISION I RECOMMEND WinSCP)
    3.ABOUT 20 MINUTES TIME
    4.HAVE MINIMUM ONE FINGER TO COPY CODE




    Run the following commands:
    Code:
    Code:
    apt-get update
    
    Code:
    [CODE}
    apt-get install gcc g++ make automake libtool autoconf bison
    [/CODE]
    Now create an account to dont have server on root:
    Code:
    Code:
    sudo adduser pocketmine
    
    Then say:
    Code:
    Code:
    logout
    
    now open your ssh program and login using your login and password what u just created:
    When it done do that to create a folder for your server:
    Code:
    mkdir <type your folder name>
    cd <folder name which you just created>
    
    Code:
    Code:
    wget -O - get.pmmp.io | bash -s - -t poggit.pmmp.io/get.pmmp -v custom
    
    That will download and install PocketMine with PHP7 in your VPS. It will take about couple of minutes.


    All is finished, to run your server you need to:
    Code:
    Code:
    ./start.sh
    
    To stop it, just type in the console:
    Code:
    Code:
    stop
    
    If you want to keep the server 24/7, you need to install "screen":
    Code:
    Code:
    apt-get install screen
    
    And then , you need to open the start.sh with screen
    Code:
    Code:
    screen ./start.sh
    
    You can close the console window if you run:
    Code:
    Code:
    Ctrl A + D
    
    If u want back to console of the already running server just say:
    Code:
    Code:
    screen -r
    
    Optional, if you want to the server reboot when running "stop" Like in some softwares Type that:
    Code:
    Code:
    apt-get install nano
    
    Code:
    Code:
    nano start.sh
    
    Then use ur arrow and change in LOOP, "no" to "yes" and you save changes with Ctrl X (to confirm type "y").
    Now download latest PMMP.phar from https://poggit.pmmp.io/get.pmmp
    Then u can use for example WinSCP or other sftp programs and login into your account what u created
    now u will need to enter the folder which u created and replace the PocketMine-MP with that what u just download
    Hope me help anyone :)
     
    Last edited: Feb 15, 2017
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    why again duplicated threads?
     
  3. Juqxi

    Juqxi Spider Jockey

    Messages:
    33
    sry its an error btw can u look at the stone drop plugin help ? thank u
     
  4. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    I don't think this thread is necessary at all. Especially when there is a "Get PMMP" Tab at the top of the page.
     
  5. StuntzCo

    StuntzCo Baby Zombie

    Messages:
    197
    Do you mind if i copy this tutorial and put it in the description of a youtube video will give full credit
     
  6. Christopher

    Christopher Silverfish

    Messages:
    19
    You need 2 fingers for the mouse
     
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Nope, works with one
     
    Juqxi likes this.
  8. Juqxi

    Juqxi Spider Jockey

    Messages:
    33

    :)
     
  9. Juqxi

    Juqxi Spider Jockey

    Messages:
    33
    If u want u can do that :)
     
  10. Juqxi

    Juqxi Spider Jockey

    Messages:
    33
    When i was newbie on vps im searching on forums so i think that can be useful
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.