?

Log in

No account? Create an account
BSD

How To Build A SUSE Forge Minecraft Server with Biomes O Plenty

Posted on 2014.07.12 at 00:00
Current Location: 67114
Tags: , , ,

Minecraft. Forge ModLoader (FML). Biomes O Plenty. This is an enormous pain in my ass because I don't do it often enough, and the so-called, "documentation" on the web is woefully inadequate downright stupid - commands and their associated flags need to be expressly specific, and most of the online HOWTO's are filled with Microsoft desktop users explaining how to double-click an executable to other Microsoft desktop users. And because Google can only regurgitate these Microsoft desktop users' simplistic answers to my questions, and "All you have to do is..." rarely, if ever, contains the specificity required to do anything whatsoever, I've decided to document the procedure. Admittedly, I should have done this a long time ago.

Ensure you get latest matching (recommended) VERSION# of Minecraft, Minecraft Forge, and Biomes O Plenty, which will likely be several revs behind current. Also - use a browser - wget fails because it can't traverse AdFly:

  1. Build a SUSE Linux Server (for hosting)


  2. Build a SUSE Linux Desktop VM (because we need a head)

    • Software Update

    • Yast --> Software --> JDK


  3. Software Installation on the Desktop VM

    • #mkdir /home/[user]/minecraft

    • #cd /home/[user]/minecraft

    • INSTALL MINECRAFT

      • http://minecraft.net

        • Download client jar

        • #mv ../Downloads/Minecraft.jar .

          • #java -jar Minecraft.jar

            • Login

              • Necessary to create directories

            • "Edit Profile" --> Version Selection --> Use version VERSION# --> Save Profile --> PLAY

            • Quit Game


    • INSTALL FORGE MODLOADER

      • http://files.minecraftforge.net

        • Download VERSION#-Recommended (Installer)

        • Download VERSION#-Recommended (Universal)

        • #mv ../Downloads/forge-VERSION#-installer.jar .

        • #mv ../Downloads/forge-VERSION#-universal.jar .

          • #java -jar forge-VERSION#-installer.jar --install

          • #java -jar forge-VERSION#-universal.jar

            • stop (in the Minecraft Server console window)



  4. Xfer to Server

    • #cd ..

    • #tar -czvf minecraft.tgz minecraft/ .minecraft/

    • #scp minecraft.tgz server:/home/[user]/


  5. Extract Tarball, Tweak for RAM & Launch

    • #cd /home/[user]/minecraft

    • #tar -xzvf minecraft.tgz

    • #cd minecraft

    • #screen

    • #java -native -server -Xincgc -Xmx16384M -Xms8192M -Xmn512M -XX:NewRatio=3 -Xrs -XX:+UseThreadPriorities -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=8 -Xcheck:jni -Xfuture -XX:+AggressiveOpts -jar forge-VERSON#-universal.jar nogui


-Xmx = Amount of available server memory
-Xms = Amount of memory to start Minecraft
-Xmn = Java garbage collector size
(you can just as easily run -Xmx1024M -Xms1024M);

java -jar -Xmx1024M -Xms1024M forge-universal.jar nogui




DESKTOP CLIENT REQUIREMENTS!

Assuming Windows...

1. Download, install, and launch Minecraft.exe under Minecraft for Windows.

2. Login (Necessary to create directories); "Edit Profile" --> Version Selection --> Use MINECRAFT version VERSION# --> Save Profile --> PLAY; Quit Game.

3. Download and double-click Minecraft Forge VERSION# .jar file (choose Install client). Ensure $PATH is C:\Users\[user]\AppData\Roaming\.minecraft

4. Login (Necessary to create directories); "Edit Profile" --> Version Selection --> Use FORGE version VERSION# --> Save Profile --> PLAY; Quit Game.

5. START --> (run) %appdata% --> .minecraft

6. Download and place Biomes O Plenty VERSION# (Universal).jar in C:\Users\[user]\AppData\Roaming\.minecraft\mods

7. Launch Minecraft --> Profile --> Forge --> Play

Previous Entry  Next Entry