/Permissions
Saihou-Heiki (talk | contribs) (Created page with "==== プロパティごとの権限 ====") |
Saihou-Heiki (talk | contribs) (Created page with "それぞれのTrainCartsのサインを設置できるかどうか設定します。 {| class="wikitable" style="margin:left" ! 権限ノード !! 説明 |- | train.build.feature.remotecontrol || 遠隔操作のサインを設定できます。 |-bgcolor="#dddddd" | train.build.station || 列車の駅を作成できます。 |- | train.build.spawner || 列車のスポナーを...") |
||
| Line 137: | Line 137: | ||
=== サインの設定 === | === サインの設定 === | ||
それぞれの[[Special:MyLanguage/TrainCarts/Signs|TrainCartsのサイン]]を設置できるかどうか設定します。 | |||
{| class="wikitable" style="margin:left" | {| class="wikitable" style="margin:left" | ||
! | ! 権限ノード !! 説明 | ||
|- | |- | ||
| train.build.feature.remotecontrol || | | train.build.feature.remotecontrol || [[Special:MyLanguage/TrainCarts/Signs#Remote_Control|遠隔操作]]のサインを設定できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.station || | | train.build.station || 列車の駅を作成できます。 | ||
|- | |- | ||
| train.build.spawner || | | train.build.spawner || 列車のスポナーを作成できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.spawner.automatic || | | train.spawner.automatic || スポナーに自動生成を設定できます。 | ||
|- | |- | ||
| train.spawner.regular || | | train.spawner.regular || 通常のトロッコをスポーンするスポナーを作成できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.spawner.powered || | | train.spawner.powered || かまど付きトロッコをスポーンするスポナーを作成できます。 | ||
|- | |- | ||
| train.spawner.storage || | | train.spawner.storage || チェスト付きトロッコをスポーンするスポナーを作成できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.spawner.tnt || | | train.spawner.tnt || TNT付きトロッコをスポーンするスポーンするスポナーを作成できます。 | ||
|- | |- | ||
| train.spawner.hopper || | | train.spawner.hopper || ホッパー付きトロッコをスポーンするスポナーを作成できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.spawner.command || | | train.spawner.command || コマンドブロック付きトロッコをスポーンするスポナーを作成できます。 | ||
|- | |- | ||
| train.spawner.spawner || | | train.spawner.spawner || スポナー付きトロッコをスポーンさせるスポナーを作成できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.trigger || | | train.build.trigger || Triggerサインを設置できます。 | ||
|- | |- | ||
| train.build.destination || | | train.build.destination || Destinationサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.switcher || | | train.build.switcher || Switcherサインを設置できます。 | ||
|- | |- | ||
| train.build.destructor || | | train.build.destructor || Destroyサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.detector || | | train.build.detector || Detectorサインを設置できます。 | ||
|- | |- | ||
| train.build.ejector || | | train.build.ejector || Ejectサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.ejector.absolute || | | train.build.ejector.absolute || Ejectサインで、絶対座標を指定してテレポートさせることができます。 | ||
|- | |- | ||
| train.build.property || | | train.build.property || Propertyサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.collector || | | train.build.collector || チェストやかまどなどのストレージからトロッコへアイテムを取り出すサインを設置できます。 | ||
|- | |- | ||
| train.build.depositor || | | train.build.depositor || トロッコからストレージへアイテムを入れ込むサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.elevator || | | train.build.elevator || Elevatorサインを設置できます。 | ||
|- | |- | ||
| train.build.teleporter || | | train.build.teleporter || テレポーター(ポータル)を設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.blocker || | | train.build.blocker || Blockerサインを設置できます。 | ||
|- | |- | ||
| train.build.wait || | | train.build.wait || Waiterサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.crafter || | | train.build.crafter || Crafterサインを設置できます。 | ||
|- | |- | ||
| train.build.ticket || | | train.build.ticket || 料金を支払わせたり、できなければ下車させたりするTicketサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.announcer || | | train.build.announcer || 列車の乗客にメッセージを送信するAnnounceサインを設置できます。 | ||
|- | |- | ||
| train.build.effect || | | train.build.effect || Effectサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.sound || | | train.build.sound || Soundサインを設置できます。 | ||
|- | |- | ||
| train.build.blockchanger || | | train.build.blockchanger || 載せているブロックの外観を変更できるBlockchangerサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.jumper || | | train.build.jumper || 列車を特定の方向へジャンプさせるサインを設置できます。 | ||
|- | |- | ||
| train.build.launcher || | | train.build.launcher || Launchサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.enter || | | train.build.enter || Enterサインを設置できます。 | ||
|- | |- | ||
| train.build.skipper || | | train.build.skipper || Skipサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.mutex || | | train.build.mutex || Mutexサインを設置できます。 | ||
|- | |- | ||
| train.build.flip || | | train.build.flip || Flipサインを設置できます。 | ||
|-bgcolor="#dddddd" | |-bgcolor="#dddddd" | ||
| train.build.animator || | | train.build.animator || Animateサインを設置できます。 | ||
|} | |} | ||
Revision as of 03:52, 29 June 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サインを設置できます。 |
プロパティ
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 default properties applied to newly placed minecarts.
The per-property permissions are checked for:
- Commands that change a property
- Placing a Property Sign that changes a property
- Importing saved trains (
/savedtrain [name] import [path/url]) - Spawning train configurations with the train storage chest
- Placing a Spawn Sign to spawn a saved train using certain properties
Permissions for different methods
| Node | Description |
|---|---|
| train.command.globalproperties | The player can edit the properties of all carts using commands |
| train.command.properties | The player can edit the properties of carts he owns using commands |
| train.build.property | The player can build train property setter signs |
プロパティごとの権限
| 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.