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

Setting up 1.4 dev build test server

Comments in 'Plugin Development' started by Tuff, May 17, 2014.

  1. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    Hey guys, have any of you actually run a server with the latest dev build. I used compile.sh in the Core-Rewrites section to install 1.4, but the start.sh file is not working. I looked at @shoghicp s plugin tutorial and it referenced the Jenkins server as a place to obtain the latest build. I went there and found
    PocketMine-MP_Alpha_1.4dev-15c5daca_API-1.0.0.phar
    but I have no idea how to run this file. Please let me know if you guys have any suggestions or tips, I am excited about the new API and want to start coding plugins for it, but its hard to do with out a way to test them.
  2. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    Sorry, was this a dumb question? I still a newb so please have mercy.
  3. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Rename the file to "PocketMine-MP.phar" and stick it in a folder with the new start.sh or the new start.cmd. You will also need a PHP "bin" folder inside this folder (they are on jenkins and on sourceforge). You should be able to start the server as you did before.

    If you are using the server for development you may want to use an uncompressed source, you can do this by downloading a zip of the Core-Rewrite branch (https://github.com/PocketMine/PocketMine-MP/archive/Core-Rewrite.zip). Unzip and get PHP setup and your good to start.
    y18511075, Andrey Nazarchuk and Tuff like this.
  4. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    OMG thank you so much @Falk you are the best finally I can test them thank you!:D
    Falk likes this.
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    But the binaries won't be outdated? For example, pthreads needs updating. The one I downloaded from there is an outdated pthreads version.
    Tuff likes this.
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I think you can get better help from IRC for this problem.
  7. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    Ok, I'll go to the IRC. I do not like using that thing and I don't know how it works but if you whatever will help me to get this sucker going.
  8. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    The one I have gotten is working great :)
    Tuff likes this.
  9. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    Hey can you tell me how to fix this error that I keep getting.
    Code:
    Warning: require(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /home/****/Desktop/1.4test/PocketMine-MP.phar on line 1
    
    Warning: require(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /home/****/Desktop/1.4test/PocketMine-MP.phar on line 1
    
    Warning: require(phar:///home/****/Desktop/1.4test/PocketMine-MP.phar/src/pocketmine/PocketMine.php): failed to open stream: No such file or directory in /home/****/Desktop/1.4test/PocketMine-MP.phar on line 1
    
    Fatal error: require(): Failed opening required 'phar:///home/adam/Desktop/1.4test/PocketMine-MP.phar/src/pocketmine/PocketMine.php' (include_path='.:') in /home/****/Desktop/1.4test/PocketMine-MP.phar on line 1
    
  10. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    @Tuff use this:
    32-Bits Installer
    64-Bits Installer
    (Only for windows :p)

    NOTE: To avoid problems, install it on a fresh, empty folder ;)
  11. Dinokiller
    Offline

    Dinokiller Notable Member

    Joined:
    Sep 22, 2013
    Posts:
    376
    Minecraft User:
    Dinokiller_
    For some reason my browser thinks the installer is malicious.
  12. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    I'm on Linux tho.
  13. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    :p I download it to my phone and then transfer to PC and nothing malicious happened xD

Share This Page

Advertisement