HomeJavaModsGambleBarLite
GambleBarLite
[​IMG]


GambleBarPro - The better version of this resource, with more features and support. If you like this plugin and would like to support my work, please consider buying the premium edition for $4.99 :)

[​IMG]

I created GambleBar to be a fun way for users to balance their economy, as well as provide players with a little excitement.

GambleBar allows players to buy gambling drinks from a bar via command, /bar. When a player right-clicks their drink, they will either win or lose, depending on the odds of the drink. If they win, they receive a configurable amount of money, and if they lose, they get a nausea effect for a configurable amount of time.

This plugin currently supports minecraft server versions 1.12 - 1.15.2. If your server version is 1.8, 1.11, or 1.16.x you will need to use the premium version, GambleBarPro.


Features:


[​IMG]

Commands: (aliases are /gamble and /bar).

Permissions:



[​IMG]

Spoiler: config.yml
Code (YAML):
#How long should the "drunk" effect last when a player loses their drink?
#(In seconds). Set to 0 to disable.
drunkEffect
: 10

#This is the title of the inventory when the bar opens
barTitle
: "&b&lGambleBar"

bar
:
  0
:
    name
: "&cBeer"
    lore
:
    - "&ePrice
: &f$%price%"
    - "&eReward
: &f$%reward%"
    - "&eOdds of winning
: &f%odds%%"
    - "&cDrink this for a chance to win!"
    price
: 500
    reward
: 1000
    odds
: 50.00
  1
:
    name
: "&cWine"
    lore
:
    - "&ePrice
: &f$%price%"
    - "&eReward
: &f$%reward%"
    - "&eOdds of winning
: &f%odds%%"
    - "&cDrink this for a chance to win!"
    price
: 1000
    reward
: 2000
    odds
: 47.50
  2
:
    name
: "&cVodka"
    lore
:
    - "&ePrice
: &f$%price%"
    - "&eReward
: &f$%reward%"
    - "&eOdds of winning
: &f%odds%%"
    - "&cDrink this for a chance to win!"
    price
: 2000
    reward
: 4000
    odds
: 45.00
  3
:
    name
: "&cRum"
    lore
:
    - "&ePrice
: &f$%price%"
    - "&eReward
: &f$%reward%"
    - "&eOdds of winning
: &f%odds%%"
    - "&cDrink this for a chance to win!"
    price
: 5000
    reward
: 10000
    odds
: 42.50
  4
:
    name
: "&cWhiskey"
    lore
:
    - "&ePrice
: &f$%price%"
    - "&eReward
: &f$%reward%"
    - "&eOdds of winning
: &f%odds%%"
    - "&cDrink this for a chance to win!"
    price
: 10000
    reward
: 20000
    odds
: 40.00
  5
:
    name
: "&cEverclear"
    lore
:
    - "&ePrice
: &f$%price%"
    - "&eReward
: &f$%reward%"
    - "&eOdds of winning
: &f%odds%%"
    - "&cDrink this for a chance to win!"
    price
: 50000
    reward
: 100000
    odds
: 37.50

Spoiler: messages.yml
Code (YAML):
#Sent when player doesn't have permission
noPermission
: "&cSorry, you don't have permission for that."

#Sent when console tries to use a player-only command
mustBePlayer
: "&4This is only for players!"

#Sent when a player opens the bar gui
openedBar
: "&eSelect a drink to buy for a chance to win!"

#Sent when a player buys a drink
boughtDrink
: "&fYou've purchased a &c%drink% &ffor &c$%price%&f."

#Sent when a player tries to buy a drink they cannot afford
cannotAfford
: "&fYou can't afford the &c$%price% &ffor this drink."

#Sent when a player wins their drink
drinkWin
: "&fYou've won your drink and received &c$%reward%&f."

#Sent when a player loses their drink
drinkLose
: "&cYou've lost your drink and feel dizzy!"

#The help menu
help
:
- "&6<<< &fGambleBar Help &6>>>"
- "&6/gamblebar &f- Open the GambleBar bar inventory."
- "&6/gamblebar help &f- Open this help menu."


[​IMG]
The premium version, "GambleBarPro".


[​IMG]

[​IMG]

The free version, "GambleBarLite".








[​IMG]
  1. Your server must be running Vault to use this plugin.


If you wish to contact me about this plugin, please PM me on SpigotMC. My discord support is for premium plugins, so please do not join the discord looking for GambleBarLite support, as you will not get it there.

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.

GambleBarLite is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14, 1.15. Downloaded 6,392 times (via Spigot). Download it and open it directly in the game.

Explore more