PotFill [1.8-1.15]
Easily fill your inventory with potions.
Note: If you are using a version above 1.8 you must change the potion material and ids in the config.
Features:
Spoiler: config.yml
Easily fill your inventory with potions.
Note: If you are using a version above 1.8 you must change the potion material and ids in the config.
Features:
- Simple and Lightweight
- Hooks into Vault
- Great feature for Factions
- Cooldown Support
- /potfill - Fills your inventory with the potion defined in the config.
- /potfill reload - Reloads the configuration file.
- potfill.use - Permission to use /potfill
- potfill.reload - Permission to use /potfill reload
Spoiler: config.yml
Code:
# <-------------------------------------->------<--------------------------------------> #
# PotFill
# Created by Dreewww
#
# Discord: Anndrew#3417
# Support Server: https://discord.gg/88ekwP6
# <-------------------------------------->------<--------------------------------------> #
messages:
prefix: '&4&lPotFill &8» '
no-permission: '&cYou don''t have permission to do this!'
must-be-player: '&cYou must be a player to run this command!'
reload: '&aReload Complete. Took %ms%ms.'
not-enough-money: '&cYou don''t have enough money to do this.'
full-inventory: '&cYou need a empty slot to use this command!'
successfully-purchased: '&7You have purchased &f%amount% potions &7for &a$%purchase%&7.'
potfill:
cooldown:
enabled: true
time: 300 # in seconds
on-cooldown: '&7Please wait &f%time% &7to use this command again.'
potion:
price: 20
material: POTION
data: 16421