Setting up a Multiplayer Server: Difference between revisions

From Vintage Story Wiki
Marked this version for translation
m (fmt)
(Marked this version for translation)
Tags: Mobile edit Mobile web edit
Line 188: Line 188:
The rest of the normal advice applies too (firewalling etc.).
The rest of the normal advice applies too (firewalling etc.).


==== Updating Servers ====
==== Updating Servers ==== <!--T:89-->


<!--T:90-->
If you want to install a newer version, remove all installation files first, or you'll get unforseeable behavior. If you chose a data folder inside the installation folder, make sure to not delete that one, or you'll loose your save games, settings and player data.  
If you want to install a newer version, remove all installation files first, or you'll get unforseeable behavior. If you chose a data folder inside the installation folder, make sure to not delete that one, or you'll loose your save games, settings and player data.  
Download the "Tar.gz Archive/Linux (server only)" file and extract it. If you have a remote installation and only a FTP connection to your server, you will have to unpack it locally and upload each file.
Download the "Tar.gz Archive/Linux (server only)" file and extract it. If you have a remote installation and only a FTP connection to your server, you will have to unpack it locally and upload each file.
Line 200: Line 201:
On Linux it's located at '''./data/serverconfig.json''' of your server directory (e.g. ''/home/vintagestory/server/data/serverconfig.json'' if setup like described here)
On Linux it's located at '''./data/serverconfig.json''' of your server directory (e.g. ''/home/vintagestory/server/data/serverconfig.json'' if setup like described here)


<!--T:91-->
{{Protip
{{Protip
|The easiest way to get a world configured to your wishes is to first create it in Single Player, using the advanced world creating options - and then upload it to use as your server world.
|The easiest way to get a world configured to your wishes is to first create it in Single Player, using the advanced world creating options - and then upload it to use as your server world.
Line 221: Line 223:
Lastly, you can configure a server that was created with the 'Open to Lan' method in the same way as you do for dedicated ones, be aware though, in that case a few of the configurations are overridden by the client, such as the save file location.
Lastly, you can configure a server that was created with the 'Open to Lan' method in the same way as you do for dedicated ones, be aware though, in that case a few of the configurations are overridden by the client, such as the save file location.


===Acquiring server admin rights===
===Acquiring server admin rights=== <!--T:92-->


<!--T:93-->
If you have access to the server console, type <code>/op playername</code>. If not, open up the serverconfig.json and replace
If you have access to the server console, type <code>/op playername</code>. If not, open up the serverconfig.json and replace
<code>"StartupCommands": null,</code>
<code>"StartupCommands": null,</code>
Line 228: Line 231:
<code>"StartupCommands": "/op playername",</code>
<code>"StartupCommands": "/op playername",</code>


<!--T:94-->
In both instances you should replace <code>playername</code> with your actual player name.
In both instances you should replace <code>playername</code> with your actual player name.


Confirmedusers, editor
749

edits