TrainCarts/Signs/Ticket [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "ticketだけで、他の引数はいりません。")
(Created page with "追加、購入、支払いの場合においは、その金額を指定します。")
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
=== 三行目 ===
=== 三行目 ===


<div lang="en" dir="ltr" class="mw-content-ltr">
''add''は口座にお金を追加し、''check''はプレイヤーに現在の所持金を表示、''buy''はプレイヤーにチケットを購入させ、''pay''は列車のオーナーに料金の支払いを行わせます。購入と支払いにおいては、もし乗客がお金を支払えなかった場合、強制的に列車から降ろされます。降ろされたプレイヤーが不正に再乗車するのを防ぐためには、Propertyサインを上手く組み合わせて乗り込みを無効化してください。
''add'' to add money to the account, ''check'' to display the current money value to the player, ''buy'' to let the player buy a ticket and ''pay'' to let the user pay the owner(s) of the train. In the case of buying or paying, if the player can't buy a ticket, they are ejected from the train. To prevent the player re-entering the train, make sure player enter is disabled using a property sign as well.
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
=== 四行目 ===
=== Fourth line ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
追加、購入、支払いの場合においは、その金額を指定します。
In the case of add, buy or pay, the money value to add or the money value of the train ticket.
</div>

Latest revision as of 00:23, 19 June 2026

Other languages:

概要

Ticketサインは、シンプルな料金の表示と受け渡しを行います。お金の処理はユーザーの口座上で行われ、別途Vaultプラグインが必要です。


記法

Signtemplate.png
[train]
ticket
add
1.5



二行目

ticketだけで、他の引数はいりません。


三行目

addは口座にお金を追加し、checkはプレイヤーに現在の所持金を表示、buyはプレイヤーにチケットを購入させ、payは列車のオーナーに料金の支払いを行わせます。購入と支払いにおいては、もし乗客がお金を支払えなかった場合、強制的に列車から降ろされます。降ろされたプレイヤーが不正に再乗車するのを防ぐためには、Propertyサインを上手く組み合わせて乗り込みを無効化してください。


四行目

追加、購入、支払いの場合においは、その金額を指定します。