-
Notifications
You must be signed in to change notification settings - Fork 9
Ticket
Tickets are books used by ByteCart to store transport information. Tickets are signed by ByteCart plugin and are not user-editable.
Tickets can be obtained with various commands and signs. Whenever ByteCart needs to store information, a ticket will be instanciated in inventory (of player or storage cart) if not existing.
To avoid ticket proliferation, ByteCart will reuse existing tickets and possibly erase previous tickets. To avoid this, one must obtain a new blank ticket with bcticket command and hold the new ticket in hand while using signs or commands (see below).
Alternatively the configuration parameter 'reusetickets' can be set to false to prevent ticket reuse and create a new ticket each time information must be stored.
When dealing with several tickets in an inventory, ByteCart applies the following rules:
- If the inventory is a player inventory, and the player is holding a ticket in hand, ByteCart will use this ticket to store or recall transport information.
- Otherwise ByteCart will use the first ticket found in inventory sorted by slot number.