TrainCarts/Signs/Ticket

From BergerHealer Wiki
Jump to navigation Jump to search
Other languages:

« Go back


Description

The ticket sign is a simple money transfer and display system. It uses Vault to work on the account(s) of passenger(s) in a train.


Syntax

Signtemplate.png
[train]
ticket
add
1.5


Second line

ticket, no other arguments.


Third line

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.


Fourth line

In the case of add, buy or pay, the money value to add or the money value of the train ticket.