Hello bukkit plugin developers. I need votifier addon plugin that will give out rewards upon player vote. Previous developer of the plugin had finished this project but the plugin itself did not work properly and had few bugs like double xp bar. Last developers full project: https://www.dropbox.com/sh/msf04fooy2wzje6/ndJXi96xLW The features plugin must have: Random money and xp rewards set in the config Random item rewards set in the config (Could be unlimited list) Message upon vote (both private and broadcast) Commands upon vote Random commands upon vote Example Config: Code: reward: random: enabled: true ###Items that will be picked randomly ( 1, 2, 3 and so on ) items: '1': id: 1 min: 1 max: 8 '2': id: 2 min: 5 max: 32 ###Money that will be picked randomly between min-money and max-money min-money: 0 max-money: 10 ###XP that will be picked randomly between min-xp and max-xp min-xp: 0 max-xp: 10 ###Always received section always: enabled: false ###Nothing random everything is received the same every vote items: '1': id: 1 amount: 8 '2': id: 2 amount: 1 money: 50 xp: 25 ###Commands performed upon vote if none the leave as none commands: - none ###What will be broadcasted upon vote and what will be sent privately. ###You may use ( &colorcodes {xp}, {money}, {player} and {items} ) broadcast: &6Thanks for your vote &a{player} message: Thank you {player} for your vote, you will get {money} money and {xp} xp <Removed double post - Bumping is allowed only every 24 hours - Necrodoom>
mydeblob That and the random function wasn't working. Yes I am the original developer, no I can't confirm those bugs ( haven't tested it )
It does not have any features I need and GAlistener is a standart listener. And standart listeners are found all across bukkit.org plugins.
Random money and xp rewards set in the config - GAListener can do that. Random item rewards set in the config (Could be unlimited list) - GAListener can do that. Message upon vote (both private and broadcast) - GAListener can do that. Commands upon vote - GAListener can do that. Random commands upon vote - GAListener can do that.
Random item rewards set in the config (Could be unlimited list) - GAListener can't do that, since it only offers random items in percent%. I need a different system for random items Btw, galistener almost doesn't have any features that I put in my config. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
It can do everything you requested. Here is a sample YAML file for a PhatLoot named Votifier. Code: Votifier: ==: PhatLoot Name: Votifier #True if items should go straight to the Player's inventory AutoLoot: true #If any are negative then the PhatLoot will never reset Reset: Seconds: 0 Minutes: 0 Hours: 0 Days: 0 #This is used for daily/hourly/etc. PhatLoots RoundDownTime: false #True if everyone shares loot (allows for ninjaing) Global: false #Experience looted may be a range or both the same number Exp: Lower: 25 Upper: 35 #Money looted may be a range or both the same number Money: Lower: 50 Upper: 60 #Each Loot within this list will be rolled for LootList: #These items will be given 100% of the time - ==: Item Probability: 100.0 ItemStack: ==: org.bukkit.inventory.ItemStack type: STONE amount: 8 - ==: Item Probability: 100.0 ItemStack: ==: org.bukkit.inventory.ItemStack type: GRASS #This command will be executed - ==: Command Probability: 100.0 Command: broadcast &6Thanks for your vote &a<player> FromConsole: true TempOP: false #This message will be sent - ==: Message Probability: 100.0 Message: Thank you for your vote #A LootCollection is a type of Loot that holds other Loot #1-3 items will be chosen from this collection - ==: LootCollection #The LootCollection is referenced by its name (ex. cOptional Name: Optional #This collection will be looted 100% of the time Probability: 100.0 #1-3 items will be chosen from this collection LowerNumberOfLoots: 1 UpperNumberOfLoots: 3 LootList: - ==: Item Probability: 100.0 ItemStack: ==: org.bukkit.inventory.ItemStack type: STONE BonusAmount: 7 - ==: Item Probability: 100.0 ItemStack: ==: org.bukkit.inventory.ItemStack type: GRASS amount: 5 BonusAmount: 27
==: org.bukkit.inventory.ItemStack What is this? And does your plugin has random item reward that is specified in my config.yml?
yes, they aren't defined in config.yml but they can still be modified using the YAML format. Code: ==: org.bukkit.inventory.ItemStack This allows the plugin to support any type of item that is present in Minecraft. Therefore you can give enchanted items, items with custom lore, and much more.
So how exactly do I add random prices? <Removed double post - Bumping is allowed only every 24 hours - Necrodoom>
You know there's this thing called documentation of his plugin, right? Also, he appears to have given you everything you need. Random item prizes, random money...he configured it most of it FOR you already, as well as writing the plugin in the first place...