Multiplayer Server: Difference between revisions

From VoxeLibre Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:


===Install VoxeLibre===
===Install VoxeLibre===
Connect in a terminal to your VPS server over ssh and go to the folder /var/www/minetest/games. Clone the actual version of VoxeLibre into this folder (git clone https://git.minetest.land/VoxeLibre/VoxeLibre).
Connect in a terminal to your VPS server over ssh and go to the folder /var/www/minetest/games. Clone the actual version of VoxeLibre into this folder <pre>git clone https://git.minetest.land/VoxeLibre/VoxeLibre</pre>


After installation of the game, you have to change the ''minetest.conf'' file in /home/yunohost.app/minetest/.minetest
After installation of the game, you have to change the ''minetest.conf'' file in /home/yunohost.app/minetest/.minetest. Scroll trough the file in a text editor and change server_address to the server you named in yunohost (e.g., if you installed luanti in a subfolder "luanti" in yunohost on your domain "yourdomain.fr", you would set <pre>server_address  = luanti.yourdomain.fr</pre>
 
If you want only play VoxeLibre, you can change default_game into "VoxeLibre". You have to change map-dir into <pre>/home/yunohost.app/minetest/.minetest/worlds/world
</pre>
 
Your are ready now to start the server:
<pre>bin/luantiserver --gameid VoxeLibre</pre>

Latest revision as of 14:28, 16 March 2025

You can install Luanti on a server you run at home or on a VPS.

VPS (Virtual Private Server)[edit | edit source]

Described here is the start of a VPS at ecowan with preinstalled yunohost – a user friendly server variant based on Linux.

Install Luanti[edit | edit source]

After configuring your yunohost (connect to your domain setting up the DNS), you can open your yunohost admin panel and install Luanti. Choose in Applications > Games the app Minetest (Minetest has be renamed to Luanti, but in yunohost, it is still "Minetest"). Luanti will not be shown as tile on your user interface – you have to start it over a terminal.

Install VoxeLibre[edit | edit source]

Connect in a terminal to your VPS server over ssh and go to the folder /var/www/minetest/games. Clone the actual version of VoxeLibre into this folder

git clone https://git.minetest.land/VoxeLibre/VoxeLibre

After installation of the game, you have to change the minetest.conf file in /home/yunohost.app/minetest/.minetest. Scroll trough the file in a text editor and change server_address to the server you named in yunohost (e.g., if you installed luanti in a subfolder "luanti" in yunohost on your domain "yourdomain.fr", you would set

server_address  = luanti.yourdomain.fr

If you want only play VoxeLibre, you can change default_game into "VoxeLibre". You have to change map-dir into

/home/yunohost.app/minetest/.minetest/worlds/world

Your are ready now to start the server:

bin/luantiserver --gameid VoxeLibre