[Guide]Setting up bukkit (first time user friendly)

Discussion in 'Bukkit Help' started by jacklin213, Jul 24, 2012.

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

    jacklin213

    an improvment.jpg
    Welcome to my tutorial on how to set up Craftbukkit (Thanks Iroh For ^)
    for PC users (sorry mac users) BUT for mac users who want to port forward check out cray_Z tutorial HERE
    or u can check out the wiki http://wiki.bukkit.org/Setting_up_a_server
    This guide only supports online mode: true (Bukkit forum rules)
    so lets get started

    Topics
    1) What you need
    2)The steps
    3)Portforwarding

    What you need
    1)General knowledge on how to download off the internet
    2)Java 6, 7 (if your don't have Java download it HERE)
    3)Paid version of Minecraft
    4)This step is optional- a modem which can port forward (if you don't have one ill go over what to do at the bottom)
    5)YOU NEED TO B ABLE TO READ

    The steps
    1)Download latest Craftbukit HERE and put into a new folder
    2)Open notepad
    The next step requires at bit of reading
    3)Read this V or you can use my pre-made Javachecking craftbukkit starter HERE (<< less work)
    CODE (open)


    For java 6, 32-bit on a 32-bit windows
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    For Java 6, 32-bit on 64-bit Windows

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    For both Java 7, 32-bit on 32-bit Windows and Java 7, 64-bit on 64-bit Windows

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    For Java 7, 32bit on 64bit Windows

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE


    5)Save as Run.bat in the folder which you have Craftbukkit in
    6)RENAME craftbukkit(version) to craftbukkit.jar
    7)Double click Run.bat everything will download it self
    8)Once ever is finished loading type in "stop" to close server NEVER USE THE x BUTTON

    Portforwarding
    If you skipped the intro and went straight to here well good on you
    this section will go over PortForwarding for MAC users and PC users
    For PC users go to HERE tutorial made by me
    For mac users go to HERE tutorial made by cray_Z
    For people who don't have a modem read ImminentFate 's hamachi tutorial on PortForwarding HERE
    Software to PortForward ImminentFate 's post HERE
    or checkout this website http://portforward.com


    DO IT THE YOUTUBE WAY LIKE ,COMMENT ,SUBSCRIBE
    if u need help feel free to comment or post HERE <<<<<<<<< CLICK IT PLOX ^_^
     

    Attached Files:

  2. Offline

    Omnitv

  3. Offline

    jacklin213

    kk one sec ^_^
    EDIT: done . wat does op mean? according to wad u just said
     
  4. Offline

    Omnitv

  5. Offline

    jacklin213

    i did ????
     
  6. Offline

    blazinskittles

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

    Help?
     
  7. Offline

    cray_Z

    I have answered so many of these Q's. Please search the forums before asking
    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
     
  8. Offline

    jacklin213

  9. Offline

    Omnitv

  10. Offline

    jacklin213

    cat?

    craftbukkit-1.2.5-R5.0 is out. fixed guide

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  11. Offline

    McLuke500

    You has been putting out some good guides for people well done :D
     
  12. Offline

    jacklin213

  13. Offline

    CrazedLobster

    I did all of that and it said cannot find path specified i have the java 6 32bit
     
  14. Offline

    jacklin213

    did u use this code
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    ??
     
  15. Offline

    stenmand1

    i follow your guide and it say "unable access the jar file"
     
  16. Offline

    Necrodoom

    did you followed step 6?
     
  17. Offline

    stenmand1

    yes i did
    yes i did
     
  18. Offline

    jacklin213

    stenmand1
    What bit computer are your using? :
    what version java are you using?:
    is java installed in the default directory?:
    What start up code are your using now?:
     
  19. Offline

    stenmand1

    32bit combuter
    jave jre7
    yes it is
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    i tryd all of the code i can fint but no one works..
     
  20. Offline

    Snipes01

    "%ProgramFiles(x86)%\Java\jre7\bin\java.exe"

    Is what you need in there because you are probably using 32 bit java.
     
  21. Offline

    stenmand1

    still it doesn work
     
  22. Offline

    jacklin213

    Snipes01 can't b x86 because 32bit computers don't have that directory
     
  23. Offline

    Snipes01

    oh oops..you are completely right! My bad.
     
  24. Offline

    jacklin213

    Lol I'm looking for another code which I used b4 this code should work
     
  25. Offline

    Snipes01

    Just saying java instead of giving a directory should work.

    Code:
    java -Xmx1024M -Xms1024M -jar craftbukkit.jar
     
  26. Offline

    jacklin213

    Try this
    Code:
    java -Xincgc -Xmx1024M -jar "%~dp0craftbukkit.jar"
    PAUSE
    
     
  27. Offline

    Dougy2000

    Umm none of my long distance friends can join D:

    And I did port forward correctly

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  28. Offline

    jacklin213

    what ip are you giving them?
     
  29. Offline

    Dougy2000

    My online Ip wont work D:

    My online ip XD

    I use dlink for port forwarding

    I have to go for today Ill be back tomorrow :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  30. Offline

    jacklin213

    kk next time provide this info
    did u port forward with IPv4 Address:
    did you give them your external ip found at http://whatsmyip.org:
     
Thread Status:
Not open for further replies.

Share This Page