Easiest way to setup a Minecraft server

Discussion in 'Bukkit Help' started by Whisk, Apr 28, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Whisk

    This thread will show you how to setup a simple Minecraft server, very quickly. This will allow you to have a MC server up and running in 20 seconds, and literally takes no effort at all. As a player, coder, and owner of a hosting company, I realize that many people are not familiar with command lines, BAT/shell scrips, etc.

    Windows:

    If you are using 32 bit Java with a 64 bit system, please just install the 64 bit version. There is no reason to be running 32 on a 64 system.

    Download the latest release from here. (UbuntuOne Link (Its like Dropbox))
    Run the wizard.
    This will put all the Bukkit files on your desktop.
    Either tell it to run after setup or double click the RUN.bat that is in the Bukkit file.
    Profit!

    If you are using Java 7, run the installer, but do not run after setup.
    Right click the RUN.bat that was installed, and click "Edit"
    Change
    Code:
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    to
    "%ProgramFiles%\Java\jret\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    
    Linux:

    First, download the script here. (UbuntuOne Link)
    Open up a terminal.
    Cd to the directory you downloaded the file to.
    Type "chmod +x linux.sh"
    Type ./linux.sh"
    Enter the amount of memory you want in MB, without GB, MB, etc.
    Wait! It takes a minute to download the latest release and all.

    Mac:
    A wizard for Mac will be available soon!
     
    zakboy711, Noxturno and t3kn0guy212 like this.
  2. Offline

    stinkomiko

    thankyou so much man, it finally worked. now i can go use guns on my friends
     
  3. Offline

    Whisk

    No problem :)
     
  4. Offline

    t3kn0guy212

    This will definitely help the noobies. :p
     
  5. Offline

    Noxturno

    help them nobs!! :)
     
  6. Offline

    Devil0s

    The easiest way to set up a minecraft server is to use my set up and configuration service. :D
     
  7. Offline

    Whisk

    Rather sad you decide to advertise on other threads lol
     
  8. Offline

    Devil0s

    It isnt a real advertise. It's a fact. :D
     
  9. Offline

    Whisk

    Devil0s Well, first of all, that seems harder as they need to contact them first. Second, I don't go advertising on your threads, so I would rather you not on mine either :)
     
  10. Offline

    Devil0s

    Okay. But you should make a guide for mac and linux too. Else you are very racism. xDD
    No. That's only a joke. But you should really make a guide for mac and linux. :D
     
  11. Offline

    Whisk

    I am doing so :). But it requires a different form of installation for those two, so I am working on that.
     
  12. Offline

    Devil0s

    It's pretty easy to get Linux (You can get Ubuntu with the wubi installer) and mac.
    I did it. http://tonymacx86.com/
    If you dont want to get mac on your pc I offer you that you can create/test your mac guide on my mac pc (teamviewer).
    We can make a session (or two) and you can make your guide with the experience you collect.
    Send me a pm.
     
  13. Offline

    blazinskittles

    the system cannot find the path specified.
    press any key to continue...


    WTF
    i try to do it myself it doesnt work,
    I try to do it with this and it doesnt work.
    HELP!
     
  14. Offline

    cray_Z

    Please search next time.
    Click Me (open)


    This is normally fixed by changing the location of where the CraftBukkit jar is in the bat file

    Most craftbukkit files come as craftbukkit-<version>-R<version>.jar, this HAS to the same in the bat file unless you changed otherwise.
    Examples of a bat file (With Bukkit jar named as 'craftbukkit.jar')

    @Echo off
    "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit.jar
    pause

    Rundown:
    @Echo off - Hides unwated lines from CMD
    "C:\Program Files (x86)\Java\jre6\bin\java.exe" - your Java.exe location
    -Xms1024M and Xmx1024M - Amount of RAM you want to run the server on in MB
    -jar - Just CMD to run a .jar file
    craftbukkit.jar - The name which you have given your bukkit file - default is: craftbukkit-1.0.1-R1.jar
    pause - Leaves CMD window open to allow for commands

    So, if you are running Java6 (32 bit) on a 64bit machine it would look like this (with default jar location)

    How it would look (With default naming) on x86 or x64 machines.

    x86(32 Bit)
    @Echo off
    "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-1.2.5-R4.jar
    pause

    x64(64 Bit)
    @Echo off
    "C:\Program Files\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-1.2.5-R4.jar
    pause
     
  15. Offline

    jacklin213

  16. Offline

    zakboy711

    thanks so much i finally got it to work i love you no homo
     
  17. Offline

    jacklin213

    Wait what?
     
  18. Offline

    jammy888999

    Not being rude but i have Norton and it says that ur download is a security risk
     
  19. Offline

    TnT

    Norton is known for giving false positives. There is nothing in the OP's post that is a security risk.
     
  20. Offline

    Matakor

    I'm having an issue. I set up the server, the try to login via localhost, and I get nothing but an End of Stream error...

    Nvm, wrong server version
     
Thread Status:
Not open for further replies.

Share This Page