VoidExpanse/Server setup: Difference between revisions

From AtomicTorchWiki
(Created page with "= Multiplayer server setup = == GUI for multiplayer server == '''Currently in development''' We are planning to create a gui for Windows, Mac and Linux to provide easy, user...")
 
No edit summary
Line 3: Line 3:
== GUI for multiplayer server ==
== GUI for multiplayer server ==


'''Currently in development'''
'''The GUI is currently in development.''' We are planning to create a gui for Windows, Mac and Linux to provide easy, user-friendly server setup and management. However, on console-based systems, like FreeBSD, there are also standard console commands for server setup and management.
We are planning to create a gui for Windows, Mac and Linux to provide easy, user-friendly server setup and management.
However, on console-based systems, like FreeBSD, there's always available server setup and management with console commands.




Line 11: Line 9:


To launch a multiplayer server on any system, your system needs to meet following requirements:
To launch a multiplayer server on any system, your system needs to meet following requirements:
* .Net/Mono, compatible with .net framework 4.0
* .NET or Mono, compatible with .NET Framework 4.0


=== Installation ===
=== Installation ===
1. Copy the following files from game distributive to your server machine:
1. Copy the following files from game distributive to your server machine:
* folder Server
* folder "Server"
* folder Mods
* folder "Mods"


Installation complete!
Installation complete!
Or you can actually run the server from the same folder as it is distributed with the game.


=== Launch ===
=== Launch ===


====Windows====
====Windows====
Launch AtomicTorch.SpaceRPG.Server.RuntimeWin.exe from ./Server/ folder.
Launch ''AtomicTorch.SpaceRPG.Server.RuntimeWin.exe'' from ''./Server/'' folder.


====Other system with Mono====
====Other system with Mono====
Launch AtomicTorch.SpaceRPG.Server.RuntimeWin.exe from ./Server/Mono folder with mono,
Launch ''AtomicTorch.SpaceRPG.Server.RuntimeWin.exe'' from ''./Server/Mono'' folder with mono,
like this:
like this:
<pre>mono AtomicTorch.SpaceRPG.Server.RuntimeWin.exe</pre>
<pre>mono AtomicTorch.SpaceRPG.Server.RuntimeWin.exe</pre>
Line 36: Line 36:


'''SettingsServer.xml'''
'''SettingsServer.xml'''
Most of settings are stored in SettingsServer.xml, which is located in the same folder as server .exe file.
Most of settings are stored in ''SettingsServer.xml'', which is located in the same folder as server .exe file.
If it's not there, launch server once with "-new" argument, and it'll be created automatically.
If it's not there, launch server once with "-new" argument, and it'll be created automatically and placed in the main folder.


In SettingsServer, '''do not modfify misc and network parts'''! It may cause malifunction.
In ''SettingsServer.xml'', '''do not modfify misc and network parts'''! It may cause malifunction if you modify something in a way it is not intended to be.


You may, however, modify <server> part on your own risk.
You may, however, modify <server> part on your own risk. There you can setup some server configurations that would affect gameplay.




'''Create a new game'''
===Create a new game===
When server starts, you can create a new game, or load an existing one.
When server starts, you can create a new game, or load an existing one.
To create a new game, type to create a new server^
To create a new game, type to create a new server:
<pre>-new [seed_key]</pre>
<pre>-new [seed_key]</pre>
Seed_key is a word, which is used like seed value for random-based generation, like "voidexpance" or "hellyeah", which will affect world generation on server.
Seed_key is a word, which is used like seed value for random-based generation, like "voidexpance" or "hellyeah", which will affect world generation on server.
Line 58: Line 58:




====Saving game====
===Saving game===
In multiplayer mode, server automatically saves game every time interval, specified in SettingsServer.xml (autosave_delay parameter).
In multiplayer mode, server automatically saves game every time interval, specified in SettingsServer.xml (autosave_delay parameter).
You can save server game with console command ''savegame''.
You can save server game with console command ''savegame''.
Line 64: Line 64:
<pre>savegame 5 ServerNameWord</pre> - will save you game to slot 5 under the name "ServerNameWord".
<pre>savegame 5 ServerNameWord</pre> - will save you game to slot 5 under the name "ServerNameWord".


====Loading game====
===Loading game===
When server starts, you can create a new game, or load an existing one.
When server starts, you can create a new game, or load an existing one.
To load an existing game, use command:
To load an existing game, use command:

Revision as of 07:20, 26 March 2014

Multiplayer server setup

GUI for multiplayer server

The GUI is currently in development. We are planning to create a gui for Windows, Mac and Linux to provide easy, user-friendly server setup and management. However, on console-based systems, like FreeBSD, there are also standard console commands for server setup and management.


Multiplayer server setup

To launch a multiplayer server on any system, your system needs to meet following requirements:

  • .NET or Mono, compatible with .NET Framework 4.0

Installation

1. Copy the following files from game distributive to your server machine:

  • folder "Server"
  • folder "Mods"

Installation complete!

Or you can actually run the server from the same folder as it is distributed with the game.

Launch

Windows

Launch AtomicTorch.SpaceRPG.Server.RuntimeWin.exe from ./Server/ folder.

Other system with Mono

Launch AtomicTorch.SpaceRPG.Server.RuntimeWin.exe from ./Server/Mono folder with mono, like this:

mono AtomicTorch.SpaceRPG.Server.RuntimeWin.exe


Launch complete!

Settings

SettingsServer.xml Most of settings are stored in SettingsServer.xml, which is located in the same folder as server .exe file. If it's not there, launch server once with "-new" argument, and it'll be created automatically and placed in the main folder.

In SettingsServer.xml, do not modfify misc and network parts! It may cause malifunction if you modify something in a way it is not intended to be.

You may, however, modify <server> part on your own risk. There you can setup some server configurations that would affect gameplay.


Create a new game

When server starts, you can create a new game, or load an existing one. To create a new game, type to create a new server:

-new [seed_key]

Seed_key is a word, which is used like seed value for random-based generation, like "voidexpance" or "hellyeah", which will affect world generation on server. For example, if you type

-new myworld

random world will be created, always the same for "myworld" seed key. And if you type

-new hellyeah

random world will be created too, but different from the one you'll get with "myworld". In other words, seed_key word defines generated world. Feel free to experiment, type in you nickname to create your personal world =)


Saving game

In multiplayer mode, server automatically saves game every time interval, specified in SettingsServer.xml (autosave_delay parameter). You can save server game with console command savegame.

savegame

- will save you game to slot 0 under the name "CurrentWorld".

savegame 5 ServerNameWord

- will save you game to slot 5 under the name "ServerNameWord".

Loading game

When server starts, you can create a new game, or load an existing one. To load an existing game, use command:

-load [slot_number]

You can use the same command not only when server starts, but even during the game, just type in console:

load 0