Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New to Pocket Mine - Fell misled to how easy it would be...

Comments in 'General Discussion' started by Spaldam, Mar 27, 2016.

  1. Spaldam
    Offline

    Spaldam New Member

    Joined:
    Mar 27, 2016
    Posts:
    9
    Minecraft User:
    Spaldam
    I'm running a Linux desktop at home, and thought, wouldn't it be nice to put a server on here for my kids to use, so they could get into a world at any time, and not rely on someone else's device to be on for them to be in the same world.

    I find Pocket Mine, and it's main page says, just check a few dependencies, which I thought I did, and download it's package using "wget" and then "start[.sh]" it, and put in a few parameters, and your there.

    I do all that, it acts like it worked, but it's not showing up on the MCPE app. I'm like, what's wrong. I go through my system making sure nothing is stopping me, but then I find this forum, and start reading about downloading additional things and I'm like, where's the official instructions on this? I can't find them, so I stumble through a few posts and finally do the following to get it working (which I hope helps someone else new to Pocket Mine with getting their server going):

    wget -q -O - http://get.pocketmine.net/ | bash
    ./start.sh
    Can't find php7 (we'll duh, you came with php5 instead).
    vi ./start.sh
    [replace php7 with php5]
    ./start.sh
    [answer questions, seems to be up and running, but find it doesn't actually work]
    stop
    [do a bunch of other pointless stuff that get's me nowhere]
    wget -q -O PocketMine-MP.phar https://bintray.com/artifact/download/pocketmine/PocketMine/PocketMine-MP_1.6dev-8_a6cd526e_API-2.0.0.phar
    [Nope, out-dated post, didn't work - more digging around to find the right one]
    wget -q -O PocketMine-MP.phar https://bintray.com/artifact/download/pocketmine/PocketMine/PocketMine-MP_1.6dev-23_6ba0abf5_API-2.0.0.phar
    [That works - probably won't in the near future - , but now it's complaining about wanting php7 again]
    [more searching, and then... O, look and compile script...]
    wget -q -O complie.sh https://raw.githubusercontent.com/PocketMine/php-build-scripts/master/compile.sh
    sudo ./complie.sh
    [wants autoconf - thought I already had it, but ok]
    sudo apt-get install autoconf
    sudo ./complie.sh
    [wants libtool - again thought... well what ever...]
    sudo apt-get install libtool
    sudo ./complie.sh
    [yeah, ok bison]
    sudo apt-get install bison
    sudo ./complie.sh
    [g++?]
    sudo apt-get install g++
    sudo ./complie.sh
    [Hey it did a bunch of stuff...]
    ./start.sh

    And now it works! If I had a better idea of what all I actually did, and what actually worked and what was unnecessary, I'd put it into a more formal document on how to get PocketMine to work on an Ubuntu 14.04 desktop, but it's late and I need to go to bed now.

    Thanks,
    - Spaldam.com

    P.S. now to figure out how to get my MCPE world, that my kids love so much, imported into the server. The instructions I found are probably out of date as they don't seem to work.
    Last edited: Mar 27, 2016
  2. Intyre
    Offline

    Intyre Staff Member PocketMine Team

    Joined:
    Aug 24, 2013
    Posts:
    118
    Minecraft User:
    Intyre
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    universal_install_script.png

    Maybe we should loop this script with each word in the error ouput.
    applqpak likes this.
  4. Spaldam
    Offline

    Spaldam New Member

    Joined:
    Mar 27, 2016
    Posts:
    9
    Minecraft User:
    Spaldam
  5. Spaldam
    Offline

    Spaldam New Member

    Joined:
    Mar 27, 2016
    Posts:
    9
    Minecraft User:
    Spaldam
  6. KenyGamer
    Offline

    KenyGamer New Member

    Joined:
    Mar 8, 2016
    Posts:
    9
    Minecraft User:
    kenygamer
    Read the installation.
  7. DC4CODE
    Offline

    DC4CODE Active Member

    Joined:
    Nov 19, 2015
    Posts:
    64
    Minecraft User:
    dxdsc9349
    This is a 4-Month old thread..

Share This Page

Advertisement