TrainCarts/Permissions [ja]

From BergerHealer Wiki
Revision as of 07:03, 19 June 2026 by Saihou-Heiki (talk | contribs) (Created page with "=== プロパティ ===")
Jump to navigation Jump to search
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 コマンドで列車の重力を変更できます。


サインの設定

Allows placing down TrainCarts Signs.

Node Description
train.build.feature.remotecontrol The player can place down signs that use remote control
train.build.station The player can build train stations
train.build.spawner The player can build train spawners
train.spawner.automatic The player can build spawners which automatically create carts
train.spawner.regular The player can build spawners which create regular minecarts
train.spawner.powered The player can build spawners which create powered minecarts
train.spawner.storage The player can build spawners which create minecarts with chests
train.spawner.tnt The player can build spawners which create minecarts with TNT
train.spawner.hopper The player can build spawners which create minecarts with hoppers
train.spawner.command The player can build spawners which create minecarts with command blocks
train.spawner.spawner The player can build spawners which create minecarts with spawners
train.build.trigger The player can build train triggers
train.build.destination The player can build destinations
train.build.switcher The player can build track switchers
train.build.destructor The player can build train destructors
train.build.detector The player can build train detectors
train.build.ejector The player can build train ejectors
train.build.ejector.absolute The player can build train ejectors that teleport to absolute world coordinates
train.build.property The player can build train property setter signs
train.build.collector The player can build systems to let trains collect from storage blocks
train.build.depositor The player can build systems to fill storage blocks with items from trains
train.build.elevator The player can build systems to teleport trains vertically
train.build.teleporter The player can build train teleporters (portals)
train.build.blocker The player can build train blockers
train.build.wait The player can build train wait signs
train.build.crafter The player can build item crafter signs
train.build.ticket The player can build a sign that will charge money or ejects a player if he can't pay
train.build.announcer The player can build a sign that sends a message to all the players in a train
train.build.effect The player can build a sign that can play an effect
train.build.sound The player can build a sign that can play a sound
train.build.blockchanger The player can build a sign that alters the block displayed in minecarts
train.build.jumper The player can build a sign that can cause a train to jump in a certain direction
train.build.launcher The player can build a sign that can launch trains
train.build.enter The player can build a sign that can make nearby players/mobs enter a train
train.build.skipper The player can build a sign that can tell a train or minecart to skip upcoming signs
train.build.mutex The player can build a sign that defines a mutual exclusion zone, where only one train can be at
train.build.flip The player can build a sign that flips the orientation of a Minecart 180 degrees
train.build.animator The player can build a sign that plays train animations


プロパティ

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


Permissions per property name

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.