Install Skript
oder im Terminal
Code: Alles auswählen
cd~;
wget https://4noobs.de/download/file.php?id=239
mv file.php\?id=239 minetest_server_for_ubuntu_with_mods_installer.sh;
chmod 750 minetest_server_for_ubuntu_with_mods_installer.sh;
./minetest_server_for_ubuntu_with_mods_installer.sh
In diesem Beispiel wird beschrieben, wie auf einem Server/vServer/Container unter Ubuntu ein 24/7 erreichbaren Minetest Server aufgesetzt und wie dieser erweitert wird.
Code: Alles auswählen
apt update; apt install software-properties-common gpg dirmngr
Schritt 1:
Paketverwaltung mit aktuellerer Community Version erweitern als in der Ubuntu Paketverwaltung vorhanden
Code: Alles auswählen
add-apt-repository ppa:minetestdevs/stable
apt-get update
Schritt 2:
Minetest auf dem Server installieren
Code: Alles auswählen
apt-get install minetest git screen
Schritt 3:
Minetest Server zum ersten mal laufen lassen damit die neue Karte generiert wird
Wichtig: niemals als root!!! Legt euch einen extra Benutzer ohne root Rechte an um den Server laufen zu lassen!
Code: Alles auswählen
minetest --server
Schritt 4:
MODs installieren
Hierfür hab ich eine Liste mit Git-Hub Quellen angelegt welche ich auch für das Update der MODs nutze.
Ihr in eurem Profilordner des Minetest Benutzerkontos den Ordner worldmods unter ~/.minetest/worlds/world/ anlegen.
Code: Alles auswählen
mkdir -p ~/.minetest/worlds/world/worldmods; cd ~/.minetest/worlds/world/worldmods
Code: Alles auswählen
nano git_mod.sh
Inhalt meiner git_mod.sh
Quellen: https://content.minetest.net/packages/?type=mod
Code: Alles auswählen
path=~/.minetest/worlds/world/worldmods
mkdir -p $path;
### Gameplay
cd $path;
git clone --recursive https://github.com/minetest-mods/unified_inventory.git unified_inventory;
cd unified_inventory;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/protector.git protector;
cd protector;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/simple_skins.git simple_skin;
cd simple_skin;
git pull;
cd $path;
git clone --recursive https://repo.or.cz/minetest_hudbars.git hudbars;
cd hudbars;
git pull;
cd $path;
git clone --recursive https://github.com/minetest-mods/wielded_light.git wielded_light;
cd wielded_light;
git pull;
cd $path;
git clone --recursive https://gitlab.com/VanessaE/signs_lib.git signs_lib;
cd signs_lib;
git pull;
cd $path;
git clone --recursive https://github.com/minetest-mods/drawers.git drawers;
cd drawers;
git pull;
### Mobs
cd $path;
git clone --recursive https://notabug.org/TenPlus1/mobs_redo.git mobs_redo;
cd mobs_redo;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/mobs_water.git mobs_water;
cd mobs_water;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/mobs_animal.git mobs_animal;
cd mobs_animal;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/mob_horse.git mob_horse;
cd mob_horse;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/mobs_sky.git mobs_sky;
cd mobs_sky;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/bees.git bees;
cd bees;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/mobs_monster.git mobs_monster;
cd mobs_monster;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/creeper.git creeper;
cd creeper;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/mobs_npc.git mobs_npc;
cd mobs_npc;
git pull;
### Weapons
cd $path;
git clone --recursive https://notabug.org/TenPlus1/bows.git bows;
cd bows;
git pull;
cd $path;
git clone --recursive https://github.com/minetest-mods/3d_armor.git 3d_armor;
cd 3d_armor;
git pull;
### Nether
cd $path;
git clone --recursive https://github.com/minetest-mods/nether.git nether;
cd nether;
git pull;
cd $path;
git clone --recursive https://github.com/rael5/minetest-nether-monsters.git minetest-nether-monsters;
cd minetest-nether-monsters;
git pull;
### Magie
cd $path;
git clone --recursive https://github.com/appgurueu/hud_timers.git hud_timers;
cd hud_timers;
git pull;
cd $path;
git clone --recursive https://github.com/appgurueu/modlib.git modlib;
cd modlib;
git pull;
# depends modlib and hud_timers
cd $path;
git clone --recursive https://github.com/appgurueu/magic_potions.git magic_potions;
cd magic_potions;
git pull;
cd $path;
git clone --recursive https://github.com/AidanLCB/overpowered.git overpowered;
cd overpowered;
git pull;
### eat and food
cd $path;
git clone --recursive https://notabug.org/TenPlus1/farming.git farmingplus;
cd farmingplus;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/wine.git wine;
cd wine;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/bonemeal.git bonemeal;
cd bonemeal;
git pull;
### decor
cd $path;
git clone --recursive https://gitlab.com/VanessaE/basic_materials.git basic_materials;
cd basic_materials;
git pull;
cd $path;
git clone --recursive https://gitlab.com/VanessaE/unifieddyes.git unifieddyes;
cd unifieddyes;
git pull;
# (needs basic_materials and unifieddyes)
cd $path;
git clone --recursive https://gitlab.com/VanessaE/homedecor_modpack.git homedecor_modpack;
cd homedecor_modpack;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/doors.git doors;
cd doors;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/boats.git boats;
cd boats;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/wool.git wool;
cd wool;
git pull;
### Technic
cd $path;
git clone --recursive https://gitlab.com/VanessaE/pipeworks.git pipeworks;
cd pipeworks;
git pull;
cd $path;
git clone --recursive https://github.com/mt-mods/technic.git technic;
cd technic;
git pull;
cd $path;
git clone --recursive https://github.com/minetest-mods/mesecons.git mesecons;
cd mesecons;
git pull;
cd $path;
git clone --recursive https://github.com/minetest-mods/digilines.git digilines;
cd digilines;
git pull;
cd $path;
git clone --recursive https://github.com/theFox6/factory.git factory;
cd factory;
git pull;
cd $path;
git clone --recursive https://github.com/minetest-mods/MoreMesecons.git MoreMesecons;
cd MoreMesecons;
git pull;
cd $path;
git clone --recursive https://github.com/minetest-mods/digtron.git digtron;
cd digtron;
git pull;
cd $path;
git clone --recursive https://gitlab.com/VanessaE/currency.git currency;
cd currency;
git pull;
cd $path;
git clone --recursive https://notabug.org/TenPlus1/hopper.git hopper;
cd hopper;
git pull;
### Mobility
cd $path;
git clone --recursive https://github.com/Sokomine/travelnet.git travelnet;
cd travelnet;
git pull;
cd $path;
git clone --recursive https://git.bananach.space/advtrains.git advtrains;
cd advtrains;
git pull;
cd $path;
git clone --recursive https://github.com/D00Med/vehicles.git vehicles;
cd vehicles;
git pull;
cd $path;
git clone --recursive https://git.bananach.space/advtrains.git advtrains;
cd advtrains;
git pull;
### Village
cd $path;
git clone --recursive https://github.com/Sokomine/handle_schematics.git handle_schematics;
cd handle_schematics;
git pull;
cd $path;
git clone --recursive https://github.com/theFox6/working_villages.git working_villages;
cd working_villages;
git pull;
cd $path;
git clone --recursive https://gitlab.com/freelikegnu/witches.git witches;
cd witches;
git pull;
Code: Alles auswählen
chmod 750 git_mod.sh; ./git_mod.sh
Schritt 5:
Screen installieren um den Minetest Server permanent laufen lassen zu können, auch nach verlassen der SSH Session
Code: Alles auswählen
sudo apt install screen
Schritt 6:
Minetest Server in Screen starten
Code: Alles auswählen
screen minetest --server
Nun könnt Ihr auch die SSH Session schließen.
Aufrufen könnt Ihr die Session jederzeit mit
Code: Alles auswählen
screen -r
Code: Alles auswählen
screen SESSIONNAME -r