RUST Rust Lottery v1.2.5

No permission to download
You can download a maximum of 0 files within 24 hours
This plugin allow your player to bet some money/points to become a rich man or a naked guy ;).

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.
Code:
Please, Log in or Register to view codes content!

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)
111x is the number rolled by player where "x" mean a random number and the "1" after the double dot is the percent of win rate.

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
Author
Box2
Downloads
0
Views
35
First release
Last update
Rating
0.00 star(s) 0 ratings

Similar resources

Проверка на читы, как в Rust
0.00 star(s) 0 ratings
Downloads
0
Updated
RUST  Rust Commit Feed v1.0.0 GP75.00
Displays new Rust commits to chat
0.00 star(s) 0 ratings
Downloads
0
Updated
RUST  Rust Kits v4.4.8 GP100.00
Item kits, autokits, kit cooldowns, and more
0.00 star(s) 0 ratings
Downloads
0
Updated
RUST  Rust Kits v4.4.7
Item kits, autokits, kit cooldowns, and more
0.00 star(s) 0 ratings
Downloads
0
Updated
RUST  Rust Notice v1.0.1 GP75.00
Notice players anonymously
0.00 star(s) 0 ratings
Downloads
0
Updated
Back
Top
Development Community