ModsJava
Lucky Potions
Java mod listed for Minecraft 1.7–1.10. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
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:
-
You can edit Name, Lore, Price, Slot...
-
You can edit the Inventory size.
-
You can set the win command you want!
-
You can add any potion you want!
Commands:
-
/luckypotions | will open the Inventory of the plugin
-
/luckypotions reload | will reload the plugin
-
/luckypotions info | returns some plugin's infos
-
/luckypotions help | return the list of plugin's commands
Permissions:
-
luckypotions.use | User permission that allows to open up the GUI
-
luckypotions.admin or luckypotions.* | Admin permission that allows to use reload, info and help args.
(!): 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:
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$"
#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:
Meta example:
Win example:
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
Spoiler: bStats
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.