MakeDrinks
This plugin allows you to make your own drinks with custom names, costs, permissions, and potion effects. Players can buy drinks by right-clicking on a sign with the name of drinks that you specify in the config file and will be charged the amount you specify. This plugin requires Vault.
Features
- Make your own drink names
- Specify how much each drink should cost
- Restrict who can use each drink with permissions in the config
- Add up to 5 potion effects and effect duration to each drink
Commands and Permissions
There is only one command: /drinksreload - Will reload your config from in-game (need makedrinks.admin to use)
Permissions:
MakeDrinks.placesigns - allows the player to place drink signs
MakeDrinks.get.all - player can buy any drink listed in the config
MakeDrinks.admin - allows placing drink signs, buying any drink, and ability to use /drinksreload command
Configuration
Place the jar file in your plugins folder. Start your server. Edit the commented config.yml file to add your drinks and effects.
Just place a sign that has the first line matching one of the drink names you set up in the config file. When a user with the permission you also set in the config clicks that sign they will receive the drink and be charged the amount of money you set up in the config for that drink. When the player drinks the drink, the player will get any effects that you also set up for that drink. The duration of the effect is also chosen in the config file and will default to 20 seconds if nothing is specified. Duration is x10. So, "Duration: 1" in the config will be 10 seconds of the effect. A few drinks are already in the default config. If you just want to use it right away you can give your admins the "MakeDrinks.admin" permission and give players the "MakeDrinks.get.all" permission and you will be set.
Support
PM me with any issues or requests or post a reply to the plugin page.
To-Do
- Allow creating new drinks with in-game commands
- Add protection to signs so that only MakeDrinks.Admin can break them

