From 2f31767d492b20b833b301e77da3ede5ac394303 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 12 Dec 2021 20:03:07 -0600 Subject: [PATCH] game config - based on prevous commit enable fire and base game as another one * this is a own game. apart of default one.. it have it own mods base * this have commit 97a963aa93d7509070e7281a6a59110169d95c01 as base (big one, care) * this gameid has their own base mods.. althrough based on default minetest * provide API setting for local game at menu * enabled fire and falme * bones with 40 seconds of life and 20 seconds for stolen * enabled sounds of lava and flame, cos is on defaults clients * dont provide initial stufff.. here we must find things --- minetest.conf | 59 +++++++++++++++++++++++++++++++++++++++++------- settingtypes.txt | 47 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 8 deletions(-) create mode 100644 settingtypes.txt diff --git a/minetest.conf b/minetest.conf index 3ad8d92..0ad62f3 100644 --- a/minetest.conf +++ b/minetest.conf @@ -554,11 +554,11 @@ viewing_range = 60 # Width component of the initial window size. # type: int -screenW = 800 +# screenW = 800 # Height component of the initial window size. # type: int -screenH = 600 +# screenH = 600 # Save window size automatically when modified. # type: bool @@ -936,7 +936,7 @@ ipv6_server = false # then also will search second at /usr/share/games/minetest4/worlds # and finally will search at $HOME/.minetest4/worlds # type: string -default_game = minetest +default_game = subnasa # Message of the day displayed to players connecting. # type: string @@ -968,7 +968,50 @@ enable_damage = true # Enable creative mode for new created maps. # type: bool -# creative_mode = false +creative_mode = false + +# Sets the behaviour of the inventory items when a player dies. +# "bones": Store all items inside a bone node but drop items if inside protected area +# "drop": Drop all items on the ground +# "keep": Player keeps all items +bones_mode = bones + +# How much earlier the bones of a dead player can be looted by +# everyone if the player dies in a protected area they don't own. +# 0 to disable. By default it is "share_bones_time" divide by four. +share_bones_time_early = 1800 + +# Whether fire should be enabled. If disabled, 'basic flame' nodes will disappear. +# 'permanent flame' nodes will remain with either setting. +enable_fire = true + +# Enable flame sound. +flame_sound = true + +# Whether lavacooling should be enabled. +enable_lavacooling = true + +# Whether the stuff in initial_stuff should be given to new players +# its depends of the configured at the initital_stuff_mod +give_initial_stuff = false + +# Whether the TNT mod should be enabled +enable_tnt = true + +# The radius of a TNT explosion +tnt_radius = 2 + +# Enable the stairs mod ABM that replaces the old 'upside down' +# stair and slab nodes in old maps with the new param2 versions. +enable_stairs_replace_abm = false + +# Whether you allow respawning in beds +# Default value is true +enable_bed_respawn = true + +# Whether players can skip night by sleeping +# Default value is true +enable_bed_night_skip = false # A chosen map seed for a new map, leave empty for random. # Will be overridden when creating a new world in the main menu. @@ -982,20 +1025,20 @@ enable_damage = true # The privileges that new users automatically get. # See /privs in game for a full list on your server and mod configuration. # type: string -default_privs = interact, shout, sethome +default_privs = interact, shout, zoom # Privileges that players with basic_privs can grant # type: string -basic_privs = interact, shout, sethome +basic_privs = interact, shout, zoom # Whether players are shown to clients without any range limit. # Deprecated, use the setting player_transfer_distance instead. # type: bool -unlimited_player_transfer_distance = true +unlimited_player_transfer_distance = false # Defines the maximal player transfer distance in blocks (0 = unlimited). # type: int -player_transfer_distance = 0 +player_transfer_distance = 1000 # Whether to allow players to damage and kill each other. # type: bool diff --git a/settingtypes.txt b/settingtypes.txt new file mode 100644 index 0000000..71a6a02 --- /dev/null +++ b/settingtypes.txt @@ -0,0 +1,47 @@ +# This file contains settings of minetest subnasa game that can be changed in +# minetest.conf + +# In creative mode players are able to dig all kind of blocks nearly +# instantly, and have access to unlimited resources. +# Some of the functionality is only available if this setting is present +# at startup. +creative_mode (Creative mode) bool false + +# Flammable nodes will be ignited by nearby igniters. Spreading fire may +# cause severe destruction. +# Spreading fire nodes will disappear when fire is disabled, but +# 'permanent_flame' nodes are unaffected. +enable_fire (Fire) bool true + +# Enable flame sound. +flame_sound (Flame sound) bool true + +# Enable lavacooling. +enable_lavacooling (Lavacooling) bool true + +# if true, the values in mod "initial_stuffs" will be at each start of player respawn. +give_initial_stuff (Give initial items) bool false + +# If enabled, players respawn at the bed they last lay on instead of normal +# spawn. +# This setting is only read at startup. +enable_bed_respawn (Respawn at bed) bool true + +# If enabled, the night can be skipped if more than half of the players are +# in beds. +enable_bed_night_skip (Skip night when sleeping) bool false + +# When TNT explodes, it destroys nearby nodes and damages nearby players. +# This setting is disabled by default on servers. +enable_tnt (TNT) bool true + +# The radius in which nodes will be destroyed by a TNT explosion. +tnt_radius (TNT radius) int 2 0 + +# The time in seconds after which the bones of a dead player can be looted +# by everyone. +# Setting this to 0 will disable sharing of bones completely. +share_bones_time (Bone share time) int 2800 0 + +# Replaces old stairs with new ones. Only required for older worlds. +enable_stairs_replace_abm (Replace old stairs) bool false