grantcarthew / minetest-notes

Minetest documentation and resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minetest Notes

Main Server

  • Build: 5.0.1
  • Game: minetest_game
  • World: /minetest/main/world
  • craftguide mod: 1.11b <= latest version that supports 5.0.1

Building Minetest

Install dependencies:

sudo apt update
# Install command from the Minetest documentation. Then install libncurses-dev to enable --terminal support.
sudo apt install libncurses-dev

Clone the minetest repo

https://github.com/minetest/minetest

git branch to list the branches and checkout the latest version branch.

Follow the build instructions on the page. Most recently used:

cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE -DENABLE_CURSES=ON -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)

Change directory into the games directory and clone in the games you want. Capture the flag (https://github.com/MT-CTF/capturetheflag) requires some update scripts run. Be warned that they fix the settings in the lua scripts.

Update a minetest.conf file with desired settings. See an example below.

Launch with a command like:

#!/bin/bash
/opt/mt/main/bin/minetestserver --info --config /opt/mt/main/minetest.conf

Upgrade Plan

Start by backing up the current stable game files.

Compile the server version you wish to have:

cd /minetest/main
git status
git checkout 5.0.0
git pull
cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)

Update the minetest_game:

cd /minetest/main/games/minetest_game
git status
git pull
git checkout 5.0.0

Update mods with the following:

Note: This typically causes problems. It would be better to update each mod and test the result.

cd /minetest/main/mods
find . -mindepth 1 -maxdepth 1 -type d -print -exec git -C {} pull \;

Mods

Installed into: /minetest/main/mods

Settings file: /minetest/main/mods/settings.conf <= Currently only used for ethereal.

Installed mods:

  • craftguide - http://github.com/minetest-mods/craftguide
  • underch - https://gitlab.com/h2mm/underch
  • 3dr_armor
  • castle_tapestries
  • farming
  • hangglider
  • lavastuff
  • mobs - https://notabug.org/TenPlus1/mobs_redo.git
  • moretrees
  • petz
  • simple_skins
  • unifieddyes
  • awards
  • cottages
  • food
  • homedecor_modpack
  • lightning
  • mobs_animal
  • nether
  • pipeworks
  • sling
  • weather
  • basic_materials
  • craftguide
  • formspecs
  • hook
  • livetools
  • mobs_monster
  • node_ownership
  • plantlife_modpack
  • technic
  • wielded_light
  • beacons
  • crops
  • giftbox
  • hot_air_balloons
  • minetest-manners
  • mods_here.txt
  • orbs_of_time
  • plasterwork
  • throwing
  • xdecor
  • bike
  • digtron
  • glooptest
  • item_strings
  • minetest-meseportals
  • moreblocks
  • ownership
  • pontoons
  • uchu
  • xocean
  • biome_lib
  • ethereal
  • gocm_carbon
  • kpgmobs
  • minetest-toolranks
  • moreores
  • paleotest
  • portalgun
  • underch

Mod Git Repos:

Using the following command from inside the mods directory produced the below list:

find ./**/.git -name "config" | xargs cat | grep url | sed -e 's/^.*url = /* /'

Updated mods:

  • awards
  • mobs
  • mobs_animals
  • mobs_monsters
  • underch
  • ethereal
  • petz

Update failed:

  • craftingguide

Todo:

minetest.conf

craftguide_progressive_mode = true craftguide_sfinv_only = true name = roobunya port = 30000 server_name = JREP server_description = Minetest carthew family server. server_address = mt.carthew.net server_announce = false serverlist_url = servers.minetest.net default_game = minetest map-dir = /var/games/minetest-server/.minetest/worlds/world motd = Welcome to Minetest. Enjoy your stay! max_users = 15 enable_pvp = false creative_mode = false enable_damage = true default_privs = interact, shout, sethome, home default_password = December disallow_empty_password = true disable_anticheat = false display_gamma = 3.0 mg_name = valleys

About

Minetest documentation and resources.

License:MIT License


Languages

Language:Shell 100.0%