Lucky Wheel

Managing Lucky Wheel in the Casino Editor

The Lucky Wheel editor page manages wheel placement, model, cooldown, price settings, and access rules.

Editor Settings

Setting
Type
Info

Name

Text

Choose a display name for the Lucky Wheel

Wheel model

Select/List

Select the wheel/circle model used by this wheel

Cooldown

Select/List

Set spin cooldown (configured as hour-based options)

Enabled

Toggle

Enable or disable this wheel

Pay to spin

Toggle

Require payment for spin attempts

VIP only

Toggle

Restrict wheel usage to VIP players only

Spin price

Number (text input)

Set spin cost when pay-to-spin is enabled

Society enabled

Toggle

Enable society/account integration for wheel revenue

Society name

Text/List

Set society/account name used when society is enabled

Proximity

Number

Set interaction distance in meters

Load only interiors

Toggle

Load this wheel only while players are in interiors

Add Lucky Wheel

Action

Create a new wheel at current player spawn coords/heading

Delete Lucky Wheel

Action

Delete selected wheel

WheelConfigs

Wheel rewards and behavior are defined in rcore_casino/configs/luckywheel.lua inside the WheelConfigs table.

Each config (for example default) is a list of wheel slices (1..20), where every slice can define reward logic, weight, sounds, and animation.

Config field
Type
Info

caption

Text

Label displayed for the wheel slot/reward

event

Event array

Server event reward definition (usually with pid placeholder for player id)

action

Function

Custom Lua reward handler for advanced rewards

possibility

Number (weight)

Relative chance weight for this reward slot

wheelSound

Text

Sound set used on win (Win_Cash, Win_RP, Win_Chips, etc.)

pedAnimation

Text

Ped reaction animation key (win, win_big, win_huge, ...)

societyDeduct

Number

Amount deducted from society if that reward needs funding

incrementProfitStats

Number

Profit stats value increment for analytics/logging

isNoWinItem

Toggle

Marks this slot as no-win outcome

LuckyWheelCircles

Available wheel models for the editor are defined in rcore_casino/configs/luckywheel.lua in the LuckyWheelCircles list.

If you want a custom wheel model to be selectable in the editor, add it to this list.

Field
Type
Info

LuckyWheelCircles

List of model names

Defines selectable Lucky Wheel circle models in editor

Wheels[*].model

Text

Model value chosen from LuckyWheelCircles for each wheel instance

Creating Wheel Circles

You can create custom wheel circle models with our generator tool:

https://casino.rcore.cz/v2/arrow-up-right

The tool lets you:

  • customize wheel icons,

  • customize wheel texts,

  • customize wheel color,

  • generate the wheel circle .yft model file.

After generation, you can download everything as a .zip package. The package also includes a tutorial file explaining how to install the generated wheel circle on your server.

After installation, add your new model name to LuckyWheelCircles in rcore_casino/configs/luckywheel.lua so it becomes selectable in the editor.

Last updated