WishingWells is a plugin that allows users with the "well.command" permission to create wells, and with those wells, players with the "well.use" command can drop certain items into the well, and may receive a selected list of items. All values are configurable in the config. This was originally crated for Music4lity.
Github page:
https://github.com/ZombieStriker/WishingWells_Bukkit
Adds the ability to create custom wishing wells. Wishing wells are locations that players can throw per-defined items into, and based on chance values, may return a reward - an itemstack which is also per-defined by the config. All messages, rewards, and items that can be thrown into the well are configurable.
The config looks like:
#Delay between wishes in seconds
Delay: 60
Accepted:
- <item>
- GOLD_NUGGET
Returned:
# Name is a test variable, so we need to comment them out
# name:
# - <itemnumber> <amount> <meta>
test:
- DIAMOND_SWORD 1
Example:
- DIAMOND_PICKAXE 1 efficiency:1 durability:1 fortune:1 name:&4Gigadrill lore:The_drill_that_&npierces|the_heavens
ReturnedChance:
# Name is a test variable, so we need to comment them out
# name: 0
Example: 50
test: 50
CongratsMessage: '&aYou got a new item back from the well!'
TooBadMessage: '&cOh no! You lost your item in the well. Too bad!'
ItemNotAccepted: '&4That item isnt accepted in the well!'
Delay message: '&cYou cant make another wish for %s seconds!'
auto-update: true
Remember: all percentage amounts must equal up to 100. If it goes over, some items may not have the correct chance values. If it is below, the player might not receive any items even if it registers the player as "winning".