When I start up the server I get the message, unable to access jar file craftbukkit.jar but the server still works, but I can't type in console to stop the server or op myself. And ops.json doesn't work to op me? (Sorry, new to the whole minecraft server thing.)
Can you send us a screen shot of the console? This is most likely because you have a server instance running on the background.
@GizJaz, I have experienced this bug on more than one occasion. It's caused by an issue with Bukkit that the Bukkit team already knew about, but it's so baked into the code that it would require a LOT of work to fix. Request a lock. This isn't going to be fixed. The only fix is restarting the server until it doesn't happen. Ignore this.
I'd like to think there's at least someone I can get myself oped at least? Since into the text or console doesn't work, if I could just get op, I could stop and save the server in game because at the moment I can't even shut it down.
@GizJaz, I revoke my last post. You have no idea what you're doing right now... Please post the cmd file. Your server is not running. Here's what mine contains, but you're going to want to allocate less RAM than I do. I'm using an iMac with 12G RAM: Code: cd ~/Desktop/Bukkit/ java -Xmx4096M -Xms4096M craftbukkit.jar
Cmd file? Sorry, don't quite know what that is? Where can I find it? Edit: Oddly, the server is running though?
You ran the cmd file start_server.command didn't you? I need the contents of that file. Right click it and open with textedit.
Oh, okay. I have #!/bin/bash cd "$( dirname "$0" )" java -Xmx1024M -jar craftbukkit.jar -o true Which was on the wiki for making a bukkit server.
@GizJaz, the wiki isn't a panacea. What's the exact name of the jar in your server folder? Also, please tag people when you are speaking to them. Without tags, we do not receive a notification when you post. @ Person's name is how you do it without the spaces. You can see i Have done it to you a bunch of times already. The button is on the bottom left of teach post (it's tagh for one of the original Bukkit devs)
Did you do the chmod a+x thing correctly? Check out step 3 part 3: http://wiki.bukkit.org/Setting_up_a_server#Mac_OS_X
In that case, this is your command file. Code: #!/bin/bash cd "$( dirname "$0" )" java -Xmx1024M -jar craftbukkit_server.jar -o true
okay, thats good enough. Just eliminating wrong files and corrupted files from the mix of possibilities. What happens now when you have corrected your script file to launch the correct filename? What is your system output now?
You first showed the content of your script, which gave output that it could not find the filename it was looking for. You answered a few questions, it was deteremined your server filename was actually craftbukkit_server.jar , it was posted what your file should look like then with THAT filename, you commented that "you had that" but it didn't seem to be like you were actually paying attention to that maybe. I had you check "craftbukkit_server.jar" and you reported the file size, its a validish filesize for a server jar indeed. So using the script that has been edited to launch craftbukkit_server.jar what is the output you get?
Looks like I did misread a bit, my problem now is that almost everything in my folder kinda disappeared? It just shows the jar, logs and the world? I think I'm just gonna delete everything and restart trying to get this to work but I can't delete the file the jar is in use and I don't know how to stop that now...
Just log out of your computer and log back in. That will kill all instances of the server. As for making the server work, MAKE SURE that the name of the jar file and the text in your start cmd file are the same. In other words, you said that this was your cmd file: #!/bin/bash cd "$( dirname "$0" )" java -Xmx1024M -jar craftbukkit.jar -o true You MUST make sure that your bukkit jar file is named craftbukkit.jar. If you want to keep it as craftbukkit_server.jar, you would put this in your start cmd file: #!/bin/bash cd "$( dirname "$0" )" java -Xmx1024M -jar craftbukkit_server.jar -o true Hope that helps