Blogs Tutorial

Make a Server [Easy]

  • 1k views 0 today
  • 1
  • 1
  • 9
DovydasAL
Lvl 34Artisan 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

1 Update Logs

Update #1 : by DovydasAL 08/22/2012 8:38:18 pmAugust 23, 2012 @ 12:38 am UTC

Added Ram Support

More like this

  Have something to say?

Linux1337
08/22/2012 6:08 pm
Level 7 : Apprentice Modder
double clicking craftbukkit is not recommended as it does not assign a specific amount of RAM to the server
1
DovydasAL
08/22/2012 6:20 pm
Level 34 : Artisan Droid
I agree but it does work. This would just be a private server I suppose
1
Linux1337
08/22/2012 8:33 pm
Level 7 : Apprentice Modder
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
DovydasAL
08/22/2012 8:35 pm
Level 34 : Artisan Droid
Alright Cool
1
Linux1337
08/23/2012 7:57 am
Level 7 : Apprentice Modder
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
Linux1337
08/23/2012 8:00 am
Level 7 : Apprentice Modder
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
Linux1337
08/22/2012 5:35 pm
Level 7 : Apprentice Modder
Umm portforwarding???
1
DovydasAL
08/22/2012 5:39 pm
Level 34 : Artisan Droid
I left a link to my portforwarding blog at the beginning of the tut
1

Welcome