Sueta
PO

PotionsMenu - Simple Potions GUI

1.0

A simple potions gui to enable/disable potion effects

·Plugin

PotionsMenu
Potions menu is a customizable Potion GUI to allow your users to enable/disable potions by the click of a button.

Commands
- /potions -
Opens the potions GUI
/potionclear - Removes all potion effects

Permissions
- potions.use.(potionName) -
Allows player to use specified potion
- potions.clear - Allow player to use /potionclear
potions.* - Gives player all above permissions

All potionNames are in the config, all potion effects can be removed from the gui through the config

If any Potion Effects are not included that you would like added let me know and I will happily add them!
If there are any bugs feel free to contact me and I will fix them ASAP

Config.yml
menuName   :  '&cPotions'  
potionRemovedMessage   :  '&bSuccessfully removed potion effects!'  
inventorySize   :  36  
noPermission   :  '&cYou do not have permission to use this command!'  
requirePermissionToDisplayPotion   :  false 
 
potions  :  
  speed  :  
    enabled   :  true  
    inventoryIndex   :  10  
    name   :  '&bSpeed'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  strength  :  
    enabled   :  true  
    inventoryIndex   :  11  
    name   :  '&bStrength'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  haste  :  
    enabled   :  true  
    inventoryIndex   :  12  
    name   :  '&bHaste'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  nightvision  :  
    enabled   :  true  
    inventoryIndex   :  13  
    name   :  '&bNight Vision'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  absorption  :  
    enabled   :  true  
    inventoryIndex   :  14  
    name   :  '&bAbsorption'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  blindness  :  
    enabled   :  true  
    inventoryIndex   :  15  
    name   :  '&bBlindess'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  fireresistance  :  
    enabled   :  true  
    inventoryIndex   :  16  
    name   :  '&bFire Resistance'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  jumpboost  :  
    enabled   :  true  
    inventoryIndex   :  19  
    name   :  '&bJumpBoost'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  invisibility  :  
    enabled   :  true  
    inventoryIndex   :  20  
    name   :  '&bInvisibility'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'  
  waterbreathing  :  
    enabled   :  true  
    inventoryIndex   :  21  
    name   :  '&bWater Breathing'  
    level   :  0  
    duration   :  100000  
    lore   : 
      - '&aLeft Click To Enable' 
      - '&cRight Click To Disable'

Similar projects

Plugin →