VoidExpanse/scripting api: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= | = 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-friendly server setup and management. | |||
However, on console-based systems, like FreeBSD, there's always available server setup and management with console commands. | |||
=== | == Multiplayer server setup == | ||
To launch a multiplayer server on any system, your system needs to meet following requirements: | |||
* .Net/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! | |||
=== | === 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: | |||
<pre>mono AtomicTorch.SpaceRPG.Server.RuntimeWin.exe</pre> | |||
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. | |||
In SettingsServer, '''do not modfify misc and network parts'''! It may cause malifunction. | |||
You may, however, modify <server> part on your own risk. | |||
'''Create a new game''' | |||
When server starts, you can create a new game, or load an existing one. | |||
To create a new game, type | |||
<pre>-new [seed_key]</pre> | |||
to create a new server. | |||
Seed_key is a word, like "voidexpance" or "hellyeah", which will affect world generation on server. | |||
For example, if you type | |||
<pre>-new myworld</pre> | |||
random world will be created, always the same for "myworld" seed key. And if you type | |||
<pre>-new hellyeah</pre> | |||
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''. | |||
<pre>savegame</pre> - will save you game to slot 0 under the name "CurrentWorld". | |||
<pre>savegame 5 ServerNameWord</pre> - 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 | |||
<pre>-load [slot_number]</pre>, for example, <pre>-load 0</pre>. | |||
You can use the same command not only when server starts, but even during the game, just type in console: | |||
<pre>load 0</pre>, and game from specified slot will be loaded. |
Revision as of 03:25, 25 March 2014
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-friendly server setup and management. However, on console-based systems, like FreeBSD, there's always available server setup and management with console commands.
Multiplayer server setup
To launch a multiplayer server on any system, your system needs to meet following requirements:
- .Net/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!
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.
In SettingsServer, do not modfify misc and network parts! It may cause malifunction.
You may, however, modify <server> part on your own risk.
Create a new game
When server starts, you can create a new game, or load an existing one.
To create a new game, type
-new [seed_key]
to create a new server. Seed_key is a word, 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]
, for example,
-load 0
.
You can use the same command not only when server starts, but even during the game, just type in console:
load 0
, and game from specified slot will be loaded.