Minetest.conf/ja

From Minetest Wiki
< Minetest.conf
Revision as of 13:16, 12 November 2021 by Nogajun (talk | contribs) (Add Japanese page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Languages 言語: English • Deutsch • français • 日本語

注意: バージョン 0.4.14以降、Minetestの設定に各設定の簡単な説明も含んだ「すべての設定」機能があり、Minetestのほぼすべての設定が変更できます。これにより、minetest.confを手動で編集する必要はほとんどなくなりました。

minetest.confは、さまざまな目的に使われる設定ファイルです。このファイルは、ゲームを始めるたびに読み込まれ、メニューを終了するときには必ず作成/変更されます。

設定ファイルは、以下のいずれかの場所にあります。

  • ../minetest.conf - (その場で実行されるバージョン。実行ファイルからの相対パス)
  • ../../minetest.conf - (その場で実行されるバージョン。実行ファイルからの相対パス)
  • ~/.minetest/minetest.conf - (Linuxでグローバルにインストールされるバージョン)

設定ファイルのカスタムパスは、コマンドラインのオプション--config /path/to/minetest.confで指定できます。

ファイルのサンプルとして、minetest.conf.exampleが用意されています。オプションの詳細な一覧については、そちらを参照ください。

このC++プログラムは、すべてのデフォルト設定を含む、minetest.confを自動的に生成します: https://github.com/minetest/minetest/blob/master/src/defaultsettings.cpp

デフォルト設定(エキスパート向け)

Raw file

キー デフォルト値 説明
video_driver 文字列 opengl Allows the user to chose the video renderer used to render Minetest.
null - No rendering at all.
software - Software rendering (not accelerated by graphics card, everything done by the processor), very slow.
burningsvideo - Also software rendering, very slow.
direct3d8 - Uses Direct3D 8, unlikely to work.
directdd9 - Uses Direct3D 9, may not work.
opengl - Uses OpenGL, latest version possible. Best stability.
address 文字列 (無し) The address used for connecting to a server, if it is blank, the game will start a local server when attempting to connect.
port 整数 30000 The port used when connecting to, or creating a server. For creating a server, ports above 1024 are preferred for security, compatibility and standards compliance reasons.
creative_mode ブーリアン 0 Enables creative mode. This only affects local server.
1 - Creative mode enabled.
0 - Creative mode disabled.
enable_damage ブーリアン 0 Enables damage. When disabled, players cannot die or receive damage of any kind. This only affects local server.
1 - Damage enabled.
0 - Damage disabled.
name 文字列 (無し) The name of the player.
new_style_leaves ブーリアン 1 Whether to make leaves transparent (1) or opaque (0); opaque leaves are faster, thus recommended on slower computers.
1 - Leaves are transparent.
0 - Leaves are opaque.
new_style_water ブーリアン 0 Whether to lower water surface (1) or not (0) compared to other nodes; default water is faster to render and more accurate.
1 - Water surface is lowered compared to other nodes, does not affect physics or gameplay.
0 - Water surfaced is not lowered.
opaque_water ブーリアン 0 Whether to enable opaque water.
1 - Opaque water enabled.
0 - Opaque water disabled.
show_debug ブーリアン 0 Whether to enable debug info (coordinates, draw times...) on startup.
1 - Debug info shown by default.
0 - Debug info hidden by default.
smooth_lighting ブーリアン 1 Whether to use smooth lighting.
1 - Smooth lighting enabled.
0 - Smooth lighting disabled.
client_delete_unused_sectors_timeout 整数 600 This will set the client to forget parts of the map from the memory when they haven't been accessed for N seconds.
invert_mouse ブーリアン 0 Allows the user to invert their mouse vertical axis.
1 - Mouse vertical axis inverted.
0 - Mouse vertical axis not inverted.
texture_path 文字列 (無し) Allows the user to specify an additional texture directory, from which Minetest will first search for textures.
time_speed 整数 72 This changes the speed of the day-night cycle (also applies to local/singleplayer game). When set to 0, the day-night cycle stops. The higher is the value, the faster the day-night cycle will be. 1 is equivalent to real world's day-night cycle.
viewing_range_nodes_min 整数 25 Allows the user to change their minimal view range. This is very useful for slow computers. Can be changed using KP + and KP - in-game.
viewing_range_nodes_max 整数 160 Allows the user to change their maximal view range. This is very useful for slow computers.
fov 整数 72 Allows the user to change their field of view.
view_bobbing ブーリアン 1 Whether to enable view and wield item bobbing.
1 - View bobbing enabled.
0 - View bobbing disabled.
view_bobbing_amount フロート 1.0 Controls view bobbing intensity, 1.0 being 100%, 1.5 being 150% and so on. When set to 0.0, view bobbing is disabled but the wield item still bobs.
enable_fog ブーリアン 1 Whether to fog out the end of the visible area.
1 - Fog enabled.
0 - Fog disabled.
enable_clouds ブーリアン 1 Whether to draw clouds.
1 - Clouds enabled.
0 - Clouds disabled.
enable_3d_clouds ブーリアン 0 Allows the user to enable 3D clouds.
1 - 3D clouds enabled.
0 - 3D clouds disabled (2D clouds used instead).
enable_sound ブーリアン 1 Whether to enable sound; sound can only be enabled if you have installed OpenAL.
1 - Sound enabled.
0 - Sound disabled.
sound_volume フロート 0.8 Allows the user to change sound volume. 1 is 100% volume whereas 0 is 0% volume.

操作

minetest.confでは、ほとんどのキーが設定できます(全部ではありません)。ゲーム内の設定メニューから設定できない、いくつかのキーも設定できます。もっとも重要なものとしては、カメラモードとミニモードがあります。

いくつかの注意点

操作一覧と設定名(存在する場合)については、操作方法を参照してください。

サーバー設定

キー デフォルト値 説明
server_name 文字列 (空) Name of the server, to be displayed when players join and in the serverlist.
server_description 文字列 (空) Description of server, to be displayed when players join and in the serverlist.
server_address 文字列 (空) Domain name of server, to be displayed in the serverlist.
server_url 文字列 (空) Homepage of server, to be displayed in the serverlist.
server_announce ブーリアン false Automatically report to the serverlist.
serverlist_url 文字列 servers.minetest.net Announce to this serverlist.
strip_color_codes ブーリアン false Remove color codes from incoming chat messages. Use this to stop players from being able to use color in their messages
port 整数 30000 Network port to listen (UDP).

This value will be overridden when starting from the main menu.

bind_address 文字列 (空) The network interface that the server listens on. e.g. eth0
strict_protocol_version_checking ブーリアン false Enable to disallow old clients from connecting.

Older clients are compatible in the sense that they will not crash when connecting to new servers, but they may not support all new features that you are expecting.

remote_media 文字列 (空) Specifies URL from which client fetches media instead of using UDP.

$filename should be accessible from $remote_media$filename via cURL (obviously, remote_media should end with a slash). Files that are not present will be fetched the usual way.

ipv6_server ブーリアン false Enable/disable running an IPv6 server. Ignored if bind_address is set.
max_simultaneos_block_sends_per_client 整数 40 Maximum number of blocks that are simultaneously sent per client.

The maximum total count is calculated dynamically: max_total = ceil((#clients + max_users) * per_client / 4)

full_block_send_enable_min_time_from_building フロート? (修正求む) 2.0 To reduce lag, block transfers are slowed down when a player is building something.

This determines how long they are slowed down after placing or removing a node.

max_packets_per_iteration 整数 1024 Maximum number of packets sent per send step, if you have a slow connection

try reducing it, but don't reduce it to a number below double of targeted client number.

default_game 文字列 minetest Default game when creating a new world.

This will be overridden when creating a world from the main menu.

motd 文字列 (空) Message of the day displayed to players connecting.
max_users 整数 15 Maximum number of players that can be connected simultaneously.
map-dir 文字列 (空) World directory (everything in the world is stored here).

Not needed if starting from the main menu.

item_enity_ttl 整数 900 Time in seconds for item entity (dropped items) to live.

Setting it to -1 disables the feature.

enable_damage missing missing Missing
creative_mode missing missing Missing
fixed_map_seed missing missing Missing
default_password missing missing Missing
default_privs missing missing Missing
basic_privs missing missing Missing
player_transfer_distance missing missing Missing
enable_pvp missing missing Missing
enable_mod_channels missing missing Missing
disallow_empty_password missing missing Missing
disable_anticheat missing missing Missing
enable_rollback_recording missing missing Missing
chat_message_format missing missing Missing
kick_msg_shutdown missing missing Missing
kick_msg_crash missing missing Missing
ask_reconnect_on_crash missing missing Missing
active_object_send_range_blocks missing missing Missing
active_block_range missing missing Missing
max_block_send_distance missing missing Missing
max_forceloaded_blocks missing missing Missing
time_send_interval missing missing Missing
time_speed missing missing Missing
world_start_time missing missing Missing
server_map_save_internal missing missing Missing
chat_message_max_size missing missing Missing
chat_message_limit_per_10sec missing missing Missing
chat_message_limit_trigger_kick missing missing Missing

説明は、おもにMinetestメインメニューの設定タブからの引用です。