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

Linux help

Discussion in 'Help' started by Liam, Sep 16, 2017.

  1. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
  2. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    its also saying
    [20:52:16] [Server thread/INFO]: Starting Minecraft: PE server version v0.15.0.0 alpha
    i dont know the command to update v1.1.7
     
  3. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    There is no command. You have to delete the file called PocketMine-MP.phar, and get a new file from here. Place the new file in the same folder that the old one was in, and rename it to PocketMine-MP.phar
     
  4. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    I haft to get an exact link to that download like for example github and u can copy the zip ;P
     
  5. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    What do you mean?
     
  6. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
  7. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    I cant delete that file, i dont know how to replace it yet but i dont know if that will work
     
  8. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Use the command:
    Code:
    rm PocketMine-MP.phar
     
  9. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    The first thing you have to note which I think no one has noted is that you have got things from the wrong PocketMine Github....

    The Official and Current PocketMine Github team is on..
    https://github.com/pmmp

    You can purge everything on a folder example...
    If you have a folder called server then you wanna purge everything on it...
    Code:
    rm -r *
    Note: this will remove everything so use it carefully.
    
     
    EdwardHamHam likes this.
  10. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    You can also use the ReadTheDocs (Current) by PMMP to install at..
    http://pmmp.readthedocs.io/en/rtfd/installation.html#using-https-get-pmmp-io-linux-macos-only

    https://get.pmmp.io
    is actually a direct link the the installer found at..
    https://raw.githubusercontent.com/pmmp/php-build-scripts/master/installer.sh

    But I don't think it supports PHP 7.2 so you will have to work out how to get it well its easy actually.

    Just get the PHP 7.2 Bin from..
    https://jenkins.pmmp.io

    If you want to get PMMP for MCPE 1.2 you can use the src if you want from my github as its branch is set to mcpe 1.2 but I didn't check if there are any commits so yeah I'll have to remerge it.
    https://github.com/sharletsings123

    Also you will have to add the RakLib SPL and LangFile.

    When getting PHP 7.2 from Jenkins..
    note it is as .tar.gz so extract it...
    Code:
    tar xzvf file.tar.gz
    
    To see the contents before extractring..
    Code:
    tar -tvzf file.tar.gz
    
    What I have noticed is that you are lacking a lot of knowledge in Linux which is truly bad if you cannot get a small thing working out with it, either get someone who is good at it to help you or else learn basic Linux commands before getting into this.
     
  11. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    I'll try to explain as basic as possible now, just in case you still couldn't understand.

    Your PocketMine version is, obivously, old. You need to replace it with a newer one. I'll write the down reaally simple instructions.

    INSTRUCTIONS
    1)
    Code:
    cd <your pocketmine directory>
    Cd to your pocketmine directory.

    2)
    Code:
    ls
    List the files in that directory. If you're seeing something like: bin players plugins resourcepacks crashdumps worlds PocketMine-MP.phar start.sh, everything is okay. Tell me if it's not the same.

    3)
    Code:
    rm PocketMine-MP.phar

    Simply delete the old PocketMine phar.

    4)
    Code:
    wget -O PocketMine-MP.phar https://jenkins.pmmp.io/job/PocketMine-MP/lastSuccessfulBuild/artifact/PocketMine-MP_1.7dev-41_30d2318b_API-3.0.0-ALPHA8.phar
    I don't know if there's a shorter way, but this should download the current latest phar and save it as PocketMine-MP.phar. Also, do
    ls again to check. If you're seeing a PocketMine-MP.phar, everything went correctly.

    5)
    Code:
    ./start.sh
    Start the server! Don't hesitate to ask if you face any errors or don't understand a thing. We're here to inform.
     
    EdwardHamHam likes this.
  12. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    What all you said won't work if the op doesn't have the the shell scripts if they don't have anything but just PocketMine-MP.phar in their dir.
     
  13. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Woops didn't check that xD.
     
  14. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Well its not necessarily needed to tell you if the op has those files or not if they have done the installation the way I said above yours as it explain where to go as well as how to get a PHP 7.2 bin as well.

    It takes a little more hard work from the ops side but for the best of it you will have to work hard so yeah.
     
  15. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    It's really quite easy once you get the hang of it.
     
  16. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    I do it everyday.
    Well its a good practice because I mess up 10% of the time which I get mad at but the second try really comes in handy so its really good for my Linux Knowledge.

    #Its everyday bro.
     
    Liam likes this.
  17. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    When i did ls again, start.sh poped up so sceems like stuff is ok I still gotta do the php thing so il follow what sharlet says todo thanks :D
     
  18. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    I did what you said but ./start.sh shows up as "no such file or directory"
     
  19. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    You have to install PocketMine before updating it with those instructions. Run this command:
    Code:
    curl -sL https://get.pmmp.io | bash -s -
     
  20. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    Run that command, and then do what I sais earlier if you still get an old version of pocketmine.
     
    sharletsings123 and EdwardHamHam 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.