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

Setting up a server.

Discussion in 'Help' started by Tyranex, Oct 12, 2017.

  1. Tyranex

    Tyranex Creeper

    Messages:
    4
    Hi.

    Sorry if this is a bit of a pain, but I honestly can't wrap my head around the instructions, they're really unclear to me and I feel like it skips steps or something. I'm trying to make a better together server for me and my friends, and I've no idea on how to even start, I've followed the documentations instructions to the best of my ability, but start.cmd just ends up opening then closing instantly.

    Can someone give me an easier to follow guide on how to do this maybe? Keep in mind I've never really used Pocketmine before. Sorry for any inconvenience and stuff, I'm not used to using forums at all and couldn't find help elsewhere.
     
  2. Irish

    Irish Baby Zombie

    Messages:
    156
    GitHub:
    irishpacks
    Open Command Prompt, cd(change directory) to your folder with the start.cmd in it and type in "start.cmd"

    or shift and right click in File Explorer in the directory with start.cmd(your Pocketmine folder) in it and there should be an option called "Open command window here" and type "start.cmd"


    After there, you should be able to see what it says. Try to fix it via logic first, but if you can't, just report the error here.
     
  3. Tyranex

    Tyranex Creeper

    Messages:
    4
    Every line returns as "is not recognized as an internal or external command."

    I'm not sure why this'd happen, sorry.
     
  4. Irish

    Irish Baby Zombie

    Messages:
    156
    GitHub:
    irishpacks
    Were you in the correct directory?
     
  5. Tyranex

    Tyranex Creeper

    Messages:
    4
    I'm not sure, like I said, I'm not entirely sure how to set this up right, since the tutorial wasn't exactly easy to follow.
     
  6. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    It would help if we knew what OS you are using... I'll assume it's windows because you typed start.cmd, and hope I'm not assuming too much, in which case try and provide screenshots and copy/pasted console output (in a code spoiler for readability).
     
    Last edited: Oct 12, 2017
  7. Irish

    Irish Baby Zombie

    Messages:
    156
    GitHub:
    irishpacks
    I have a few questions if we're going to resolve this.

    1. Do you have Composer and PHP installed? If not, it'll be inside the binaries that you are supposed to download to run the server.
    Here's a link if you need it: http://pmmp.readthedocs.io/en/rtfd/links.html#prebuilt-php-binaries-and-related-packages

    After downloading the binaries needed to run the server, refer to this post on how to install Composer: https://forums.pmmp.io/threads/pocketmine-mp-is-now-using-composer.3755/

    2. Did you download from source or a phar? If you just cloned it from Github and didn't do it recursively(didn't download all the submodules included), it won't run.

    So here's a link to download the phar if needed: http://pmmp.readthedocs.io/en/rtfd/links.html#downloads

    If you're unwilling to do so, download the SPL and Raklib folders needed to run the server(you'll see them): https://github.com/pmmp/PocketMine-MP/tree/master/src

    Or if you have Git/Git Shell installed, follow one of the two steps below:

    1. If you already have it cloned, you can download the submodules via the command in Git Shell:
    Code:
    git submodule update --init --recursive
    2. If you don't have it cloned, type this command:
    Code:
    git clone --recursive https://github.com/pmmp/Pocketmine-MP
     
    QuiverlyRivalry likes this.
  8. Tyranex

    Tyranex Creeper

    Messages:
    4
    Windows 10 is right. Console output wouldn't matter since it's literally just "is not recognized as an internal or external command."

    I'm.. Not sure if I follow fully. I don't see references to Composer in that link you send.

    Think of me as someone who has literally no idea of what's going on. I've pretty much forgotten the instructions as they didn't help me no matter how closely I follow them.

    I don't really get how Mac and Linux get a installer but Windows doesn't, smh
     
  9. Irish

    Irish Baby Zombie

    Messages:
    156
    GitHub:
    irishpacks
    After downloading the binaries, the Composer files will be inside that folder.
     
  10. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    I asked for screenshots or the terminal output when you do the installation, type 'dir' etc so we can see your folder structure etc. If all you can tell us is that running start.cmd gives that error, and no details as to how you installed, then we can't help.

    Here are the full installation instructions
    http://pmmp.readthedocs.io/en/rtfd/installation.html

    You'll need PHP7.2, the Microsoft Visual C++ Redistributable, the start script (Windows CMD) for which links are all in the instructions, and a pocketmine phar (either from jenkins in the top menu, or the tagged Alpha8 release). No need to bother with git, composer and source code unless you intend to code.
     
    Last edited: Oct 13, 2017
  11. Irish

    Irish Baby Zombie

    Messages:
    156
    GitHub:
    irishpacks
    My assumption was that he was running from source, but I guess not. I said if he had it via source and had Git, he might need to clone recursively, but yeah no need to if you're just running from a phar.
     
  12. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Did you install it like this?
     
  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.