Easy Stendhal Installation On Windows

From Arianne

Jump to: navigation, 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 0.86, 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 :)

Contents


Get server files

The server files are available as a .zip.

  • Go to download files and download stendhal-server-0.86.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:

Configure server

You need to use the windows command prompt next. Go to your windows Start Menu, and Select Run... then type cmd.

File:WinGuide4.jpg

Use cd (change directory) to get to the stendhalserver folder. If you saved it on your Desktop this is easy for you, just type

cd Desktop
cd stendhalserver

File:WinGuide5.jpg

At prompt copy from here and hit enter:

java -cp stendhal-server-0.86.jar games.stendhal.server.core.engine.GenerateINI

File:WinGuide5b.jpg

Then just hit enter twice more to accept the defaults offered

File:WinGuide6.jpg

There will be a delay, please wait until you see the line 'server.ini has been generated' as below:

File:WinGuide7.jpg

Run the server

Still within the command prompt, now just type

java -jar stendhal-server-0.86.jar 

File:WinGuide9.jpg

Here are the first few lines you will see:

File:WinGuide10.jpg

and then you will see zones, and finally quests loading. When it is ready you will see 'marauroa is up and running' as below:

File:WinGuide11.jpg


Alternatively, simply double click runserver.bat which is inside your stendhalserver folder!

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-0.86.zip

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

Image:CreateNewAccountLocalhost.png

Warning: :

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

Image:LoginLocalhost.png

Make yourself an admin

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

  • Go into data
  • Go into conf
  • Edit the admins.txt file with your favourite text editor, e.g. Notepad
  • Add the admin names to the list and hit enter at the end of the last one

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

Personal tools
stendhal for players