ποΈTickets
The tickets section defines how players can access spins on the wheel. Tickets can be physical items, digital value in database, or time-based.
You are able to add unlimited amount of tickets to your wheel and system will allways check if player has any ticket from the configuration
Syntax
tickets:
"<id>":
type: <TYPE>
...type options (described below)
...other ticketsTicket Id
Ticket id defines whole ticket section in the list of tickets. Make your own ticket ids that suits you, but do not use special characters and spaces. Examples od ids:
"example_physical_ticket"
"sunny_ticket_physical"
"daily_virtual"Ticket Types
Ticket type defines how whole ticket of the wheel will work or look. Our premade ticket types are listed and described below, but other/your plugins and addons are able to connect their own ticket types to the system, then follow their documentation.
Currently available types:
PHYSICAL = physical item in player inventory
DIGITAL = virtual currency ticket in database
How to use types:
PHYSICAL
Player will recieve physical item to his inventory and using this item, he is able to spin the wheel.
Syntax:
pack-item
If you use our pack generator and want to connect uploaded asset (ticket) to the Physical ticket, then you can add this line and define it using this id:
Example:
tickets/my-ticket
This value is optional and made only for pack generator use
item
If you use pack-item or not, you still wnt to use item, bcs item defines name, lore, enchants etc.
All info about item options can be found -> here <-
TIMED
Player will be able to spin the wheel for free in specific time windows. Something like a automatic daily reward system.
Syntax:
Reset on midnight
if you have this value set on true, the reset time for the player will be rounded to closest midnight before calculated reset date
Example:
claimed: 11. 10 at 19:30 - (1d reset time) - changed to: 12.10 at 00:00
claimed: 11. 10 at 19:30 - (2d reset time) - changed to: 13.10 at 00:00
Reset time
Reset time defines when player will be able to claim TIMED spin again. Available time definitions: d = days, h = hours, m = minutes, s = seconds
Time value format:
<number><time definition> <number><time definition> ...
Example:
1d2d 5h 10s
Tickets can be given using this command
/fw ticket give <player> <wheel_id> <ticket_id> <amount>
Last updated