Home›Java›Mods›Lucky Potions
Lucky Potions
ModsJava

Lucky Potions

Java mod listed for Minecraft 1.7–1.10. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG]
A simple plugin that gives you a Water Bottle to drink, and if you will be luck you will won a prize!
Dependencies: Vault
Soft-Depend: Essentials (Economy plugin)



The plugin is fully customizable:​


Commands:​


Permissions:
​


(!): If you are updating the plugin, check the new config.yml file that will be generated. The older one will be renamed into config_old.yml to allow you to copy the old configuration.



Config:
​
Spoiler: Config.yml
Code (YAML):
#LuckyPotions v1.3
#Developed by Riccardo760
#Telegram: @Riccardo760
#Discord: @Riccardo760#1314

#Admin permissions: luckypotions.admin or luckypotions.*
#Users permission: luckypotions.use

#DO NOT TOUCH THIS VALUE
config-Version
: 1.3


#Every message has the prefix, you can set prefix as "" to hide it.
#You can set a message as "" and it won"t be displayed.
#Please use the "&" char only for chat formatting.
#Placeholders are only available on buy message
messages
:
  prefix
: "&8[&d&lLuckyPotions&8] » &a"
  guiTitle
: "&dLucky Potions"
  openingGUI
: "You opened the shop!"
  bought
: "You bought %luckypotion-name% &afor &d%price% &a$"
  reload
: "Usage: /LuckyPotions reload."
  brewPotionWin
: "You're lucky! You won! "
  brewPotionLoss
: "Unfortunately you didn't win :("
  noPermission
: "&cYou don't have permission to open the shop!"
  notEnoughMoney
: "&c You don't have enough money!"
  noInventorySpace
: "&c You have no space in your inventory!"
  invalidSender
: "&cYou can't do this from CONSOLE!"
  tooManyArgs
: "&cCorrect usage &a/LuckyPotions !"
  reloadCompleted
: "Reload completed successfully!"


#Number of slots of the inventory (must be a multiple of 9)
#If the number isn't a multiple of 9, the GUI will be of 54 slots.
InventorySlots
: 54


#Please don't add more than "InventorySlots" number of potions!
#winChance is an integer
#price is a double
#DON'T CHANGE BOTTLE NAMES ONCE PLUGIN STARTED

potions
:
  potion1
:
    name
: "&dPotion 1"
    slot
: 11
    cost
: 1500
    winChancePercentage
: 10
    consoleWinCommand
: "eco give %player% 3000"
    lore
:
      - "&aCost
: &41500&a$"
      - "&d10% &awin chance."
      - "&aWin prize
: &d3000&a$"

  potion2
:
    name
: "&dPotion 2"
    slot
: 15
    cost
: 3000
    winChancePercentage
: 5
    consoleWinCommand
: "eco give %player% 10000"
    lore
:
      - "&aCost
: &43000&a$"
      - "&d5% &awin chance."
      - "&aWin prize
: &d10000&a$"
​



The GUI:
[​IMG]


Meta example:
[​IMG]



Win example:
[​IMG]



About me:
If you find a bug please DM me instead leaving a BAD review pls.
Telegram: @Riccardo760
Discord: @Riccardo760#1314

P.S. The plugin code will be optimized in the future

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.

Lucky Potions is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10. Downloaded 158 times (via Spigot). Download it and open it directly in the game.

Explore more