Restructured minetest.conf.example

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

Restructured minetest.conf.example

by PilzAdam » Wed Sep 26, 2012 18:25

Hello everyone!
The minetest.conf.example in the default Minetest is very mixed up. So I restructured it and here is what I got:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
# NOTICE:
# Do not use this file as minetest.conf because Minetest cant handle the comments at the end of the lines in some cases.
# A "block" refers to a 16*16*16 space used for storage and technical stuff, while a "node" is a 1*1*1 "block" (like in Minecraft).

#----GRAPHIC----
fullscreen = false    # show window in fullscreen
screenW = 800         # width of the window
screenH = 600         # height of the window
vsync = false         # vertical synchronisation
video_driver = opengl # video driver; possible values: null, software, burningsvideo, direct3d8, direct3d9, opengl

enable_clouds = true     # show clouds at the sky
enable_3d_clouds = true  # clouds are blocks and not just 2D
new_style_leaves = true  # leaves are translucent
opaque_water = false     # water is not transparent
new_style_water = false  # broken
smooth_lighting = true   # light smooth (disable for speed or better looking)
enable_fog = true        # add fog at the end of visible range

wanted_fps = 30                                 # minimum fps
fps_max = 60                                    # maximum fps (sleep if above)
fsaa = 0                                        # no difference but less speed
viewing_range_nodes_max = 160                   # maximum view range (in nodes)
viewing_range_nodes_min = 35                    # minimum view range (in nodes)
view_bobbing_amount = 1.0                       # "shaking" of camera when moving
desynchronize_mapblock_texture_animation = true # dunno if theres a difference between true and false
fullscreen_bpp = 24                             # bitrate of colors in fullscreen

enable_texture_atlas = true # put all small node image into one big atlas to improve performance

enable_farmesh = false # broken
farmesh_trees = true   # (see above)
farmesh_distance = 40  # (see above)

console_color = (0,0,0) # background color of the console (red, green, blue)
console_alpha = 200     # the transparency of the console (255:opaque; 0:invisble)

#----SOUND----
enable_sound = true # play sounds
sound_volume = 0.7  # volume of sounds

#----SERVER (singleplayer)----
creative_mode = false # a sub inventory in players inventory with all nodes and items
enable_damage = true  # player can get damage
fast_move = true      # fast moving of player when pressing E or in fly mode
free_move = false     # player can fly arround
time_speed = 96       # length of day/night cycle (72=20min, 360=4min, 1=24hour, 0=dont change the time)

default_game = minetest    # name of the game that is firstly selected when creating a new world
only_peaceful_mobs = false # despawn all hostile mobs
give_initial_stuff = false # give player some items when joining the server
#fixed_map_seed =          # use this seed instead of a random generated one
#static_spawnpoint =       # spawn player here on joining or dieing

# dunno
active_object_send_range_blocks = 3
active_block_range = 2
server_map_save_interval = 5.3
ignore_world_load_errors = false

#----SERVER (multiplayer)----
motd = Welcome to this awesome Minetest server! # a message that is displayed to all players when joining
default_password =                              # a password that player without a password has to enter
enable_pvp = true                               # allow players to hurt and kill each other
default_privs = interact, shout                 # privs that every player has when he joins

max_users = 100                           # maximum number of player that can connect to the server
unlimited_player_transfer_distance = true # show players at all distances in the map
strict_protocol_version_checking = true   # dont allow players with older or newer versions to connect
disallow_empty_password = false           # players have to use a password when connect
disable_anticheat = false                 # prevent cheating
enable_rollback_recording = false         # record player actions to use rollback functions

# dunno
max_simultaneous_block_sends_per_client = 2
max_simultaneous_block_sends_server_total = 8
max_block_send_distance = 10
max_block_generate_distance = 6
time_send_interval = 5
full_block_send_enable_min_time_from_building = 2.0
server_unload_unused_data_timeout = 29
dedicated_server_step = 0.05

