Minecraft Blogs / Tutorial

Make a Server [Easy]

  • 936 views, 1 today
  • 1
  • 1
  • 9
DovydasAL's Avatar DovydasAL
Level 34 : Artisan Droid
44
Okay so if you have not seen my post on how to portforward please click on this.
http://www.planetminecraft.com/blog/how-to-portforward-easy/

When you do all of that it is time to make your server.
Downloads
Vanilla Server
- http://www.minecraft.net/

Bukkit Server
- dl.bukkit.org/latest-rb/craftbukkit.jar

Put that jar file into your server folder (make a folder called Server)
Double click on it and its online!

(optional) Open a notepad file and copy and paste this, it states how much ram you want to use. This is only for bukkit. Save it as a .bat file.(if linux save as a .sh file.) Run that instead of the Jar file.
Thanks to Linux1337

Windows
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
java -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE

Linux
#!/bin/sh
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
java -Xmx1024M -Xms1024M -jar craftbukkit.jar

If you do not know how others can connect click here for your IP address
http://www.whatsmyip.org/

Now you yourself can connect with
localhost

Here are my servers please come see them :)
My Servers:
Dovycraft.exodushosting.net
Dovycraftzs.exodushosting.net
Tags

1 Update Logs

Update #1 : by DovydasAL 08/22/2012 8:38:18 pmAug 22nd, 2012

Added Ram Support

Create an account or sign in to comment.

1
08/22/2012 6:08 pm
Level 7 : Apprentice Modder
Linux1337
Linux1337's Avatar
double clicking craftbukkit is not recommended as it does not assign a specific amount of RAM to the server
1
08/22/2012 6:20 pm
Level 34 : Artisan Droid
DovydasAL
DovydasAL's Avatar
I agree but it does work. This would just be a private server I suppose
1
08/22/2012 8:33 pm
Level 7 : Apprentice Modder
Linux1337
Linux1337's Avatar
Why dont you use this code for windows:
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
java -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE

This code for Linux:
#!/bin/sh
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
java -Xmx1024M -Xms1024M -jar craftbukkit.jar
1
08/22/2012 8:35 pm
Level 34 : Artisan Droid
DovydasAL
DovydasAL's Avatar
Alright Cool
1
08/23/2012 7:57 am
Level 7 : Apprentice Modder
Linux1337
Linux1337's Avatar
The instructions u said is for windows, for linux open up text editor and type the linux code, than save it as RUN.sh not RUN.bat cause theres no such thing as a batch file in linux, at least not that im aware of. Than right click the RuN.sh file and click properties and than click the permissions tab. Last you want to make sure that it is allowed to run as an executable file :)
1
08/23/2012 8:00 am
Level 7 : Apprentice Modder
Linux1337
Linux1337's Avatar
And to modify the amount of RAM change the number 1024 into the number of MegaBytes you want to have!

1024M = 1G
1024G = 1TB

Although no server will be using 1 TB
1
08/22/2012 5:35 pm
Level 7 : Apprentice Modder
Linux1337
Linux1337's Avatar
Umm portforwarding???
1
08/22/2012 5:39 pm
Level 34 : Artisan Droid
DovydasAL
DovydasAL's Avatar
I left a link to my portforwarding blog at the beginning of the tut
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome