Installation


System Requirements

Install Unity 2 Multiuser Server

You can get the version of your Unity install with the "version" argument. On Windows this would be:

java -cp lib\unity_core.jar;lib\log4j.jar org.moock.unity.core.Unity version

Running Unity 2 Multiuser Server

Start Unity 2 Multiuser Server from the command line in directory UNITY_HOME using the start up scripts provided.

Windows

Unix/Linux

Mac

Start startserver.bat startserver.sh startserver_mac.sh
Restart restartserver.bat restartserver.sh restartserver_mac.sh
Stop stopserver.bat stopserver.sh stopserver_mac.sh

The bundled scripts will start the server on port 9100. Success or failure will be immediately reported at the command line. All further logging can be found in log.txt created in UNITY_HOME.

The scripts are meant to work with the default install of Unity 2 Multiuser Server. You will want to edit them to suit your needs once you have verified the server install. Change:

APORT to the admin port specified in uconfig.xml which listens for incoming admin connections
PASSWORD to the password set in uconfig.xml to validate admin connections

For more information on configuring Unity, see configuration instructions.

Install Java

If your machine doesn't have a Java installed you will have to download either a Runtime Environment (JRE) or Development Kit (JDK). You will need a JDK if you plan on making customized Rooms. You can download Java free from Sun here. If you use Linux you can also get binaries at Blackdown.

Follow the install instructions for your OS. For convenience you will want to make sure that the Java binaries are in your system's PATH so that you can run Java from the command line from any directory.

You can verify your install and version by typing "java -version" from the command line.

On Windows systems the PATH will likely be automatically set when you install Java.

to Configuration --->