TrainCarts/Permissions [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "{| class="wikitable" style="margin:left" ! 権限ノード !! 説明 |- | train.command.globalproperties || すべてのトロッコについて、コマンドで編集を行えます。 |-bgcolor="#dddddd" | train.command.properties || 所有するトロッコのプロパティを、コマンドで編集できます。 |- | train.command.destroy || 所有するトロッコを、コマンドを通じて破壊できます。 |-bgcolor="#dddddd" | train.command.destroyall...")
(Created page with "{| class="wikitable" style="margin:left" ! 権限ノード !! 説明 |- | train.command.globalproperties || すべてのトロッコに対してコマンドでプロパティを編集することができます。 |-bgcolor="#dddddd" | train.command.properties || 所有するトロッコに対してコマンドでプロパティを編集できます。 |- | train.build.property || Propertyサインを設置できます。 |}")
 
(8 intermediate revisions by the same user not shown)
Line 132: Line 132:
|}
|}


<div lang="en" dir="ltr" class="mw-content-ltr">
-----
-----
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
=== サインの設定 ===
=== Building Action Signs ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
それぞれの[[Special:MyLanguage/TrainCarts/Signs|TrainCartsのサイン]]を設置できるかどうか設定します。
Allows placing down [[Special:MyLanguage/TrainCarts/Signs|TrainCarts Signs]].
{| class="wikitable" style="margin:left"
{| class="wikitable" style="margin:left"
! Node !! Description
! 権限ノード !! 説明
|-
|-
| train.build.feature.remotecontrol || The player can place down signs that use [[Special:MyLanguage/TrainCarts/Signs#Remote_Control|remote control]]
| train.build.feature.remotecontrol || [[Special:MyLanguage/TrainCarts/Signs#Remote_Control|遠隔操作]]のサインを設定できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.station || The player can build train stations
| train.build.station || 列車の駅を作成できます。
|-
|-
| train.build.spawner || The player can build train spawners
| train.build.spawner || 列車のスポナーを作成できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.spawner.automatic || The player can build spawners which automatically create carts
| train.spawner.automatic || スポナーに自動生成を設定できます。
|-
|-
| train.spawner.regular || The player can build spawners which create regular minecarts
| train.spawner.regular || 通常のトロッコをスポーンするスポナーを作成できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.spawner.powered || The player can build spawners which create powered minecarts
| train.spawner.powered || かまど付きトロッコをスポーンするスポナーを作成できます。
|-
|-
| train.spawner.storage || The player can build spawners which create minecarts with chests
| train.spawner.storage || チェスト付きトロッコをスポーンするスポナーを作成できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.spawner.tnt || The player can build spawners which create minecarts with TNT
| train.spawner.tnt || TNT付きトロッコをスポーンするスポーンするスポナーを作成できます。
|-
|-
| train.spawner.hopper || The player can build spawners which create minecarts with hoppers
| train.spawner.hopper || ホッパー付きトロッコをスポーンするスポナーを作成できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.spawner.command || The player can build spawners which create minecarts with command blocks
| train.spawner.command || コマンドブロック付きトロッコをスポーンするスポナーを作成できます。
|-
|-
| train.spawner.spawner || The player can build spawners which create minecarts with spawners
| train.spawner.spawner || スポナー付きトロッコをスポーンさせるスポナーを作成できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.trigger || The player can build train triggers
| train.build.trigger || Triggerサインを設置できます。
|-
|-
| train.build.destination || The player can build destinations
| train.build.destination || Destinationサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.switcher || The player can build track switchers
| train.build.switcher || Switcherサインを設置できます。
|-
|-
| train.build.destructor || The player can build train destructors
| train.build.destructor || Destroyサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.detector || The player can build train detectors
| train.build.detector || Detectorサインを設置できます。
|-
|-
| train.build.ejector || The player can build train ejectors
| train.build.ejector || Ejectサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.ejector.absolute || The player can build train ejectors that teleport to absolute world coordinates
| train.build.ejector.absolute || Ejectサインで、絶対座標を指定してテレポートさせることができます。
|-
|-
| train.build.property || The player can build train property setter signs
| train.build.property || Propertyサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.collector || The player can build systems to let trains collect from storage blocks
| train.build.collector || チェストやかまどなどのストレージからトロッコへアイテムを取り出すサインを設置できます。
|-
|-
| train.build.depositor || The player can build systems to fill storage blocks with items from trains
| train.build.depositor || トロッコからストレージへアイテムを入れ込むサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.elevator || The player can build systems to teleport trains vertically
| train.build.elevator || Elevatorサインを設置できます。
|-
|-
| train.build.teleporter || The player can build train teleporters (portals)
| train.build.teleporter || テレポーター(ポータル)を設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.blocker || The player can build train blockers
| train.build.blocker || Blockerサインを設置できます。
|-
|-
| train.build.wait || The player can build train wait signs
| train.build.wait || Waiterサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.crafter || The player can build item crafter signs
| train.build.crafter || Crafterサインを設置できます。
|-
|-
| train.build.ticket || The player can build a sign that will charge money or ejects a player if he can't pay
| train.build.ticket || 料金を支払わせたり、できなければ下車させたりするTicketサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.announcer || The player can build a sign that sends a message to all the players in a train
| train.build.announcer || 列車の乗客にメッセージを送信するAnnounceサインを設置できます。
|-
|-
| train.build.effect || The player can build a sign that can play an effect
| train.build.effect || Effectサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.sound || The player can build a sign that can play a sound
| train.build.sound || Soundサインを設置できます。
|-
|-
| train.build.blockchanger || The player can build a sign that alters the block displayed in minecarts
| train.build.blockchanger || 載せているブロックの外観を変更できるBlockchangerサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.jumper || The player can build a sign that can cause a train to jump in a certain direction
| train.build.jumper || 列車を特定の方向へジャンプさせるサインを設置できます。
|-
|-
| train.build.launcher || The player can build a sign that can launch trains
| train.build.launcher || Launchサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.enter || The player can build a sign that can make nearby players/mobs enter a train
| train.build.enter || Enterサインを設置できます。
|-
|-
| train.build.skipper || The player can build a sign that can tell a train or minecart to skip upcoming signs
| train.build.skipper || Skipサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.mutex || The player can build a sign that defines a mutual exclusion zone, where only one train can be at
| train.build.mutex || Mutexサインを設置できます。
|-
|-
| train.build.flip || The player can build a sign that flips the orientation of a Minecart 180 degrees
| train.build.flip || Flipサインを設置できます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.build.animator || The player can build a sign that plays train animations
| train.build.animator || Animateサインを設置できます。
|}
|}
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
=== プロパティ ===
=== Properties ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
速度やチャンクロードなどのプロパティを変更するとき、変更手段、当該プロパティ、[[Special:MyLanguage/TrainCarts/TrainProperties|デフォルトのプロパティ]]に関する複数の権限が必要です。
Multiple permissions are checked when players want to change the properties (''maximum speed'', ''keep chunks loaded'', etc.) of a train. There are permissions for the different methods of changing them, permissions per property name and permissions that control the [[Special:MyLanguage/TrainCarts/TrainProperties|default properties]] applied to newly placed minecarts.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
プロパティごとに、次の権限がチェックされます。
The per-property permissions are checked for:
* プロパティを変更するコマンドの権限
* Commands that change a property
* [[Special:MyLanguage/TrainCarts/Signs/Property|Propertyサイン]]を設置する権限
* Placing a [[Special:MyLanguage/TrainCarts/Signs/Property|Property Sign]] that changes a property
* 保存済みの車両(<code>/savedtrain [name] import [path/url]</code>)をインポートする権限
* Importing saved trains (<code>/savedtrain [name] import [path/url]</code>)
* [[Special:MyLanguage/TrainCarts/Train Spawn Chest|トレインチェスト]]を用いてプロパティ込みの列車を召喚する権限
* Spawning train configurations with the [[Special:MyLanguage/TrainCarts/Train Spawn Chest|train storage chest]]
* [[Special:MyLanguage/TrainCarts/Signs/Spawner|Spawnサイン]]を使ってプロパティ込みの列車を召喚する権限
* Placing a [[Special:MyLanguage/TrainCarts/Signs/Spawner|Spawn Sign]] to spawn a saved train using certain properties
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
==== メソッドごとの権限 ====
==== Permissions for different methods ====
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{| class="wikitable" style="margin:left"
{| class="wikitable" style="margin:left"
! Node !! Description
! 権限ノード !! 説明
|-
|-
| train.command.globalproperties || The player can edit the properties of all carts using commands
| train.command.globalproperties || すべてのトロッコに対してコマンドでプロパティを編集することができます。
|-bgcolor="#dddddd"
|-bgcolor="#dddddd"
| train.command.properties || The player can edit the properties of carts he owns using commands
| train.command.properties || 所有するトロッコに対してコマンドでプロパティを編集できます。
|-
|-
| train.build.property || The player can build train property setter signs
| train.build.property || Propertyサインを設置できます。
|}
|}
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
==== プロパティごとの権限 ====
==== Permissions per property name ====
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Latest revision as of 03:58, 29 June 2026

Other languages:

権限

このページでは、TrainCartsプラグインで利用されている権限をリストアップしています。設定ファイルとしてはそれぞれplugins/Train_Carts/PermissionDefaults.yml内にあり、そちらはこのページよりも最新かもしれません(wikiの更新の遅れなどがあるかもしれないため)。またこちらのページからBKCommonLibの権限のデフォルト設定について読むことができます。


一般的な権限

権限ノード 説明
train.place.minecart トロッコを設置できます。バニラのトロッコの扱いについてもご覧ください。
train.place.traincart TrainCartsの列車として、トロッコを設置できます。バニラのトロッコの扱いについてもご覧ください。
train.break.self 自分の所有するトロッコを破壊できます。
train.break.any 自分の所有していないトロッコも破壊できます。
train.ticket.manage 既存または新規のチケットについて設定が行えます。


コマンドまわり

権限ノード 説明
train.command.globalproperties すべてのトロッコについて、コマンドで編集を行えます。
train.command.properties 所有するトロッコのプロパティを、コマンドで編集できます。
train.command.destroy 所有するトロッコを、コマンドを通じて破壊できます。
train.command.destroyall サーバー上のすべてのトロッコを、コマンドを通じて破壊できます。
train.command.fixbugged バグが発生しているすべてのトロッコを破壊できます。
train.command.upgradesavedtrains 保存しているすべての列車のモデルの位置を、新しいTrainCartsのバージョンにアップデートできます。
train.command.reroute 経路探索の再計算を行えます。
train.command.reload 設定を再読込できます。
train.command.break トロッコが破壊できるブロックを、あらかじめ設定済みのリストから選び、設定できます。
train.command.breakblock.admin トロッコが破壊できるブロックを好きに設定できます。
train.command.setpublic 所有するトロッコを公共に設定できます。
train.command.setowners 所有するトロッコのオーナーを設定できます。
train.command.settags 所有するトロッコのタグを設定できます。
train.command.setdestination 所有するトロッコの目的地を設定できます。
train.command.playerenter 所有するトロッコにプレイヤーが乗れるかどうかを設定できます。
train.command.playerexit 所有するトロッコからプレイヤーが降りられるかどうかを設定できます。
train.command.pickup 所有するチェスト付きトロッコがアイテムを拾えるかどうかを設定できます。
train.command.setlinking 所有するトロッコが他の列車と繋がれるかどうかを設定できます。
train.command.keepchunksloaded 所有する列車が付近のチャンクをロードしたままにできるかどうかを設定できます。
train.command.invincible 所有するトロッコを無敵にできます。
train.command.pushing 所有するトロッコが特定のエンティティを押し出すよう設定できます。
train.command.slowdown 所有する列車が時間経過で減速するかを設定できます。
train.command.setcollide 所有する列車が衝突を起こすかどうか設定できます。
train.command.setspeedlimit 所有する列車の最大速度を設定できます。
train.command.setpoweredcartrequirement 所有する列車がかまど付きトロッコを必要とするか設定できます。
train.command.default 所有する列車にデフォルトの設定を適用できます。
train.command.rename 所有する列車の名前をつけられます。
train.command.displayname 所有する列車の表示名を設定できます。
train.command.manualmove 攻撃によって手動で移動させられるかを設定できます。
train.command.saveall TrainCartsに保存されている情報をファイルに保存できます。
train.command.message メッセージショートカットを追加できます。
train.command.pathinfo 列車が目的地へつくまでのルート情報を確認できます。
train.command.playertake プレイヤーがトロッコを持ちされるかを設定できます。
train.command.soundenabled トロッコの音のオン・オフを切り替えられます。
train.command.teleport トロッコのある地点へテレポートが行えます。
train.command.changeblock トロッコに表示されているブロックを変更できます。
train.command.changetick TrainCartsのグローバルなティック更新のレートを変更できます。デバッグ。
train.command.issue TrainCartsの問題を報告できます。
train.command.editor 列車やサインを編集するためにコマンドを使えます。
train.command.chest 列車を保存・スポーンできるトレインチェストを使えます。
train.command.save 列車をコマンドで名前をつけて保存できます。
train.command.savedtrain.reverse 保存済みの列車の向きを反転できます。
train.command.savedtrain.rename 保存済みの列車の名前を変更できます。
train.command.savedtrain.delete 以前保存した列車を削除できます。
train.command.savedtrain.claim 保存済み列車の所有者を変更できます。
train.command.savedtrain.global 他の人の保存した車両を変更したり削除したりできます。
train.command.savedtrain.import Hastebin(オンラインのテキスト保存サービス)を使って外部から保存済みの列車をインポートできます。
train.command.savedtrain.export Hastebinに保存済み車両をエクスポートできます。
train.command.enter 選択した列車にEnterコマンドを使えます。
train.command.launch 選択した車両にLaunchコマンドを使えます。
train.command.animate コマンドでアニメーションを再生できます。
train.command.gravity コマンドで列車の重力を変更できます。


サインの設定

それぞれのTrainCartsのサインを設置できるかどうか設定します。

権限ノード 説明
train.build.feature.remotecontrol 遠隔操作のサインを設定できます。
train.build.station 列車の駅を作成できます。
train.build.spawner 列車のスポナーを作成できます。
train.spawner.automatic スポナーに自動生成を設定できます。
train.spawner.regular 通常のトロッコをスポーンするスポナーを作成できます。
train.spawner.powered かまど付きトロッコをスポーンするスポナーを作成できます。
train.spawner.storage チェスト付きトロッコをスポーンするスポナーを作成できます。
train.spawner.tnt TNT付きトロッコをスポーンするスポーンするスポナーを作成できます。
train.spawner.hopper ホッパー付きトロッコをスポーンするスポナーを作成できます。
train.spawner.command コマンドブロック付きトロッコをスポーンするスポナーを作成できます。
train.spawner.spawner スポナー付きトロッコをスポーンさせるスポナーを作成できます。
train.build.trigger Triggerサインを設置できます。
train.build.destination Destinationサインを設置できます。
train.build.switcher Switcherサインを設置できます。
train.build.destructor Destroyサインを設置できます。
train.build.detector Detectorサインを設置できます。
train.build.ejector Ejectサインを設置できます。
train.build.ejector.absolute Ejectサインで、絶対座標を指定してテレポートさせることができます。
train.build.property Propertyサインを設置できます。
train.build.collector チェストやかまどなどのストレージからトロッコへアイテムを取り出すサインを設置できます。
train.build.depositor トロッコからストレージへアイテムを入れ込むサインを設置できます。
train.build.elevator Elevatorサインを設置できます。
train.build.teleporter テレポーター(ポータル)を設置できます。
train.build.blocker Blockerサインを設置できます。
train.build.wait Waiterサインを設置できます。
train.build.crafter Crafterサインを設置できます。
train.build.ticket 料金を支払わせたり、できなければ下車させたりするTicketサインを設置できます。
train.build.announcer 列車の乗客にメッセージを送信するAnnounceサインを設置できます。
train.build.effect Effectサインを設置できます。
train.build.sound Soundサインを設置できます。
train.build.blockchanger 載せているブロックの外観を変更できるBlockchangerサインを設置できます。
train.build.jumper 列車を特定の方向へジャンプさせるサインを設置できます。
train.build.launcher Launchサインを設置できます。
train.build.enter Enterサインを設置できます。
train.build.skipper Skipサインを設置できます。
train.build.mutex Mutexサインを設置できます。
train.build.flip Flipサインを設置できます。
train.build.animator Animateサインを設置できます。


プロパティ

速度やチャンクロードなどのプロパティを変更するとき、変更手段、当該プロパティ、デフォルトのプロパティに関する複数の権限が必要です。

プロパティごとに、次の権限がチェックされます。

  • プロパティを変更するコマンドの権限
  • Propertyサインを設置する権限
  • 保存済みの車両(/savedtrain [name] import [path/url])をインポートする権限
  • トレインチェストを用いてプロパティ込みの列車を召喚する権限
  • Spawnサインを使ってプロパティ込みの列車を召喚する権限


メソッドごとの権限

権限ノード 説明
train.command.globalproperties すべてのトロッコに対してコマンドでプロパティを編集することができます。
train.command.properties 所有するトロッコに対してコマンドでプロパティを編集できます。
train.build.property Propertyサインを設置できます。


プロパティごとの権限

Node Description
train.property.maxspeed The player can alter the maximum speed of trains
train.property.slowdown The player can change whether trains slow down due to gravity or friction
train.property.collision The player can change what happens when trains collide with entities or blocks
train.property.playerenter The player can change whether players can enter carts or not
train.property.playerexit The player can change whether players can exit from carts or not
train.property.keepchunksloaded The player can change whether the train keeps nearby chunks and itself loaded
train.property.gravity The player can change the gravity multiplier of the train
train.property.banking The player can change the way trains bank in curves
train.property.destination The player can change what destination a train is path-finding to
train.property.tags The player can add or remove tags to trains or carts, used by switchers and detectors
train.property.name The player can change the name of the train
train.property.applydefaults The player can apply defaults from DefaultTrainProperties.yml to trains
train.property.onlyownerscanenter The player can change whether only owners or all players can enter a train
train.property.pickupitems The player can change whether storage carts pick up items off the ground
train.property.soundenabled The player can change whether a train makes sound while moving, or is quiet
train.property.invincible The player can change whether a train is invincible to damage or can be destroyed
train.property.allowplayertake The player can change whether the players take carts with them when they leave the server
train.property.spawnitemdrops The player can change whether carts drop items when destroyed
train.property.requirepoweredcart The player can change whether a train must have a furnace minecart to exist, or unlink
train.property.displayname The player can change the display name of a train, which is used with the trigger sign
train.property.allowmobmanualmovement The player can allow a train to be set in motion by mob passengers
train.property.allowplayermanualmovement The player can allow player passengers to control the train using steering controls
train.property.owners The player can change who has ownership of carts and can edit them
train.property.breakblocks.normal The player can configure a train to automatically break blocks from a whitelist for farming setups
train.property.breakblocks.admin The player can configure a train to break any type of block at all
train.property.route The player can change what sequence of destinations a train follows
train.property.realtime The player can configure that a train updates in realtime, adjusting for server tick lag and jitter
train.property.friction The player can change the friction multiplier of the train
train.property.tickets The player can assign tickets required for entering the train
train.property.viewdistance The player can change the player view distance set for passengers of a train
train.property.entermessage The player can change the message displayed to players when they enter the train
train.property.exitoffset The player can change where players are ejected relative to the train
train.property.trackingrange The player can change the range from which the train is visible to players
train.property.wait The player can change the wait distance, acceleration and deceleration of trains


Automatic Properties

When players place down minecarts, it can be set to automatically apply certain properties from plugins/Train_Carts/DefaultTrainProperties.yml. By default only the extra admin permissions exists, which is applied with:

train.properties.admin

Additional ones can be configured, and by giving the named permission to players, those players will then place down Minecarts using these properties. This mechanism can be used to, for example, create special roles that make it so minecarts these players place down keep chunks loaded, or makes the minecarts invincible.