Important This feature is only available for communities that host servers (Player mode disabled).
This article will help explain how the /server gamble
command works and how to configure it.
AmountGambled * (random(Randomizer) * Percentage + Modifier)
Let's break the equation apart:
AmountGambled
Randomizer
[Payout Randomizer Min, Payout Randomizer Mid, Payout Randomizer Max]
Percentage
AmountGambled
to give to the Player if they winModifier
to ensure the value is always above the amount they initially gambled (More on this later)Modifier
Percentage
so they will win at least what they Gambled.
AmountGambled: 100
Randomizer: Low: 0.1
, Mid: 0.5
, Max: 1
Percentage: 90
(This will be converted to 0.90
)
Modifier: 1
AmountGambled * (random(Randomizer) * Percentage + Modifier) // Lowest Amount 100 * (0.1 * 0.90 + 1) 100 * (0.09 + 1) 100 * 1.09 = 109 // Mid Amount 100 * (0.5 * 0.90 + 1) 100 * (0.45 + 1) 100 * 1.45 = 145 // Max Amount 100 * (1 * 0.90 + 1) 100 * (0.90 + 1) 100 * 1.90 = 190
So if the Player gambled 100 Poptabs and won:
- The lowest they could win is 109
Poptabs
- The max amount they could win is 190
Poptabs
- But on average, they will win around 145
Poptabs
Range: 0 - 100
Default: 35
Range: 0 - 100
Default: 90
Range: Recommended to be greater or equal to 1
Default: 1
Range: 0 - n
Default: 0
Range: 0 - n
Default: 0.5
Range: 0 - n
Default: 1