/Tickets
Saihou-Heiki (talk | contribs) (Created page with "現時点ではコマンドの補完機能がありません。今後追加する予定です。") |
Saihou-Heiki (talk | contribs) (Created page with "==== Propertyサイン ====") |
||
| Line 44: | Line 44: | ||
==== Propertyサイン ==== | |||
==== | |||
{{sign|[+train]|property|addticket|myticket}} | {{sign|[+train]|property|addticket|myticket}} | ||
Revision as of 03:45, 28 July 2026
概要
切符は特殊な地図のアイテムで、乗客に列車へのアクセスなどを提供します。
つかいかた
切符の作成・編集・名前の変更
注意点
- 切符の作成時に名前を指定しなかった場合、ランダムな名前が割り当てられます。
- 新しい切符を作成した時、自動的に切符の編集に移行します。
コマンド
| Command: | /train ticket create (name) |
|---|---|
| Permission: | train.ticket.manage |
| Command: | /train ticket edit [name] |
|---|---|
| Permission: | train.ticket.manage |
| Command: | /train ticket rename [new_name] |
|---|---|
| Permission: | train.ticket.manage |
| Command: | /train ticket remove |
|---|---|
| Permission: | train.ticket.manage |
切符と列車の割り当てと解除
コマンド
現時点ではコマンドの補完機能がありません。今後追加する予定です。
| Command: | /train addticket [name] |
|---|---|
| Permission: | train.property.tickets |
| Command: | /train remticket [name] |
|---|---|
| Permission: | train.property.tickets |
| Command: | /train clrticket |
|---|---|
| Permission: | train.property.tickets |
Propertyサイン
Giving ticket items to players
The ticket properties can later be updated without having to re-give the ticket item. The @p selector can be used (in command blocks) to give to players nearby.
| Command: | /train ticket give [name] [player/@p] |
|---|---|
| Permission: | train.ticket.manage |
Ticket item configuration
Tickets can be further configured to restrict the number of uses and more.
| Command: | /train ticket maximumuses [amount/unlimited] |
|---|---|
| Permission: | train.ticket.manage |
| Command: | /train ticket destination [destination] |
|---|---|
| Permission: | train.ticket.manage |
| Command: | /train ticket tags [tags] |
|---|---|
| Permission: | train.ticket.manage |
Ticket background image
The background image of the item can be changed on a per-ticket basis. Background images need to be put in the plugins/Train_Carts/images folder and must be 128x128 in resolution.
| Command: | /train ticket background [filename] |
|---|---|
| Permission: | train.ticket.manage |
Realms
Tickets can be assigned to a realm, a common name that can be assigned to trains. This makes it easier to create multiple different tickets that can be used for the same trains. To use this feature, assign the realm name (instead of the ticket name) to the train tickets property, and now tickets part of this realm can be used.
| Command: | /train ticket realm [realm] |
|---|---|
| Permission: | train.ticket.manage |
