Difference between revisions of "Privileges/ja"

From Minetest Wiki
Jump to navigation Jump to search
(Add Japanese page)
 
(update translation)
Line 2: Line 2:
 
{{Incomplete translation/ja}}
 
{{Incomplete translation/ja}}
  
Every player has a set of privileges, which differ from server to server. Roughly spoken, one’s privileges determine what one is able to do and what not. Each privilege has a name (the meaning is described below). Privileges can be granted and revoked from other players by any player who has the privilege called “privs”. On a multiplayer server with a default configuration, new players start with the privileges called “interact” and “shout”. To view one’s own privileges, one can issue the [[Server commands|server command]] /privs”.
+
すべてのプレーヤーは、サーバーごとに権限があります。権限とは、それによって何かができたり、できなかったりすることが決まります。権限にはそれぞれ名前があり、詳しい意味については以下で説明しています。権限を利用するには「privs」という権限が必要で、その権限を持つプレーヤーであれば他のプレーヤーに権限を付与したり取り消せます。マルチプレーヤーサーバーのデフォルト設定で新規プレーヤーは「interact」と「shout」の権限を持っています。自分の権限を確認するには、[[Server commands/ja|サーバーコマンド]]の<code>/privs</code>を実行します。
  
== 組み込みの権限 ==
 
  
As of Minetest 5.0.0, Minetest comes with the following privileges:
+
== 組み込み権限 ==
 +
 
 +
Minetest 5.0.0では、以下の権限があります。
  
 
* ゲーム関連:
 
* ゲーム関連:
Line 47: Line 48:
 
== サーバーの設定 ==
 
== サーバーの設定 ==
  
Using the server’s configuration files, a lot of privilege-related stuff can be manipulated.
+
サーバーの設定ファイルの設定を変更すると、さまざま権限関連の操作ができます。
 +
 
 +
設定ファイルには、新規プレーヤーのデフォルト権限を設定するオプションがあります。
  
There is an option in the configuration file for setting the default privileges for new players.
 
 
<code>
 
<code>
 
default_privs = interact, shout
 
default_privs = interact, shout
 
</code>
 
</code>
  
* The player having the name in the “name” field of the configuration has all the privileges.
+
* 「name」フィールドに名前が入っているプレーヤーは、すべての権限を持っています。
  
Privileges are stored in the <code>auth.txt</code> file. The format of every line in that file is
+
権限は、<code>auth.txt</code>ファイルに保存されます。auth.txtのそれぞれの行の形式は、<code>name:hashed_password:privs</code>となっています。
<code>
+
 
name:hashed_password:privs
+
実際の例:
</code>
 
A real example:
 
 
<code>
 
<code>
 
celeron55:CcCUjNUDVJxmXmTHj+7WKHvA9Ds:interact,shout
 
celeron55:CcCUjNUDVJxmXmTHj+7WKHvA9Ds:interact,shout
 
</code>
 
</code>
  
The <code>auth.txt</code> file is written periodically and at shutdown, so you should edit it only when the server is not running.
+
<code>auth.txt</code>は定期的に書き込みがあり、シャットダウン時にも書き込まれます。編集するときはサーバーが稼働していないときにしてください。
  
 
== 関連項目 ==
 
== 関連項目 ==

Revision as of 02:33, 23 November 2021

Languages 言語: English • Deutsch • français • italiano • 日本語 • 中文(简体)‎
Mbox style.png これは不完全な翻訳です。
お時間があるときに翻訳を完了させてください。

すべてのプレーヤーは、サーバーごとに権限があります。権限とは、それによって何かができたり、できなかったりすることが決まります。権限にはそれぞれ名前があり、詳しい意味については以下で説明しています。権限を利用するには「privs」という権限が必要で、その権限を持つプレーヤーであれば他のプレーヤーに権限を付与したり取り消せます。マルチプレーヤーサーバーのデフォルト設定で新規プレーヤーは「interact」と「shout」の権限を持っています。自分の権限を確認するには、サーバーコマンド/privsを実行します。


組み込み権限

Minetest 5.0.0では、以下の権限があります。

  • ゲーム関連:
    • interact—can build/mine/use blocks and drop/eat/craft/use items and punch things and interact with objects and players
    • give—can use the /give and /giveme commands
    • teleport—can use the /teleport command to teleport oneself to certain coordinates or to another player
    • bring—in combination with teleport, can use the /teleport command to teleport any player to certain coordinates or to yet another player
    • fast—allows the player to activate fast mode
    • fly—allows the player to activate fly mode
    • noclip—allows the player to activate “noclip” mode, which allows them to fly through walls
  • チャット関連:
    • shout—can chat with other people
  • ワールド操作関連:
  • モデレーション関連:
    • privs—can set any privileges of players using /grant and /revoke (→Server commands#Privilege manipulation)
    • basic_privs—can set the privileges set as basic_privs in the minetest.conf (default “interact” and “shout”) using /grant and /revoke
    • kick—can kick players with /kick
    • ban—can ban/unban IPs and names using /ban and /unban
    • rollback—can use the rollback functionality
    • protection_bypass—can bypass protection of blocks (e.g. can open locked chests or steel doors of everyone)
  • 管理関連:
    • server—can do server maintenance stuff such as /shutdown, /clearobjects, /set, …
    • debug—can access advanced debug features and informations, such as the wirewrame in the debug screens (F5)

撤回できない権限

A player’s privileges may be irrevokable in certain situations. It is not possible to revoke these privileges with /revoke then.

In multiplayer servers, the player whose name equals the minetest.conf setting “name” automatically has all privileges and all of these are irrevokable. This is also the case for players who started a server (not a dedicated server). In singleplayer, you start with interact, shout, privs and basic_privs. These privileges are irrevokable.

modsやゲームによる権限

Minetest Game

  • home—can use /home and /sethome.

Mods

Mods may make additional privileges available on the server. Issue the server command /help privs to receive a full list (and short descriptions) of all possible privileges on the server.

サーバーの設定

サーバーの設定ファイルの設定を変更すると、さまざま権限関連の操作ができます。

設定ファイルには、新規プレーヤーのデフォルト権限を設定するオプションがあります。

default_privs = interact, shout

  • 「name」フィールドに名前が入っているプレーヤーは、すべての権限を持っています。

権限は、auth.txtファイルに保存されます。auth.txtのそれぞれの行の形式は、name:hashed_password:privsとなっています。

実際の例: celeron55:CcCUjNUDVJxmXmTHj+7WKHvA9Ds:interact,shout

auth.txtは定期的に書き込みがあり、シャットダウン時にも書き込まれます。編集するときはサーバーが稼働していないときにしてください。

関連項目