Easy Stendhal Server Installation On Windows

From Arianne
Jump to navigation Jump to search


The install process for a Stendhal server on Windows is just a few easy steps.

This guide applies to Stendhal 0.81 and above. The current Stendhal version is 1.46, but the pictures below show the version number blurred out (for future proofing!)

If you need any help then please connect to #arianne, ask your question and hang around for a reply :)

Get server files

The server files are available as a .zip.

  • Go to download files and download stendhal-server-1.46.zip
  • Save it on your desktop
  • Extract the files into a folder on your desktop called stendhalserver
In Windows XP you extract the zip by right clicking and select Extract All
In Vista you double click the zip to view the items and then click on Extract all files
In both cases, choose to extract to Desktop\stendhalserver (I typed it in, and the folder was created)

Here is roughly what you should see inside the stendhalserver folder:

StendhalH2WinGuide01.png

Configure and run the server

Double click runserver.bat which is inside your stendhalserver folder.

StendhalH2WinGuide02.png

This will open a command window:

StendhalH2WinGuide03.png

Just hit enter twice to accept the defaults offered:

StendhalH2WinGuide04.png

Warning: If you decide to specify a RSA key size, then don't choose a value smaller than the default [512].

There will be a delay while the key is generated, please be patient.

StendhalH2WinGuide05.png

When the generation of the key has finished, the server will be run immediately. Here are the first few lines you will see:

StendhalH2WinGuide06.png

And then you will see zones loading:

StendhalH2WinGuide07.png

And finally quests loading:

StendhalH2WinGuide08.png

When it is ready you will see 'marauroa is up and running' as below:

StendhalH2WinGuide09.png

To stop the server you just need to press CTRL+C in that window, and then type y to the yes/no question.

StendhalH2WinGuide10.png

To start the server again, just double-click the runserver.bat file as in the beginning of this step. The program will detect that the server has already been configured (i.e. that a server.ini file exists) and will just start the server.

Connect to localhost

If you have already the client installed to connect to the public server, you can use it if it is the same version. However, you have to connect to localhost server and create a new account there.

If you didn't already have a Stendhal client, you need to download stendhal-FULL-1.46.zip

Unzip the Folder that you get, wherever you choose. Then double-click the stendhal-1.46.jar file and create a new account, with Server Name localhost instead of the default server.

CreateNewAccountLocalhost.png

Warning: :

And the same everytime you want to connect to your server: choose the localhost server.

LoginLocalhost.png

Make yourself an admin

There's already a folder called data in the stendhal server folder

  • Go into data

StendhalH2WinGuide11.png

  • Go into conf

StendhalH2WinGuide12.png

  • Edit the admins.txt file ( it is named just admins if file extensions are hidden in your system ). You can use your favourite text editor, e.g. Notepad

StendhalH2WinGuide13.png

  • Add the admin names to the list and hit enter at the end of the last one

StendhalH2WinGuide14.png

  • Save the file and close the text editor

Now restart your server, and it will read the names from admins.txt and give them adminlevel 5000!

Any problems? Please connect to #arianne, ask your question and hang around for a reply :)

See Also

Trouble shooting

How to host an online Stendhal server

H2 database control