Feed the Beast Ultimate Server Install

The following tutorial will guide you through the process of setting up a Feed the Beast server that you and your friends (or whoever) can play on with the Feed the Beast Ultimate client.

As of right now all a Minecraft Server consists of is a folder containing a group of folders and some java voodoo, all premade, that you simply need to launch. This makes our life easier because all we need to do is download the folder, change a few things. run a launch command and CRAFT AALLLLLL THE THINGS.

Step 1: Download the Feed the Beast Ultimate Server

You can download the latest version of the Feed the Beast Ultimate Server by clicking the button below. This will download a zip folder containing everything we’re going to need to get up and running.

Step 2: Extract the Server Files

Find the file you just downloaded in step 1 (check your downloads folder). Now we need to open it up and extract (drag and drop, or choose extract option) the folder into a safe location. Actually the location doesn’t have to be safe, it should be somewhere that you won’t accidentally delete, or download other crap to.

If you don’t feel like setting up a more legit setup, just create a “servers” folder on your Desktop,. create a “Feed the Beast Ultimate” folder and drop all the files from the zip file into the new folder.

If you like to skip paragraphs, set up the following on your Desktop (or wherever)

..\Desktop\
\Servers\
\Feed the Beast Ultimate\
(copy all the files from the download in here)

Next we’re going to configure everything.

Step 3: Configure the Server

First, before we forget, we need to configure the start commands in the server folder we just made. By default the server doesn’t use the “nogui” command. I promise you, you’ll want to add this. If you’re glitching, lagging, stuttering, or generally hating your life, I bet you forgot.

Modify the start commands to look like this…

ServerStart.bat
java -Xms512M -Xmx1G -jar ftbserver.jar nogui
ServerStart.sh
java -Xms512M -Xmx1G -jar ftbserver.jar nogui

Next, you might want to change the -Xms512M and -Xmx1G values to allow java to use more memory. The actual values you should use depend on how much memory your computer has and how many people you’re gonna wanna let on the server. A min of 512 MB and max of 2G should be ok for 1-5 people. You can probably get away with less but you’ll have to dink around and see what happens.

The values are in the format “###UNIT” where “###” is a number (e.g. 1, 4, 4096) and “UNIT” is “M” for megabyte or “G” for gigabyte.

1G = 1 Gigabyte
4G = 4 Gigabytes
4096M = 4096 Megabytes (equiv to 4G)
512M = 512 Megabytes

-Xms### sets the min memory
-Xmx### sets the max memory allowed for the server

-Xms512M -Xmx2G gives you a range of 512 MB to 2 GB of memory allocation.

So, if you want to use min 512 MB and max 4 GB then change your startup files to look like this.

ServerStart.bat
java -Xms512M -Xmx4G -jar ftbserver.jar nogui
ServerStart.sh
java -Xms512M -Xmx4G -jar ftbserver.jar nogui

We have more config changes to make, but we need to run the server once to generate the config file.

Step 3b: Start the Server

At this point you should be OK. But as part of the initial server warmup the code will spit out a nice config file that we can make additional tweaks to.

To start the server simply run the appropriate ServerStart file

Mac/Linux ? double-click
ServerStart.sh
Windows ? double-click
ServerStart.bat

The server should load itself up, create the world files, some other magic, and the server.properties file.

Here are some screenshots of stuff you should (and shouldn’t see)

Step 3c: Config the Config

This part isn’t technically necessary, but we recommend making a few changes to the server.properties file.

NOTE: If you edit the file, don’t forget to reboot your server to pick up the changes.

NOTE: If you edit things that alter world-gen (like the level-type= line) you need to delete the world folder so the world can regen itself

Here’s what the server.properties file looks like by default

#server.properties
#Minecraft server properties
#Fri Aug 16 12:09:21 EDT 2013
generator-settings=
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
snooper-enabled=true
hardcore=false
texture-pack=
online-mode=true
pvp=true
difficulty=1
gamemode=0
max-players=20
spawn-monsters=true
generate-structures=true
view-distance=10
motd=A Minecraft Server

Here are some recommended modifications. Items in blue are optional, items in red are recommended. This code is safe to copy and paste into the server.properties file.

#server.properties
#Minecraft server properties
#Fri Aug 16 12:09:21 EDT 2013
generator-settings=
allow-nether=true
level-name=world     #change if you want a fancier name than 'world'... otherwise no need
enable-query=false
allow-flight=true    #this allows things like jetpacks to work
server-port=25565    #change this if you have a lot of servers on one computer
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=true      #type /whitelist in the console to set this up
spawn-animals=true
snooper-enabled=true
hardcore=false
texture-pack=
online-mode=true
pvp=true
difficulty=3         #you can die from starvation, zombies can break wooden doors
gamemode=0
max-players=20
spawn-monsters=true
generate-structures=true
view-distance=10     #how far out the server will load chunks, drop to 8 if java is struggling
motd=A Minecraft Server

If you made any changes to the file make sure to stop and restart your server.

To stop the server type the following in the console. (You can skip the save-all command for now but it’s a good practice to make sure you don’t lose everything since minecraft last saved everything (in memory) to your hard drive.

save-all
stop

To re-start the server, run that ServerStart file again

Mac/Linux ? double-click
ServerStart.sh
Windows ? double-click
ServerStart.bat

Step 4: Port Forwarding

This is probably gonna be a pain for you, so I’ll try and explain it clearly.

In order for your friends to play on your server they need to connect to it. In order to connect to it there has to be a path from their computer to yours. To get down this path all you need is your IP address.

If everyone is sitting on the same network as you (e.g. they’re all at your house having a LAN party) then you just need to find the IP address of your computer on the network (look at your wifi or network properties and you can see it.) It should look something like this 10.1.0.xxx (for Apple networks) or 192.168.1.xxx (for pretty much everything else).

All they need to do to connect is type that IP address in the server connect window on their client.

If everyone is NOT sitting on the same network (e.g. everyone is playing at their own house), then they’ll need to connect through your Public IP address (assigned by your internet provider) go to http://whatIsMyIP.com to find out what yours is.

The tricksy part now is that, if you have a router or firewall, you need to “port forward” the minecraft port (set in server.properties file) from the router to your computer. Once you do that people will connect (on thier end) to your Public IP (put it in the server connect window in minecraft), Minecraft will reach out to the public IP which will hit your modem and then into your router. Once it’s in your router it needs to know where to go; the router’s not running the server, you are. So on the router, port forward the minecraft port to your computer and it will automatically send minecrafters to your computer to connect to the waiting server.

This is really not hard to do, but is confusing the first time. There is a website that shows you how to port forward here

Done!

At this point you should be all set. You have a server running Feed the Beast Ultimate, you’ve configured the files, and now you’re ready to game it up.

Troubleshooting

Players seem to stutter around the screen

You forgot to add the ‘nogui’ command to your startup scripts. Scroll up and do that.

Players get booted when they fly

Modify the server.properties file to allow flight. Scroll up to see an example.

Server can't keep up! or crashed

Check your startup command – did you give it more memory? Scroll up to see  how.

Do you have enough memory on your actual computer? Go buy more :)

No one can connect!

Can you? Try connecting to your server through IP 127.0.0.1 (this is localhost) and if you can connect the server is OK. If you can’t connect, check that you’re whitelisted.

If you can log in but no one else can, you probably forgot to forward the port. Scroll up.