GambleBarLite icon

GambleBarLite -----

Gamble by drinking | Easy to use | Free




  • Fixed a bug with consuming drinks offhand. Now, players will not be able to drink GambleBarLite drinks in the offhand.
  • Also, it is now based on players fully drinking the item, instead of just clicking with it.
----------, Aug 1, 2021

  • Issue allowed for players without the "gamblebar.open" to open the bar. This is now fixed.
  • If the /bar command is issued from a non-player, they will now receive the "mustBePlayer" message.
----------, Jun 30, 2020

  • Fixed another inventory bug.
----------, Jun 18, 2020

  • There was an bar inventory abuse glitch that could be used to potentially duplicate drink items. It is worth noting only the free version of the plugin was affected by this, and it is now fixed.
----------, Jun 15, 2020

  • This plugin has been fixed so it now supports versions 1.12, 1.13, 1.14, and 1.15.
----------, Jun 5, 2020

  • In the previous version, there was an issue where users would need to restart the server/plugin. Otherwise, messages wouldn't be sent and there would be an error log. This should now be fixed.
  • Removed static access to messages yml file.
----------, May 12, 2020

I will no longer be updating and maintaining the old version of GambleBar and I have instead created this "Lite" version with just the basic features of the old plugin. This is because I no longer wish to spend the amount of time required on this project, as it is a free resource. Major changes from the previous versions of GambleBar to this version:
  • Can no longer create multiple bars, this just has one bar.
  • The bar can contain a maximum of 9 drinks.
  • This plugin no longer supports NPC "bartenders". If you wish to implement this with another plugin, just create an NPC that will run "/bar" from the player who clicked it.
  • This plugin is only supported for 1.15. There is no NMS code used, so it should work on other versions. If you try it on other versions, let me know the results, but do so at your own risk.
  • No longer uses NBT API as a dependency.
----------, May 11, 2020

  • New plugin dependency added, all servers must have the NBTAPI plugin installed.
  • This jar file should work on all minecraft server versions, 1.8 through 1.15.2.
----------, Mar 22, 2020

  • If your server is 1.13.1 or 1.13.2, use the file "GambleBar 1.13"
  • If your server is 1.14.x ,use the file "GambleBar 1.14"
----------, Dec 18, 2019

  • IMPORTANT: You must regenerate your messages.yml file, or add this line by hand.
Code (YAML):
#Message sent to player when they receive a drink via command
drinkReceived
: "&6[&fGambleBar&6] &fYou have received a &c%drink% &f drink!"

#Message sent to the command sender when the bar name or slot id is invalid when using /bar give
invalidDrink
: "&6[&fGambleBar&6] &cError, either the bar name or slot ID is an invalid drink."
 
  • NEW: Ability to give players drinks via command. Use "/bar give <playerName> <barName> <inventory slot>". Permission required: "gamblebar.admin.give". Note: <inventory slot> starts at 0.
----------, May 3, 2019

  • IMPORTANT: You must regenerate your messages.yml file, or add this line by hand.
Code (YAML):
#Message sent to player who removes a gambler entity
removedGambler
: "&6[&fGambleBar&6] &fThe gambler entity was removed!"
  • Players are now able to remove gambler villager entities by clicking on them while holding a golden carrot. Permission required: "gamblebar.admin.remove.entity".
----------, Apr 21, 2019

  • Quick bug fix for when a player clicked in bar inventory
----------, Mar 27, 2019

  • [NEW] Added command to remove bars. Command: /bar delete <barName>. Perm: gamblebar.admin.delete.bar.
  • [NEW] Added message when a bar is created.
  • [FIX] Fixed misspelling in default messages.yml.
  • [FIX] Fixed a bug where player lost money when they tried to buy a drink with a full inventory. They will now get a "full inventory" message and will not lose money.
Please either regenerate your messages.yml or manually add these lines to the end:

Code (YAML):

#Message sent when a bar is deleted
deletedBar
: "&6[&fGambleBar&6] &cThe bar &6&l%barName% &chas been deleted."

#Message sent when a bar is created
createdBar
: "&6[&fGambleBar&6] &aThe bar &6&l%barName% &ahas been created."

#Message sent when a player tries to buy a drink with a full inventory
inventoryFull
: "&6[&fGambleBar&6] &cYour inventory is full!"
----------, Mar 24, 2019

Everything about this plugin is different from the 1.x versions, everything has been re-done. Here are the most notable changes so far.
  • Plugin is now open-source.
  • You can now create an unlimited number of bars and an unlimited number of gambler entities.
  • Plugin is now much more well-written (not claiming it's perfect).
  • Anti-dupe protection added to prevent broken economies.
  • Plugin is now only made for 1.13 (for now at least).
  • More, but not important to list for now.
----------, Mar 17, 2019

  • The 1.8 version was only working for 1.8.8 servers (I'm pretty sure), so this update is a fix for 1.8 and 1.8.3 servers.
----------, Jun 2, 2018

  • When you download the .zip file, use the "GambleBar 1.8" version for 1.8 servers!
  • No changes made to the 1.12 version
----------, May 29, 2018

  • There was another permission check for "gamblebar.buydrink", which I was not aware of. There are already permission nodes for the bar command and using the bar NPCs, so this permission has been removed. Shoutout to @MasDaddy for reporting this to me. Also, there was a "insufficientPermission" message in the lang.yml. That has been removed, as "noPermission" is the correct one.
  • Fixed an issue that didn't allow users to use /gamble give <name> <number> from the console. Thanks to @Cathal02 for reporting the issue to me.
----------, Mar 17, 2018

I accidentally left an unnecessary boolean in the default config, now fixed.
----------, Mar 15, 2018

  • Users can now have any command or list of commands run from console when a player wins a certain drink. This can be used for prizes, announcements, etc.
You must re-generate your config.yml file, or add the following line to each bar slot configuration manually.

Code (Text):
    consoleCommands:
    - "/give %player% diamond 3"
----------, Mar 15, 2018

  • Added command aliases "gamblebar" and "bar".
  • Users can now give players a drink from the bar via command, "gamble give <name> <int>". For the integer, pick the index of the bar slot for which drink you want to give. (Starts at 0). Permission needed for command is "gamblebar.give".
You must re-generate your lang.yml file, or add the following lines manually.

Code (YAML):
#Gave a player a drink via command
gaveDrink
: "&6[&fGambleBar&6] &fSuccessfully gave a &c%drink% &fto &c%player%&f."

#You got a drink via admin/console command
receivedDrink
: "&6[&fGambleBar&6] &fYou have received a &c%drink% &ffrom the GambleBar!"

#That player cannot be found
playerOffline
: "&6[&fGambleBar&6] &cSorry, that player cannot be found!"


----------, Mar 15, 2018

  • Since gamblers are invincible, users can now remove a GambleBar NPC (gambler) by right clicking on the gambler while holding an arrow. (User must have permission "gamblebar.entity.remove"). This will also remove the gambler from the config list.
You must re-generate your lang.yml file, or add the following line manually.
Code (YAML):
#You removed a bar opening NPC
removedGambler
: "&6[&fGambleBar&6] &fYou've successfully removed gambler &c%name%&f."
----------, Mar 15, 2018

  • Bug that didn't check for permission on using certain NPC gamblers
----------, Mar 13, 2018

Resource Information
Author:
----------
Total Downloads: 6,252
First Release: Mar 13, 2018
Last Update: Aug 1, 2021
Category: ---------------
All-Time Rating:
17 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings