27
So you wanna make Minecraft server?
Well, you have come to the right place! This blog goes into very fine detail on how to make your very own Bukkit server. Before we start here is a list off required downloads for you!!!
If you just need to know how to port forward scroll to bottom!!!
If you like this post Diamond, Favorite, and maybe even Subscribe!!!!!!
Downloads:
CraftBukkit: http://dl.bukkit.org/
WinRar Archiver: http://www.rarlab.com/
Java: http://www.java.com/en/
Other:
Vanilla: http://minecraft.net/download
Linux
1. Download CraftBukkit's latest build [At top]
2. Put the .jar in a folder, for this example we'll use a generic one: ~/craftbukkit
3. Move to the above directory in terminal with 'cd ~/craftbukkit'
4. Create a new file in the minecraft folder and name it craftbukkit.sh
5. Edit the file and paste this into it:
#!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$BINDIR" java -Xmx1024M -jar craftbukkit.jar -o true6. Make the file executable, either by running "chmod +x ~/craftbukkit/craftbukkit.sh" in a terminal, or by changing the permissions in the file's properties.
7. Then, in terminal, type '~/craftbukkit/craftbukkit.sh' to run to start the server.
8. When you're done playing around, issue the "stop" command in console.
If you plan to run the server more permanently an init script like this one (recommended) [1]
If you want to run your server with screen, you can use a script like this one (recommended) ABM
This tutorial for how to set up a Minecraft server on Linux was designed for people who don't have a lot of experience with Linux. There is a more advanced tutorial in the forums. This tutorial was tested on Ubuntu 9.10 32-bit but should work with the descendants of Debian.
Ensure you have the latest server application software. Look above for instructions.
If you get java: command not found (which may be followed by more text) or if you do have another Java version than 1.6 then you need to install or update java. The official Oracle Java is recommended. A few individuals have experienced issues with OpenJDK. Others report that running on OpenJDK is completely fine.
Ensure that the non-free repository is being scanned by apt. You do this by adding non-free to your /etc/apt/sources.list file. e.g.:
deb ftp.uk.debian.org/debian/ squeeze main contrib non-free
Update your sources list (as root):
apt-get update
Then to install Java, simply type this in terminal and press enter (as root):
apt-get install sun-java6-jre
Unfortunately, some licensing issues have prevented Canonical from allowing repositories to have Sun Java, so you must either download it directly from Oracle, package it, and install it or you could use the PPA provided by webupd8 by following the instructions below.
This guide has been tested on Ubuntu Server 12.10.
Note: You might need to install the package "software-properties-common" by running apt-get install software-properties-common to use the apt-add-repository command.
Run the following commands in this order to add the PPA, update the source list and then install java:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Then run this to check what version you have installed:
java -version
The output should be similar to:
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
For more information or troubleshooting see this link at webupd8s site
On older versions, you can simlpy type zypper in java-1_6_0-sun into a terminal.
On newer versions, there is a tutorial here describing how to install Java.
Open a terminal and run pacman -S openjdk6 as root.
Use: emerge virtual/jre
Alternatively, you can visit Java's website directly to download the Java package for Linux. Most distros work with this (either 32 or 64-bit). Instructions for the installation of those different packages are given on the site.
If during installation, it asks for a password, enter your password. If you get asked "Is this OK [Y/N]" Enter Y and press enter if required. Java should now be installed.
Open the terminal again Applications > Accessories > Terminal Enter the following commands, substituting 'minecraft_server' with the name of the folder you extracted the server to:
cd minecraft_server
java -Xms1G -Xmx1G -jar minecraft_server.jar nogui
If you have less than 1024MB RAM, the above line may cause problems with swapping and out of memory conditions, which makes the game hard to play.
cd minecraft_server
java -Xms1G -Xmx1G -jar minecraft_server.jar nogui
free -m It may look like this:

You are interested in the last number in the third line, 2163 in this case. Subtract some RAM as safety. On this computer, the server may use up to 1536 MB RAM. Now, replace the 1024 in the above example with the calculated number:
java -Xms1536M -Xmx1536M -jar minecraft_server.jar nogui
Voila, it should run smoothly now
Tip: If you want to spare more memory, you may set the -Xms parameter even lower, say:
java -Xms32M -Xmx512M -jar minecraft_server.jar nogui
The parameter controls how much memory is reserved on startup Your server will start with 32MB RAM and whenever it needs more memory it will allocate some until it reaches the maximum of 512 MB. However, this will result in a little slowdown whenever the allocation is done.
Alternatively you can manage/automate the startup and shutdown of the Minecraft server using a script such as the ones listed below:
Also Here is how you can port forward!!!!
Link: http://portforward.com/

It shows that you liked my work and motivates me to do more!!!!!!!!!!!!!!
Well, you have come to the right place! This blog goes into very fine detail on how to make your very own Bukkit server. Before we start here is a list off required downloads for you!!!
If you just need to know how to port forward scroll to bottom!!!
If you like this post Diamond, Favorite, and maybe even Subscribe!!!!!!
Downloads:
CraftBukkit: http://dl.bukkit.org/
WinRar Archiver: http://www.rarlab.com/
Java: http://www.java.com/en/
Other:
Vanilla: http://minecraft.net/download
Bukkit
Linux
1. Download CraftBukkit's latest build [At top]
2. Put the .jar in a folder, for this example we'll use a generic one: ~/craftbukkit
3. Move to the above directory in terminal with 'cd ~/craftbukkit'
4. Create a new file in the minecraft folder and name it craftbukkit.sh
5. Edit the file and paste this into it:
#!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$BINDIR" java -Xmx1024M -jar craftbukkit.jar -o true6. Make the file executable, either by running "chmod +x ~/craftbukkit/craftbukkit.sh" in a terminal, or by changing the permissions in the file's properties.
7. Then, in terminal, type '~/craftbukkit/craftbukkit.sh' to run to start the server.
8. When you're done playing around, issue the "stop" command in console.
If you plan to run the server more permanently an init script like this one (recommended) [1]
If you want to run your server with screen, you can use a script like this one (recommended) ABM
a
Linux instructions
This tutorial for how to set up a Minecraft server on Linux was designed for people who don't have a lot of experience with Linux. There is a more advanced tutorial in the forums. This tutorial was tested on Ubuntu 9.10 32-bit but should work with the descendants of Debian.
Downloading
Ensure you have the latest server application software. Look above for instructions.
Installing Java
If you get java: command not found (which may be followed by more text) or if you do have another Java version than 1.6 then you need to install or update java. The official Oracle Java is recommended. A few individuals have experienced issues with OpenJDK. Others report that running on OpenJDK is completely fine.
Debian
Ensure that the non-free repository is being scanned by apt. You do this by adding non-free to your /etc/apt/sources.list file. e.g.:
deb ftp.uk.debian.org/debian/ squeeze main contrib non-free
Update your sources list (as root):
apt-get update
Then to install Java, simply type this in terminal and press enter (as root):
apt-get install sun-java6-jre
Ubuntu
Unfortunately, some licensing issues have prevented Canonical from allowing repositories to have Sun Java, so you must either download it directly from Oracle, package it, and install it or you could use the PPA provided by webupd8 by following the instructions below.
This guide has been tested on Ubuntu Server 12.10.
Note: You might need to install the package "software-properties-common" by running apt-get install software-properties-common to use the apt-add-repository command.
Run the following commands in this order to add the PPA, update the source list and then install java:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Then run this to check what version you have installed:
java -version
The output should be similar to:
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
For more information or troubleshooting see this link at webupd8s site
openSUSE
On older versions, you can simlpy type zypper in java-1_6_0-sun into a terminal.
On newer versions, there is a tutorial here describing how to install Java.
Arch Linux
Open a terminal and run pacman -S openjdk6 as root.
Gentoo
Use: emerge virtual/jre
Other distros
Alternatively, you can visit Java's website directly to download the Java package for Linux. Most distros work with this (either 32 or 64-bit). Instructions for the installation of those different packages are given on the site.
If during installation, it asks for a password, enter your password. If you get asked "Is this OK [Y/N]" Enter Y and press enter if required. Java should now be installed.
Start the Minecraft server
Open the terminal again Applications > Accessories > Terminal Enter the following commands, substituting 'minecraft_server' with the name of the folder you extracted the server to:
cd minecraft_server
java -Xms1G -Xmx1G -jar minecraft_server.jar nogui
Less than 1GB free RAM
If you have less than 1024MB RAM, the above line may cause problems with swapping and out of memory conditions, which makes the game hard to play.
cd minecraft_server
java -Xms1G -Xmx1G -jar minecraft_server.jar nogui
free -m It may look like this:
You are interested in the last number in the third line, 2163 in this case. Subtract some RAM as safety. On this computer, the server may use up to 1536 MB RAM. Now, replace the 1024 in the above example with the calculated number:
java -Xms1536M -Xmx1536M -jar minecraft_server.jar nogui
Voila, it should run smoothly now
Tip: If you want to spare more memory, you may set the -Xms parameter even lower, say:
java -Xms32M -Xmx512M -jar minecraft_server.jar nogui
The parameter controls how much memory is reserved on startup Your server will start with 32MB RAM and whenever it needs more memory it will allocate some until it reaches the maximum of 512 MB. However, this will result in a little slowdown whenever the allocation is done.
Startup and maintenance script
Alternatively you can manage/automate the startup and shutdown of the Minecraft server using a script such as the ones listed below:
- Minecraft Server Manager A comprehensive start up script for Minecraft and Bukkit servers (support Debian, such as Ubuntu).
- MSM can also periodically create World Edit compatible backups.
- Keeps players informed with configurable in-game messages, such as "Shutting down in 10 seconds!"
- Expose in-game commands (such as "say", "op" and "whitelist") to the terminal.
- Tab completion on all commands makes learning easy.
- Visit Minecraft Server Manager's GitHub page for the full list of features.
- MSM can also periodically create World Edit compatible backups.
- Server startup script
- M3tal Warrior' Server Startup Script
- For Debian (and should work on Ubuntu too); Bukkit and Vanilla compatible
- Full backup and rollback routines
- All ingame commands can be invocated
- Supports using the RAM as server root file system
- Multiple cron invocations to ease administration
- Easy autoupdater
- Easy installer for first timers
- For Debian (and should work on Ubuntu too); Bukkit and Vanilla compatible
- FreeBSD startup script
- OpenBSD startup script
- Ubuntu startup script
- rfwadmin startup script with web interface (for Linux servers). Nice web interface for quickly saving and loading maps.cYXZCFiSAQ
Windows Bukkit Guide
Mac Bukkit Guide
Linux Bukkit Guide
Also Here is how you can port forward!!!!
Link: http://portforward.com/
PortForwarding Guide
If you really loved this post please leave a
It shows that you liked my work and motivates me to do more!!!!!!!!!!!!!!
Tags |
tools/tracking
2239885
6
how-to-make-a-craftbukkitvanilla-152-server-windows-mac-linux
Create an account or sign in to comment.