Browse Source

rename, move, improve conf files, install them with the script

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
86b1daa975
  1. 5
      minetest.conf.lanclient
  2. 9
      patches/subgame/minetest.LAN-client-example.conf
  3. 4
      patches/subgame/minetest.client-example.conf
  4. 23
      patches/subgame/minetest.conf
  5. 22
      patches/subgame/minetest.server-example.conf
  6. 10
      webapp/install-mts.sh
  7. 2
      webapp/reset-minetest.sh

5
minetest.conf.lanclient

@ -1,5 +0,0 @@
fallback_font_size = 22
address = fcalocal
name = fcalocal
font_size = 22
serverlist_url =

9
patches/subgame/minetest.LAN-client-example.conf

@ -0,0 +1,9 @@
maintab_LAST = online
fallback_font_size = 22
# address = fcalocal
# name = fcalocal
font_size = 22
serverlist_url =
# serverlist_file = favoriteservers.txt
public_serverlist = false
enable_local_map_saving = true

4
minetest.conf.client → patches/subgame/minetest.client-example.conf

@ -51,8 +51,8 @@ remote_port = 30000
#selected_world_path = #selected_world_path =
server_announce = false server_announce = false
server_dedicated = false server_dedicated = false
serverlist_file = favoriteservers.txt # serverlist_file = favoriteservers.txt
serverlist_url = servers.minetest.net # serverlist_url =
smooth_lighting = true smooth_lighting = true
texture_clean_transparent = true texture_clean_transparent = true
#texture_min_size = 64 #texture_min_size = 64

23
patches/subgame/minetest.conf

@ -1,20 +1,5 @@
# In case user of an Enliven server wants to start their own server via the graphical user interface:
protector_flip = true
protector_radius = 7
protector_pvp = true
#protector_pvp_spawn = 10
#protector_drop false since can allow glitch jumping
protector_drop = false
protector_hurt = 3
#optional:
map_generation_limit = 5000
#do not give fast priv for default_privs, since that can allow glitch-jumping over or through protected walls by jumping across or out of water
default_privs = interact,shout,home
#optional: max_users default is 15
max_users = 50
motd = "Actions and chat messages are logged. Recipes are in unified inventory mod. Otherwise visit the server's website for more info about mods and live map if available--if not, see http://wiki.minetest.net/Main_Page and https://github.com/minetest-technic/technic/wiki"
disallow_empty_passwords = true
#not all settings can be changed in this minetest.conf (see # DON'T USE THIS -- instead, see:
#minetest.conf.example in THIS folder) some settings can only be changed # * minetest.client-example.conf
#in client's local copy of minetest.conf (see login scripts on network) # * minetest.LAN-client-example.conf
# * minetest.server-example.conf (should be installed by install scripts)

22
minetest.conf.server → patches/subgame/minetest.server-example.conf

@ -3,13 +3,15 @@ protector_radius = 7
protector_flip = true protector_flip = true
protector_pvp = true protector_pvp = true
#protector_pvp_spawn = 10 #protector_pvp_spawn = 10
#protector_drop false since can allow glitch jumping (deprecated in latest git version) # protector_drop = false # true can allow item duplication (option not available in later ~2018 versions of mobs redo)
protector_drop = false protector_drop = false
protector_hurt = 3 protector_hurt = 3
#optional: #optional:
map_generation_limit = 4096 map_generation_limit = 4096
#only for worldedge mod: #only for worldedge mod:
world_edge = 4096 world_edge = 4096
#do not give fast priv for default_privs, since that can allow glitch-jumping over or through protected walls by jumping across or out of water #do not give fast priv for default_privs, since that can allow glitch-jumping over or through protected walls by jumping across or out of water
default_privs = interact,shout,home default_privs = interact,shout,home
#optional: max_users default is 15 #optional: max_users default is 15
@ -18,11 +20,17 @@ max_users = 50
motd = "Actions and chat messages are logged. Use inventory to see recipes." motd = "Actions and chat messages are logged. Use inventory to see recipes."
disallow_empty_passwords = true disallow_empty_passwords = true
secure.trusted_mods = advanced_npc secure.trusted_mods = advanced_npc
server_dedicated = false
hudbars_bar_type = statbar_modern # server_dedicated is added by the install script, true/false
sprint_speed = 2.25 # conditionally (see install script):
sprint_jump = 1.25 # server_dedicated = false
sprint_stamina_drain = .5
# DEPRECATED??
# hudbars_bar_type = statbar_modern
# sprint_speed = 2.25
# sprint_jump = 1.25
# sprint_stamina_drain = .5
#player_model_version = default_character_v3 #player_model_version = default_character_v3
#playeranim.model_version = MTG_4_Jun_2017 #playeranim.model_version = MTG_4_Jun_2017
playeranim.model_version = MTG_4_Nov_2017 playeranim.model_version = MTG_4_Nov_2017
@ -32,4 +40,6 @@ playeranim.model_version = MTG_4_Nov_2017
#in client's local copy of minetest.conf (see login scripts on network) #in client's local copy of minetest.conf (see login scripts on network)
enable_bones_logging = true enable_bones_logging = true
enable_bones_chat_msg = true enable_bones_chat_msg = true
# DEPRECATED? see Bucket_Game/mods/codercore/fallback_spawn
static_spawnpoint = 0, 11, 0 static_spawnpoint = 0, 11, 0

10
webapp/install-mts.sh

@ -132,3 +132,13 @@ echo "updating '$HOME/minetest/games/ENLIVEN/menu'..."
rsync -rt "patches/subgame/menu/" "$HOME/minetest/games/ENLIVEN/menu" rsync -rt "patches/subgame/menu/" "$HOME/minetest/games/ENLIVEN/menu"
echo "updating '$HOME/minetest/games/ENLIVEN'..." echo "updating '$HOME/minetest/games/ENLIVEN'..."
rsync -rt "patches/Bucket_Game-patched/" "$HOME/minetest/games/ENLIVEN" rsync -rt "patches/Bucket_Game-patched/" "$HOME/minetest/games/ENLIVEN"
if [ ! -f "$HOME/minetest/minetest.Bucket_Game-example.conf" ]; then
cp -f "$HOME/minetest/minetest.conf" "$HOME/minetest/minetest.Bucket_Game-example.conf"
fi
cp -f "patches/subgame/minetest.client-example.conf" "$HOME/minetest/minetest.conf"
cp -f "patches/subgame/minetest.server-example.conf" "$HOME/minetest/games/ENLIVEN/minetest.conf"
if [ -f "/home/owner/i_am_dedicated_minetest_server" ]; then
echo "server_dedicated = true" >> "$HOME/minetest/games/ENLIVEN/minetest.conf"
else
echo "server_dedicated = false" >> "$HOME/minetest/games/ENLIVEN/minetest.conf"
fi

2
webapp/reset-minetest.sh

@ -56,5 +56,7 @@ cd ..
echo "Check libraries.log for errors, then..." echo "Check libraries.log for errors, then..."
echo "- Run the following manually for SERVER only (no graphical client):" echo "- Run the following manually for SERVER only (no graphical client):"
echo " bash install-mts.sh" echo " bash install-mts.sh"
echo "- Run the following manually for both minetestserver and minetest:"
echo " bash install-mts.sh --client"
echo echo
echo echo

Loading…
Cancel
Save