HomeJavaModsRoulette [Abandoned]
Roulette [Abandoned]
Roulette

Description
Welcome to my Roulette Plugin!
This is basically a remake of online roulettes.
You place a bet on a color (Red, Green or Black) and you get paid.
An easy way to make your servers economy drop (People will lose money), but it might also make people richer.

How does it work?
When people have bet, and the time has run out, the plugin will generate a number.
This number is between 0 and 18 (The amount of numbers on the table).
It will then pay the players who bet on the color that the number belongs to.
Spoiler: Colors and their numbers
Green - 0
Black - 1
Red - 2
Black - 3
Red - 4
Black - 5
Red - 6
Black - 7
Red - 8
Black - 9
Red - 10
Black - 11
Red - 12
Black - 13
Red - 14
Black -15
Red - 16
Black - 17
Red - 18
I think you get it.

What are the rules?
There are no real rules to this game.
You basically just execute a command, and you place a bet on the color you want to.
The only limit is what you bet.
The maximum amount a player can bet, is 2147483647.

Commands:
- /Roulette open|bet|next red|green|black amount
The open feature is not currently working.

Permissions:
- Roulette.command (Usage of the command to bet and more)
- Roulette.bet (Allows people to place bets)
- Roulette.refund (Permission to refund players bets)
- Roulette.nextroll (Permission to display how long until next roll in chat)

Plugins you need for this to work:
- Vault ( http://dev.bukkit.org/bukkit-plugins/vault/)
- Essentials (or any other economy plugin)

Please note:
When new updates come out, and it affects your .yml files, you will have to delete them, for the plugin to generate new ones!

Disclaimers:
Anyone downloading the plugin agrees to help me develop it further. At the moment, it is only a beta, and there might be bugs that I've not discovered yet.
If you somehow get addicted to gambling, I am not responsible.

Config.yml
Code (Text):

#Public winner announcement
public-announcement: true
#Print the rolled number into console?
print: true
#How much should the different colors pay?
#E.g Bet-Placed * 2
red-payout-times: 2
green-payout-times: 14
black-payout-times: 2
#Wheel is not working message should be displayed?
#The wheel does not work yet, so you should display this message...
#True = Message displayed and not open GUI
show: true
#Do not touch this:
config-version: 1.1
 
Messages.yml
Code (Text):

#General messages
opening-roulette: §aOpening Roulette table.
created-roulette-sign: §aSuccessfully created Roulette sign!
#Winning messages - Use %w for win amount!
won-red: §aYou have won %w from your bet on red!
won-green: §aYou have won %w from your bet on green!
won-black: §aYou have won %w from your bet on black!
#Global messages - Use %n for roulette number
global-red-win: §a§lThe roulette landed on red %n!
global-green-win: §a§lThe roulette landed on green %n!
global-black-win: §a§lThe roulette landed on black %n!
#Information messages - Use %t for time to roll
refund: §cIf you placed a bet you were refunded!
rolling-in-time: §aRolling in %t seconds.
reload: §aReloaded configuration files!
#Error messages
invalid-command: §cInvalid usage! /roulette open|bet|next red|green|black amount
bet-can-only-contain: §cYour bet can only contain numbers (1 2 3 4 5 etc. - You might have exceeded maximum bet amount!)
no-bet-typed: §cYou did not type in your bet!
cant-afford: §cYou cannot afford to place that bet!
already-bet-on-that-color: §cYou already bet on that color once this round! Wait until the next one!
gui-maintenance: §cThe roulette wheel is undergoing maintenance. Please wait! You can still place bets and win though!
#Placed a bet messages (Use %b for bet amount)
you-placed-a-bet-black: §aYou placed a bet of %b on black! Goodluck!
you-placed-a-bet-green: §aYou placed a bet of %b on green! Goodluck!
you-placed-a-bet-red: §aYou placed a bet of %b on red! Goodluck!
#Version identifier
version: 1
 
Spoiler: Next update progress
On Vacation. I have no laptop/computer, so no updates will
come until I get home. The next update will probably happen when the GUI works though.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Roulette [Abandoned] is a free Minecraft Java mod. Compatible with Minecraft 1.9. Downloaded 1,028 times (via Spigot). Download it and open it directly in the game.

Explore more