#----CLIENT----
address =                               # address that is shown in address field when starting minetest
name =                                  # player name that is shown in name field when starting minetest
port = 30000                            # port that is shown in port field when starting minetest
random_input = false                    # minetest generates random input for player
client_unload_unused_data_timeout = 600 # remove unused data from memory after this time
continuous_forward = false              # for dev
texture_path =                          # textures are searched here
screenshot_path = .                     # screenshots are saved here

#----MENU----
selected_mainmenu_tab = 0 # the selected menu tab
selected_world_path =     # the selected world

#----CONTROLS----
keymap_forward = KEY_KEY_W
keymap_backward = KEY_KEY_S
keymap_left = KEY_KEY_A
keymap_right = KEY_KEY_D

keymap_jump = KEY_SPACE
keymap_sneak = KEY_LSHIFT
keymap_inventory = KEY_KEY_I
keymap_special1 = KEY_KEY_E
aux1_descends = false # use special1 for descent instead of shift

keymap_chat = KEY_KEY_T
keymap_cmd = /
keyman_console = KEY_F10

keymap_rangeselect = KEY_KEY_R
keymap_freemove = KEY_KEY_K
keymap_fastmove = KEY_KEY_J
keymap_screenshot = KEY_F12

keymap_print_debug_stacks = KEY_KEY_P
keymap_quicktune_prev = KEY_HOME
keymap_quicktune_next = KEY_END
keymap_quicktune_dec = KEY_NEXT
keymap_quicktune_inc = KEY_PRIOR

invert_mouse = false

Last edited by PilzAdam on Thu Oct 25, 2012 11:14, edited 1 time in total.
 

User avatar
Echo
Member
 
Posts: 121
Joined: Tue Jul 31, 2012 08:11

by Echo » Thu Sep 27, 2012 10:47

There should be a consistent value for "yes" or "no". Don't mix "true" / "1" and "false" / "0". I prefer "true" and "false" for boolean and numbers only if recommended.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Thu Sep 27, 2012 16:04

Here's my version:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
# NOTICE:
# You have to uncomment some of the settings, if you want to modify them, by removing the "#" at the beginning of the line.
# A "block" refers to a 16*16*16 space used for storage and technical stuff, while a "node" is a 1*1*1 "block" (like in Minecraft).

# ---- GRAPHICS ----
fullscreen = false       # full-screen mode, may improve performance
screenW = 800            # width of the window when the game is started
screenH = 600            # height of the window when the game is started
vsync = false            # whether to enable vertical synchronisation (lock maximum frames per second to screen refresh rate)
video_driver = opengl    # video driver, possible values are shown below:
                         # null = no rendering at all
                         # software = use CPU to render (very slow)
                         # burningsvideo = use Burning's Video (slow)
                         # direct3d8 = use Direct3D 8 (Windows-only)
                         # direct3d9 = use Direct3D 9 (Windows-only, best performance sometimes)
                         # opengl = use OpenGL (all OSes, most stable)

enable_clouds = true       # show clouds in the sky
enable_3d_clouds = true    # volumetric clouds instead of 2D clouds
new_style_leaves = true    # transparent leaves, disable for speed
opaque_water = false       # transparent water, disable for speed
new_style_water = false    # currently not working, show lower water surfaces
smooth_lighting = true     # ambient occlusion/light smoothing (disable for speed or for different looks)
enable_fog = true          # add fog at the end of visible range

wanted_fps = 30                                    # "wanted" frames per second, view range is adjusted automatically based on this value
fps_max = 60                                       # maximum frames per second (sleep if above to save resources)
viewing_range_nodes_min = 35                       # minimum view range (in nodes), can be changed while playing with the + and - keys
viewing_range_nodes_max = 160                      # maximum view range (in nodes)
view_bobbing_amount = 1.0                          # shaking/bobbing of camera when moving
desynchronize_mapblock_texture_animation = true    # desynchronize texture animations
fsaa = false                                       # experimental full-scene anti-aliasing
fullscreen_bpp = 24                                # bits-per-pixel of colors in fullscreen (24 = "true color", recommended)

enable_texture_atlas = true    # put all small node image into one big atlas to improve performance

