Ticket - ShadowJonathan/ByteCart GitHub Wiki

Tickets are books used by ByteCart to store technical information. Tickets are signed by ByteCart plugin and are not user-editable.

Obtaining tickets

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.

Reuseable tickets

To avoid ticket proliferation, ByteCart will reuse existing tickets and possibly erase previous tickets.

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.

Ticket selection

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 as reference for the trip.
  • Otherwise ByteCart will use the first ticket found in inventory sorted by slot number (i.e. from left to right, starting with the quickbar.

Ticket format

The format of the ticket is configurable in the configuration file. It can be personalized to fit the server branding.