User:Shjohnson.pi/sandbox2

I have a problem which is not answered in here! What should I do to?
Go to the  (Minecraft Forums) and post your problem there. To help you, they need the following information: And please, if we were able to help you, post where the problem was exactly and what the fix was for that. Other people will appreciate that (and we will be able to get a grip on the common problems)!
 * Operating system
 * Version of Java
 * One machine or multiple computers
 * Exact description of the problem
 * Steps you have taken to solve the problem
 * Any errors you encountered
 * Screenshots of the problem (if possible)
 * Anything else that might help us to solve your problem - there almost never is too much information (passwords would be too much information!)

On a Windows computer, when I double click the batch file it opens a command prompt window, but quickly disappears and the server does not start.
Right-click your .bat program and hit edit; add a new line and type  save and run the file. If it says invalid path, it is probably due to an incorrect path for javaw.exe or your server software. You may just need to change  to. Or search your system for javaw.exe and adjust the path accordingly. (It's probably under  or  .) Also, you must have the offline version of Java installed—not just the Java plug-in for your browser.

You can also try replacing the contents of the .bat file with: START "minecraft" "C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms1024m -Xmx1024m -jar "Minecraft_Server.exe" amending name values/locations as required

Whenever I try to get the server up, it says "Failed to bind to port!".
This usually means that you have tried to use a port that is already in use or that you do not have permission to use (ports < 1024 are privileged and require root to bind to). You can try a different port by changing it in your  file in this line:.

Note: You should avoid using the following ports for your server as some ISPs may block these ports for security reasons and you shouldn't be running the Minecraft server as root (in the case of a Linux type OS and ports < 1024):
 * 21 (Used by most FTP Servers)
 * 22 (Used by Secure Shell daemon)
 * 25 (Used by Mail Servers for SMTP)
 * 53 (Used by DNS Servers)
 * 80 (Used by most Web Servers)
 * 110 (Used by most Mail Servers for POP3)
 * 115 (Used by Simple File Transfer Protocol)
 * 143 (Used by Mail Servers for IMAP)
 * 443 (SSL port for Web Servers)
 * 3306 (Used by most MySQL Servers)

Generally avoid any port below number 1024, since those ports are generally referred as well-known ports and are registered with the IANA for important services.

I tried to run the server with Solaris/OpenSolaris but got an error:
java.io.InterruptedIOException: Operation interrupted at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.net.SocketInputStream.read(SocketInputStream.java:182) at java.io.FilterInputStream.read(FilterInputStream.java:66) at gq.a(SourceFile:131) at ji.g(SourceFile:197) at ji.c(SourceFile:17) at oq.run(SourceFile:84) 2011-05-31 16:57:26 [INFO] /:44673 lost connection

For whatever reason, out of all of the operating systems, only Solaris throws that exception when a thread interrupts a connection. A workaround is to change the default behavior on the command line:

java -Xmx1G -Xms32M -XX:-UseVMInterruptibleIO -XX:+UseConcMarkSweepGC \ -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts\ -jar minecraft.jar nogui

This instructs Java to use an interruptible IO stack instead of the default IO that is sensitive to interrupted threads.

I cannot break/place any blocks!?
Walk away from your spawn area. You cannot break or place blocks near spawn (unless you are operator on the server).

My server runs fine but I cannot connect to it!
This could be caused by a series of issues. Please post a thread using the template provided above.

How do you give a .jar server more ram?
Change the numbers in the server launch command "-Xmx1G -Xms1G". The -Xms part specifies how much memory the server starts with, and the -Xmx part is the maximum amount of memory the server can use. = 1GB = 2GB And so on.

How do I play on a LAN without access to the internet?
Note: This information is possibly outdated with the new launcher

Set up an ad-hoc server—instructions for that are available elsewhere, and vary by your platform. In server.properties, change online-mode to false. Each player that wishes to join must use one of the following:

Windows batch:

@ECHO OFF java -Xms512M -Xmx1024M -cp "%APPDATA%\.minecraft\bin\*"; ^ -Djava.library.path="%APPDATA%\.minecraft\bin\natives" ^ net.minecraft.client.Minecraft "USERNAME" PAUSE

Linux Bash (typical):

java -Xmx1024M -Xms512M -cp $HOME/.minecraft/bin/minecraft.jar:\ $HOME/.minecraft/bin/lwjgl.jar:\ $HOME/.minecraft/bin/lwjgl_util.jar:\ $HOME/.minecraft/bin/jinput.jar:\ -Djava.library.path=$HOME/.minecraft/bin/natives \ net.minecraft.client.Minecraft "USERNAME"

Don't be tempted to substitute "~" for "$HOME". It doesn't seem to interpolate as expected.

OS X:

java -Xmx1024M -Xms512M -cp \ $HOME/Library/Application\ Support/minecraft/bin/minecraft.jar:\ $HOME/Library/Application\ Support/minecraft/bin/lwjgl.jar:\ $HOME/Library/Application\ Support/minecraft/bin/lwjgl_util.jar:\ $HOME/Library/Application\ Support/minecraft/bin/jinput.jar:\ -Djava.library.path=\ $HOME/Library/Application\ Support/minecraft/bin/natives \ net.minecraft.client.Minecraft "USERNAME"

Find your local IP, and other clients connect to that. If you run the client on the same computer that is acting as the server, connect to "localhost" (aka 127.0.0.1).

Note that if you run your server in offline mode, there is no authentication. This means that anyone who can access the server can connect with any username they want—including yours—without needing a password. When they do this, it will disconnect anyone using that same username. Ensure you're on a trusted network with appropriate isolation from the Internet.

Help! How do you find out your server's IP address?
Read