enable_farmesh = false    # long range terrain approximation (currently not working, needs fixing)
farmesh_trees = true      # show trees in long range terrain approximation
farmesh_distance = 40     # distance in blocks of the long range terrain approximation

console_color = (0,0,0)    # background color of the console (red, green, blue)
console_alpha = 192        # the transparency of the console (255 = fully opaque, 0 = no background)

# ---- SOUND ----
enable_sound = true    # play sounds
sound_volume = 0.5     # volume of sounds

# ---- SERVER ----
creative_mode = false    # whether to enable creative mode (infinite items)
enable_damage = true     # whether players can recieve damage and die
fast_move = true         # [storage variable] fast moving of player when pressing "use" key or in fly mode
free_move = false        # [storage variable] whether to fly or just walk
time_speed = 96          # length of day-night cycle (72 = 20min, 360 = 4min, 1 = 24 hours, 0 = no day-night cycle)

default_game = minetest       # name of the game that is firstly selected when creating a new world
only_peaceful_mobs = false    # do not spawn any hostile mobs (currently unused in the default game)
give_initial_stuff = false    # give player some items (steel tools, 99 cobblestone, 99 torches) when joining the server for the first time
#fixed_map_seed =             # use this seed instead of a randomly generated one
#static_spawnpoint =          # fixed spawnpoint for connecting or dying players

active_object_send_range_blocks = 3                     # send objects in this block range
active_block_range = 2                                  # active block range (run ABMs in this range only)
server_map_save_interval = 5.3                          # interval of map saving
ignore_world_load_errors = false                        # ignore world loading errors (only use for debugging)
motd =                                                  # message that is displayed to all players when joining
#default_password =                                     # a password that player without a password has to enter
disallow_empty_password = false                         # prevent players without a password from joining
enable_pvp = true                                       # allow players to hurt and kill each other
default_privs = interact,shout                          # privileges every player recieves when they first join

max_users = 100                              # maximum number of players that can connect to the server
unlimited_player_transfer_distance = true    # show players at all distances in the map, if false, only show nearby players
strict_protocol_version_checking = true      # don't allow players with older or newer versions to connect, recommended for stability
disable_anticheat = false                    # prevent cheating (check digging and moving speeds)
enable_rollback_recording = false            # record player actions to use rollback functions (can use a lot of disk space and I/O, use with caution)

max_simultaneous_block_sends_per_client = 2            # send at most N blocks per client
max_simultaneous_block_sends_server_total = 8          # send at most N blocks for all the clients
max_block_send_distance = 10                           # maximum block send distance
max_block_generate_distance = 6                        # maximum block generation distance
time_send_interval = 5                                 # send the time of day every N seconds
full_block_send_enable_min_time_from_building = 2.0    # prevent players for N seconds from building if the block has just been loaded
server_unload_unused_data_timeout = 29                 # unload unused data after N seconds
dedicated_server_step = 0.05                           # run a "step" every N seconds

# ---- CLIENT ----
address =                                  # address that is shown in address field when starting Minetest
name =                                     # player name that is shown in name field when starting Minetest
port = 30000                               # port that is shown in port field when starting Minetest
client_unload_unused_data_timeout = 600    # remove unused data from memory after this time, set to something like 120 if you have a limited amount of RAM

texture_path = ../textures/all      # textures are searched here
screenshot_path = ../sceeenshots    # screenshots are saved here

# ---- MENU ----
selected_mainmenu_tab = 0        # [storage variable] the selected menu tab
selected_world_path =            # [storage variable] the selected world

# ---- CONTROLS ----
keymap_forward = KEY_KEY_W     # move forward
keymap_backward = KEY_KEY_S    # move backward
keymap_left = KEY_KEY_A        # move left
keymap_right = KEY_KEY_D       # move right

invert_mouse = false     # whether to invert mouse Y axis ("flight-sim" mode)

