This plugin allow your player to bet some money/points to become a rich man or a naked guy ;).
Example if a player place bet 100 with multiplier 4 and roll a 1111 he will win 100*(1/100)*4
The "-" " " are both bet multiplers.
The Bet modifiers buton are here to put how many money you want to place in bet.
The place bet button allow you to make the roll and get a chance to win.
The << and >> arrow allow you to switch the win rate, this part is only for information.
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- lottery.canuse -- Allows player to use the lottery
- lottery.canconfig -- Allows player to configure the lottery
Chat Commands
- /lot -- Open the lotery GUI
- /lot add -- Add NPC you are looking to the list of NPCs
- /lot remove -- Remove NPC you are looking to the list of NPCs
Configuration
The settings and options can be configured in the Lottery file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Server Rewards
- MinBetJackpot => Here you set the minimum bet required to be able to win the jackpot.
- Jackpot => How many points has the jackpot.
- JackpotMatch => Roll number match to win jackpot.
- WinPoint => How many points has each match (see Economics part).
- Match => roll match (see Economics part)
- MinBet => Minimum bet
- Enabled => Enable ServerRewards support
Economics
- Jackpot => How many $ has the jackpot.
- JackpotMatch => Roll number match to win jackpot.
- RollMinRange => Min roll range must be less than RollMaxRange
- RollMaxRange => Max roll rang must be superior or equal to RollMinRange
- WinRate => (see below part)
Example if a player place bet 100 with multiplier 4 and roll a 1111 he will win 100*(1/100)*4
The "-" " " are both bet multiplers.
The Bet modifiers buton are here to put how many money you want to place in bet.
The place bet button allow you to make the roll and get a chance to win.
The << and >> arrow allow you to switch the win rate, this part is only for information.
Human NPC
- Enabled => Turn NPCOnly option on/off (when true, command is disabled)
- npcID => List of NPC you want to use to display UI
User Interface
- BackgroundMainColor => Allow you to change the main background color and transparency
- BackgroundMainURL => Allow you to set image as background to the main UI(setting to "" will remove image)
- BackgroundWinColor => Allow you to change the win background color and transparency
- BackgroundWinURL => Allow you to set image as backgroundto the win UI(setting to "" will remove image)
- anchorMin, anchorMax => Size and placement of the UI