Tickets
A plugin for making tickets and ticket stations to amusements, trains... anything!
Author: minecraftman1436 *Requires Vault!*Code added to github - Update the plugin if you want to! :D
Get code here!
Features:- Make tickets, that your players on your server can buy
- Ticket features:
- You can make different kinds of tickets
- You can set a cost for the ticket
- You can set an amount of uses for the ticket
- Make ticket stations, where the tickets can be used
- Ticket station features:
- You can define which tickets the stations will accept
| Commands: | Permissions: | Description: |
| /t buy [Ticket name] | tickets.buy | Buy a ticket |
| /t createbooth [Booth name] | tickets.admin | Create a ticket booth |
| /t linkfence [Booth name] | tickets.admin | Link a fence to a ticket booth |
| /t addticket [Booth name] [Ticket name] | tickets.admin | Add a ticket to a ticket booth |
| /t removeticket [Ticket name] | tickets.admin | Remove a ticket |
| /t removebooth [Ticket booth name] | tickets.admin | Remove a ticket booth |
It should look like this:
Tickets:
  ExampleTicket:
    Description: Example
    Price: 1
    Uses: 30
Booths:
The ExampleTicket is a sample ticket, that shows, how you should define a ticket in the config.
  Attributes:
    Description: it is the description of the ticket that will be shown under the ticket item name.
    Price: Defines the price for buying the ticket.
    Uses: Defines how many times the ticket can be used, before it disappear. Creating a ticket booth: Start by using the command:
/t createbooth [Booth name]Then point at the fence that should be the gate and use the command:
/t linkfence [Booth name]Then add the tickets the ticket booth should accept by using the command:
/t addticket [Booth name] [Ticket name]Then make a sign like this:

It will turn into this:

When someone rightclicks the sign with an accepted ticket in hand the fence will open. Todo:
- Add commands for making a ticket