keymap_jump = KEY_SPACE         # jump one block
keymap_sneak = KEY_LSHIFT       # when held down, makes you walk slower and prevents falling off ledges
keymap_inventory = KEY_KEY_I    # access inventory
keymap_special1 = KEY_KEY_E     # "special" key, only used if the option below is set to true
aux1_descends = false           # use special1 for descending ladders/fly mode instead of shift

keymap_chat = KEY_KEY_T     # talk to other players
keymap_cmd = /              # input a command (basically the same thing as "chat", but with a / at the beginning)
keyman_console = KEY_F10    # open console (can be used for typing commands or viewing chat history)

keymap_rangeselect = KEY_KEY_R    # move right
keymap_freemove = KEY_KEY_K       # fly, requires "fly" privilege
keymap_fastmove = KEY_KEY_J       # move faster, requires "fast" privilege
keymap_screenshot = KEY_F12       # take a screenshot in .png format

# ---- DEBUGGING ----
keymap_print_debug_stacks = KEY_KEY_P    # print debug stacks
keymap_quicktune_prev = KEY_HOME         # set the variable to be changed by "quicktune"
keymap_quicktune_next = KEY_END          # set the variable to be changed by "quicktune"
keymap_quicktune_dec = KEY_NEXT          # decrease the "quicktune" value
keymap_quicktune_inc = KEY_PRIOR         # increase the "quicktune" value
random_input = false                     # Minetest generates random input for player
continuous_forward = false               # Continously "press" the "forward" key
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Sep 27, 2012 16:33

Echo wrote:There should be a consistent value for "yes" or "no". Don't mix "true" / "1" and "false" / "0". I prefer "true" and "false" for boolean and numbers only if recommended.

The problem is that the game overrides some values and use 0 and 1 instead of true and false. I will change it.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Sep 27, 2012 16:42

First post updated.
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Thu Sep 27, 2012 17:43

client_unload_unused_data_timeout = 600 MAYBE this will fix the freakin texture bug
If you can think it, you can make it.
 

tick95
Member
 
Posts: 10
Joined: Wed May 29, 2013 15:35

by tick95 » Sat Jun 29, 2013 15:35

hello,
I have the problem that when I inserted it in the minetest.config I have no more sound in the game?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Jun 29, 2013 18:13

tick95 wrote:hello,
I have the problem that when I inserted it in the minetest.config I have no more sound in the game?

You shouldnt just copy and paste it into minetest.conf
 

tick95
Member
 
Posts: 10
Joined: Wed May 29, 2013 15:35

by tick95 » Sat Jun 29, 2013 20:26

I do this out copy of the theme and what is in the minetest.config I do delete and replace with the theme of the
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43

by Dopium » Wed Jul 03, 2013 02:42

Quick question a little off topic but i dont want to start a whole new thread for a quick question. Is there a way to enable the snow/ice biomes through the config file? I know about the mods and have noticed snow/ice added to the default textures in 0.4.7 builds?

Is it a feature that maybe added later or has it already been added like jungle biomes, only to be generated via config file?
Running @1.19 MHz, 128 bytes of RAM and interchangeable 4kb ROM carts!
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Wed Jul 03, 2013 05:23

Snow and Ice Blocks have been added, but no Snow or Ice Biomes
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
ak399g
Member
 
Posts: 160
Joined: Tue Jul 30, 2013 02:36
In-game: SAFR

by ak399g » Wed Sep 11, 2013 23:45

If the comments at the ends of the lines cause trouble, why not move them over the line they refer to and be done with it?

Also, which is better: This one, or the one on github? https://github.com/minetest/minetest/blob/master/minetest.conf.example <-- this one lacks noclip keybindings.

The github one also has configuration for mapgen, but I thought that was handled by the individual world's map_meta.txt; in other words, does one override the other?

Here,
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
# Domain name of server
#server_address = game.minetest.net
does the server address have to be a url, or can it simply be an IP?
Last edited by ak399g on Thu Sep 12, 2013 01:04, edited 1 time in total.
aka SAFR
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Thu Sep 12, 2013 05:18

ak399g wrote:does the server address have to be a url, or can it simply be an IP?

If you don't have a domain name you don't need set the server_address setting
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 8 guests

cron