How to Install Bukkit (Newb-Friendly!)

Discussion in 'Bukkit Help' started by TheArcher, Jan 7, 2011.

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

    chris956

    when someone try to log in
    java.net.UnknownHostException: www.minecraft.net
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
    Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
    ce)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
    urce)
    at java.net.URL.openStream(Unknown Source)
    at net.minecraft.server.ThreadLoginVerifier.run(SourceFile:96)
    2011-01-22 22:21:43 [INFO] Disconnecting FG_FleX [/64.231.58.215:60982]: Took to
    o long to log in
    is there some kind of port forwarding that has to be done or a different port other than 25565
     
  2. Offline

    TheArcher

    I'm not sure, but I think that means Minecraft multiplayer is down.
     
  3. Offline

    chris956

    just now my minecraft finally worked and then the server started working then the server stopped then minecraft stopped working, but my friends minecraft still works
     
  4. Offline

    jonahrab

    It is.... heres exactly what my folder looks like after completing these steps:
    --- merged: Jan 23, 2011 5:10 AM ---
    O and its definately not the name, because i have even tried changing the name to bukkit.jar, craftbukkit.jar,Minecraft_Mod.jar, always changing it in the start.command, and the same thing always comes up:
    Code:
    new-host:~ jonahrab$ /Users/jonahrab/Desktop/Bukkit/Starter.command ; exit;
    Unable to access jarfile craftbukkit.jar
    logout
    
    [Process completed]
     

    Attached Files:

  5. Offline

    Austin

    Thank you for you help Archer, but I am still getting "no such file or directory exists" I think ill just give up and wait for a full version of bukkit to be released. Ive done what you told, and almost always it should work. I have no idea what the problem is. Ill just play on the standard server with my friends until bukkit is released.

    Macintosh-2:~ austin$ /chmod +ugx/Users/austin/Desktop/Server.command
    -bash: /chmod: No such file or directory

    But its there!!! on the desktop!!! called Starter.command!!! ARRGGGG!Q!!

    I also tried renaming the file to server.command for the hell of it. no go.
     
  6. Offline

    TheArcher

    There is supposed to be a space between "+ugx" and "/Users/"
     
  7. Offline

    Toasty

    Also, I could be wrong since I haven't used Mac OS X in a while, but I don't think chmod needs that '/' at the front. The terminal is telling you that it can't find the directory "/chmod" (as anything with a '/' before it denotes a directory), which makes sense because I doubt you've ever created such a directory (nor would you need to). I also don't believe you need the 'u' and 'g' in their either. Just '+x' as the x denotes executable status. But again, I haven't used OS X in a while.

    Just copy and paste the following into your terminal:

    Code:
    chmod +ugx /Users/austin/Desktop/Server.command
    The syntax is basically as follows:

    Code:
    chmod +[flags] [directory] 
    The [directory] being wherever the file you're manipulating is located. In your case, that would be "/Users/austin/Desktop/Server.command".
     
  8. Offline

    Sejus

    Yea I got the same problem as jonahrab
     
  9. Offline

    Toasty

    Read my previous post.
     
  10. Offline

    Sejus

    I used chmod +x and chmod + ugx they both dont work always comes out with Unable to access jarfile craftbukkit-0.0.1-SNAPSHOT.jar
    logout

    [Process completed]
     
  11. Offline

    Craig

    mine says (wheen i launch the .bat file) " 'java' is not recognized as an internal or external´╗┐ command", what do i do?
    and 1 more question, i have a 64 bit computer, but my friend has a 32, do i need the 32 bit one for the .bat file, because I got the 64 bit one working fine, but my friend cant connect
     
  12. Offline

    Toasty

    Sejus: Try running the command as root (i.e. use sudo/su or whatever Mac OS X uses)

    Craig: You need to install Java. If you have a 64-bit OS, then get 64-bit Java. Choosing 64-bit over 32-bit won't prevent your friend from connecting. If he can't connect, then you probably don't have your ports forwarded properly. Make sure port 25565 is allowed through your firewall, and if you have a router, make sure it's properly forwarded in your router's settings.
     
  13. Offline

    TnT Retired Staff

    Assuming you've installed Java, make sure your PATH variable as the right path to your java install. Otherwise, use the absolute path in your command, something like this:

    "C:\Program Files (x86)\Java\jre6\bin\java" -Xmx1024M -Xms1024M -jar craftbukkit.jar nogui
     
  14. Offline

    jonahrab

    It seems like all mac people are having the same problem as me, which is that its unable to access the file. Im sure we all have it named right, so maybe its something with bukkit and mac?
     
  15. Offline

    Sejus

    Nah, I can run it manually
     
  16. Offline

    Craig

    thanks for your help, but i just need to ask one more question. i have server on the 64 bit system, but my friends cant connect due to the timeout thing, do you know 1. what the problem is, and if so, 2. how to fix it
     
  17. Offline

    TheArcher

    What happened to the other six pages of the thread?
     
  18. Offline

    TnT Retired Staff

    Mod deletion I'm guessing.


    Could be a number of things. Does your server console show any messages when they try to connect (If not, they aren't even reaching your server. Check your network and port forwarding settings). If you do see errors, try filling out this thread and posting a new topic.
     
  19. Offline

    Craig

    wait, i use hamachi, do you have to port forward? (I don't trust that its safe) and no errors pop up (but i have a normal minecraft server and they can connect fine)
     
  20. Offline

    TnT Retired Staff

    If you want anyone outside your firewall to connect, then yes, you need to open the port.
     
  21. Offline

    Craig

    OK, so for the craftbukkit mod, you have to port forward, but not for the normal server, that makes no sense to me.
     
  22. Offline

    Toasty

    If your friends are using Hamachi, then they considered inside your network, so the Firewall isn't blocking the port. If they were able to connect to your vanilla server, they should be able to connect to bukkit as well. Just make sure that in the server.properties file, the port number is set to 25565.

    Also, make sure you're using the latest version of bukkit, and that your friends are using the latest version of the client.


    [EDIT] What the heck? I had a command line tutorial on the first page, and now the whole post is gone.
     
  23. Offline

    Nic Walker

    I have a mac and whenever i try to open the server starter.command file it says i dont have appropriate access privileges?
     
  24. Offline

    AlexRoz

    Alright I found a way for Mac Users and it works! :D

    1. So, to start out create a folder on your desktop called Bukkit, or whatever.
    2.Then place the file that you downloaded into there. I renamed mine just to craftbukkit.jar to make it easier.

    3.Then open up Terminal.
    Type in cd and click and drag the FOLDER into terminal.
    which should come up as

    cd /Users/[Your Name]/Desktop/Bukkit

    Then hit enter.
    4.Next, type in" java -Xms1024M -Xmx1024M -jar craftbukkit.jar nogui "

    Then your server should start running! and it will give you a couple errors because it has to create the folders. It should work then! :D

    To stop your server type "Stop" into Terminal.
    Unfortunately to start it again you have to go from step 3 :(

     
  25. Offline

    Toasty

    Or you could just change the permissions on the bash file that you made in step three of the main post's instructions.

    Right click on the start.command file or whatever you called it. Go to "get info". There should be a little lock symbol on the bottom right of the window that just popped up. Click it, and if it asks for your password (which it should), type it in.

    Then add yourself to the list of users who can access the file (should be the area just above the lock icon), and make sure you have full permissions.

    You should be able to execute the command now.
     
  26. Offline

    Craig

    OK, thanks, I'll see what I can do.
     
  27. Offline

    Marcaus

    whut program do i start the server with?
     
  28. Offline

    Elliott

    I've recently created a bukkit server, have experence in owning an hmod server, but for some reason I cannot use any commands expected such as /help.
     
  29. Offline

    CraftySquirrel

    I drag the file to Terminal to shortcut having the path (and making sure it's perfectly correct) and get this error:

    Code:
    dewayne-smiths-macbook:~ dewaynesmith$ /chmod +ugx /Applications/Bukkit/serverstart.command
    -bash: /chmod: No such file or directory
    Any idea why? It's Max OS 10.6.6

    I went back and tried a CD first.

    Code:
    dewayne-smiths-macbook:~ dewaynesmith$ cd /Applications/Bukkit
    dewayne-smiths-macbook:Bukkit
    dewaynesmith$ /chmod +ugx /Applications/Bukkit/serverstart.command
    -bash: /chmod: No such file or directory
    dewayne-smiths-macbook:Bukkit
    dewaynesmith$
    
    Still no dice.


    Disregard this. I'm dumb.
     
  30. Offline

    jonahrab

    Thats because Bukkit is basically a survival server without plugins. U need the general plugin and the permissions plugin for groups and commands.
     
Thread Status:
Not open for further replies.

Share This Page