/Permissions
Saihou-Heiki (talk | contribs) (Created page with "{| class="wikitable" style="margin:left" ! ノード !! 説明 |- | train.property.maxspeed || 列車の最大速度を変更できます。 |-bgcolor="#dddddd" | train.property.slowdown || 列車が重力や摩擦で減速するかどうかを変更できます。 |- | train.property.collision || 列車がエンティティやブロックに衝突した時にどのような挙動をするか設定できます。 |-bgcolor="#dddddd" | train.property.playerenter || プレ...") |
Saihou-Heiki (talk | contribs) No edit summary |
||
| Line 263: | Line 263: | ||
| train.property.gravity || 列車にかかる重力の係数を変更できます。 | | train.property.gravity || 列車にかかる重力の係数を変更できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.property.banking || | | train.property.banking || 列車が傾斜で傾く挙動を変更できます。 | ||
|- | |- | ||
| train.property.destination || | | train.property.destination || 列車が経路探索で向かう目的地を変更できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.property.tags || | | train.property.tags || SwitcherサインやDetectorサインで使う列車やトロッコのタグを追加または削除できます。 | ||
|- | |- | ||
| train.property.name || | | train.property.name || 列車の名前を変更できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.property.applydefaults || | | train.property.applydefaults || DefaultTrainProperties.ymlのデフォルト設定を列車に適用できます。 | ||
|- | |- | ||
| train.property.onlyownerscanenter || | | train.property.onlyownerscanenter || 列車に乗れるのが所有者だけか、それとも全プレイヤーが乗れるのかを設定できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.property.pickupitems || | | train.property.pickupitems || チェスト付きトロッコが地面に落ちているアイテムを拾えるかを設定できます。 | ||
|- | |- | ||
| train.property.soundenabled || | | train.property.soundenabled || 列車が走行中に音を出すか無音かを設定できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.property.invincible || | | train.property.invincible || 列車がダメージや破壊を受けるかどうかを変更できます。 | ||
|- | |- | ||
| train.property.allowplayertake || | | train.property.allowplayertake || サーバーから退出する際にトロッコを持ち出せるかどうかを設定できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.property.spawnitemdrops || The player can change whether carts drop items when destroyed | | train.property.spawnitemdrops || The player can change whether carts drop items when destroyed | ||
Latest revision as of 02:56, 29 July 2026
権限
このページでは、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サインを設置できます。 |
プロパティごとの権限
| ノード | 説明 |
|---|---|
| train.property.maxspeed | 列車の最大速度を変更できます。 |
| train.property.slowdown | 列車が重力や摩擦で減速するかどうかを変更できます。 |
| train.property.collision | 列車がエンティティやブロックに衝突した時にどのような挙動をするか設定できます。 |
| train.property.playerenter | プレイヤーがトロッコに乗車できるかを設定できます。 |
| train.property.playerexit | プレイヤーがトロッコから下車できるかを設定できます。 |
| train.property.keepchunksloaded | 列車が自身と周辺のチャンクをロードしたままにするかを設定できます。 |
| train.property.gravity | 列車にかかる重力の係数を変更できます。 |
| train.property.banking | 列車が傾斜で傾く挙動を変更できます。 |
| train.property.destination | 列車が経路探索で向かう目的地を変更できます。 |
| train.property.tags | SwitcherサインやDetectorサインで使う列車やトロッコのタグを追加または削除できます。 |
| train.property.name | 列車の名前を変更できます。 |
| train.property.applydefaults | DefaultTrainProperties.ymlのデフォルト設定を列車に適用できます。 |
| train.property.onlyownerscanenter | 列車に乗れるのが所有者だけか、それとも全プレイヤーが乗れるのかを設定できます。 |
| train.property.pickupitems | チェスト付きトロッコが地面に落ちているアイテムを拾えるかを設定できます。 |
| train.property.soundenabled | 列車が走行中に音を出すか無音かを設定できます。 |
| train.property.invincible | 列車がダメージや破壊を受けるかどうかを変更できます。 |
| train.property.allowplayertake | サーバーから退出する際にトロッコを持ち出せるかどうかを設定できます。 |
| 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.