ZYAD Docs

← ZYADEvents overview

🎡 Wheel of fortune — every detail

The preset list

Hub → Events → Wheel of fortune. Each preset is its own wheel configuration with its own prize list and its own jackpot.

ControlFunction
StartOpens the hand-out screen for this preset (pick players).
EditOpens the prize editor.
Ticket tierShown in gold after the name: which ticket lets players redeem this wheel themselves (see tickets). If the same tier is already assigned to a wheel further up, the row turns red and is marked “(DUPLICATE)” — only the upper wheel is then reachable.
DeleteRemoves the preset server-side. default cannot be deleted — the button is hidden there.
+ New presetThe server creates a fresh preset and returns the updated list.
Mouse wheelScrolls the list when you have many presets.
Every action is a server round-trip: the client asks, the server checks admin rights and answers — the status line mirrors each step.

The prize editor

FieldBehaviour
LabelDisplay name in the win message (“1x Bandage”). Leave empty to show the class name.
ClassNameItem class of the prize (editable as text). Add new prizes with “Add prize” — that opens the search picker and the chosen item becomes a new row.
QuantityThe number of pieces. Stackable items (ammo, nails, banknotes …) arrive as one bundled stack, large amounts as several full stacks; everything else as individual items. Handed into the inventory first, and dropped at the player’s feet if it is full — a prize is never lost.
WeightOne weighted roll per spin: chance = weight ÷ sum of all weights. The sum does not have to be 100 (but it is handy: then weight equals percent).
AttOnly shown for weapons (checked live). Opens the loadout panel (below). If the row is switched to a non-weapon the attachments stay in the data — only the button disappears.
JackpotToggle + item + message using %player%/%item%. When someone wins the jackpot item: global broadcast, jackpot sound, entry in jackpots.log.
Redeemable with ticketClick-through selector no ticket → bronze → silver → gold → prestige. Sets which ticket lets players start this wheel themselves. Gold = assigned, grey = admin hand-out only, red = the tier already belongs to another wheel (named in the status line).
SaveTransfers the list in chunks both ways — even 100+ prizes save reliably.

Handing out a wheel — the claim flow

1

The admin starts it

Preset list → Start → pick the target players and send.

2

The player claims it

The player gets a notification and has 60 seconds to press L (CTRL+L is the boss ranking — no conflict). The wheel never opens on top of another menu or the inventory.

3

Spin & prize

The wheel shows live 3D previews of the possible prizes in its cells (weapons including their loadout). The server decides the outcome — the animation follows it, the client cannot influence anything. The prize is handed out afterwards.

If the window runs out the wheel expires (“The wheel of fortune has expired”) — nothing is handed out.

Tickets — players redeem a wheel themselves

Besides the admin hand-out, players can start a wheel themselves with a ticket item. There are four tiers (bronze, silver, gold, prestige); each tier belongs to exactly one wheel — assigned in that preset’s prize editor.

1

Take the ticket in hand

Trigger the “Check wheel” action.

2

Read the preview

The prize list of the assigned wheel opens — with a 3D preview, quantity and win chance in percent for every prize. The server calculates those percentages from the very same weights it later spins with.

3

Redeem or cancel

Cancel leaves the ticket untouched. Only redeem consumes one ticket (one off the stack) and starts the wheel.

RuleBehaviour
Cooldown15 seconds after a spin before the next ticket can be redeemed (“please wait X s”). While the wheel is spinning no new preview opens.
Ticket without a wheelIf no preset is assigned to that tier the server replies “This ticket is not linked to any wheel” — the ticket is kept.
Empty wheelIf the assigned preset has no prizes, nothing is consumed either.
Pending admin offerIf a wheel is still waiting to be claimed with L, the ticket is blocked (“A wheel is already waiting for you”) — never two wheels at once.
Server-authoritativeThe server reads the ticket from the player’s hands itself; the client never sends an item class.

How players get tickets

Tickets are ordinary stackable items — any system that hands out items can distribute them. No extra configuration is needed inside the mod:

Want admin hand-outs only? Simply do not assign a ticket tier to any preset — then using a ticket does nothing and everything stays as it was.

Weapon loadouts (Att panel)

Slot rows are generated from the weapon config (attachment slots + magazines); each slot opens a search list containing only compatible items. The live 3D preview shows the weapon with the current selection. On hand-out the server fits the whole loadout; invalid entries are skipped, never crashed on.

Engine limitation: magazines are handed out and fitted correctly, but they do not render in the preview.

Design tips

Home · Legal notice (German) · Privacy (German) · Terms (German)