WishingWells
Introduction
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
Permissions:
- well.use Allows a player to use the wells
- well.command Allows players to create wells/ use WishingWells commands.
Commands:
- /well create <name>: Create a new well at the player's location. Wells extends two blocks in each direction from the center of the player.
- /Well delete <name>: Deletes the well
- /Well list: Lists all the wells registered
Features:
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.
Config:
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".
In reply to UXC13:
This will return a stack (16) of Ender pearls (368).
Then, to set the percentage it will be used, add the percentage to "returnedchance":
As of 1.0.6, percentages do not have to equal 100. Now, the system calculates the correct percentage for each value. Before this, you needed to make sure all values equaled 100.
My friend and I are trying to make a well on our server. When we do the command it says the well was created but nothing shows up. It's blank and there's nothing there. Why is this?
In reply to xBTSCrayzey:
In reply to ZombieStryker:
You should only export the .class files xD
In reply to Forge_User_32356429:
Is there any way to do spacing in names so like name:'&2Dirty Old Boots' rather than name:&2DirtyOldBoots ?
In reply to Forge_User_80354567:
calling /well list if no well existed yet thrwos an NullPointer exception at Main.onCommand(Main.java:203)
and maybe a TabCompleter would have been nice :D
and if any argument is spelled wrong nothing happens. No respond.
for me the delay does not work.
In reply to Forge_User_32356429:
In reply to ZombieStryker:
and ther is this effect that when i thow 2 items too fast they stack together and then both are gone ;-;
In reply to Forge_User_32356429: