Plugin category: Economy/fun Suggested name: Villager Bar What I want: I would like a plugin that got different villagers. when you right click on it a shop Gui opens. The rows of the Shop can be configurble. in a row there are Golden Carrots. The carrots got a Custom name and Lore. Each carrot got his own Chance to double your money. Like i take 1 golden Carrot (the first on the left) it got 1/10 chance to double your money also configurble) when you left click on the Carrot (in shop gui) you buy 1. when you bought one simple right click to use it (not eating) You can configure this things: Name and Lore of the Carrots Items in a Row The chance of each Carrot a Custom message When you lose and Win The price of each Carrot Ideas for commands: Default Player Commands: -/VillagerBar help [Base command][Shows Some information] -/VillagerBar Create {name} [Spawns a NPC (a Villager) on the place where the players types that command. -/Villagerbar remove {name} Ideas for permissions: - Villagerbar.create - Villagerbar.remove When I'd like it by: As Soon As Possible Thx for Reading ! Got Questions About This? Just Ask Me!
http://dev.bukkit.org/bukkit-plugins/villagershop/ http://dev.bukkit.org/bukkit-plugins/shopkeepers/ there
I going to make it. So if the player tooks one carrot from the shop gui he will buy this carrot, but nothing happens. But when the player right clicks the carrot there is a chance that his money will be doubled? It would be easier if the player would win/lose just after he bought/took the carrot. Would that be ok, too? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Oh man, sorry! I totally forget you. You can download the jar here: http://www.file-upload.net/download-9085248/VillagerBar-PG.jar.html Please tell me, whether this is what you wanted, then I will add color support and custom messages and fix that the items contains two lores, the user shouldn't see.
Zupsub it dont work when i make a villager and try to buy a carrot it gives me a error and i cant eat it or use it (the carrot) Zupsub could u add me on skype so we can fix this faster? Zupsub error found: http://pastebin.com/BtmpzGGi
timtower did u even read it probaly not only the word "skype" learn to read the whole sentence and stay out of our business
timtower then you know not to post to say to me: "Not allowed to take it to skype" UNLESS you didnt read it
JordyPwner Umm he's just pointing out one of the most over-forced rules of Bukkit you won't have to go to skype if you would take the time you spent whining to learn Java yourself honestly its not that hard.
I tried it over and over again and all works perfectly for me. Are you sure, you are running the latest Vault? What are you're version of Vault/Craftbukkit? Please try to restart your server and look, whether there are errors in the console (printed in red).
Zupsub works fine for me u can go ahead and work on it Zupsub what i want to be changeable: Name and Lore of the Carrots (also in the GUI) Color Code Supported Items in a Row The chance of each Carrot a Custom message When you lose and Win and when you bought one The price of each Carrot
Jaaakee224 Zupsub is gonna work on it now but if we dont stay ontopic thread might get closed Zupsub Thx for making this!
JordyPwner No, it will not be closed, and it's not even offtopic. Again, what's the problem with the plugin?
Jaaakee224 There were some errors but its was my problem didnt updated vault now he is gonna work on it
JordyPwner Okay... but the plugin is already complete. Everything you said he added into it. Now that you have Vault updated, it should work fine. (If you are still getting an error please use pastebin and give me the link)
Color support + config added. Should be finished now! Tell me, if something doesn't work! http://www.file-upload.net/download-9091623/VillagerBar-PG.jar.html --- Just to note: in the /plugins/VillagerBar/ folder you find: - config.yml (should be self-explaining) - default.yml => the template, for creating newVillagerBars (when you do /vb create) - u.u (not needed for you) - /bars/ - NameOfTheBar => Here you can configure the bar, if you don't want to use the template default.yml
Zupsub As First sorry i was on a little holiday with friends! Now im home and tested it but get this on console error: http://pastebin.com/xR9wGADs EDIT: When i click on a empty slot the gui closes. Maybe fix that? EDIT2: Your money what you bought didnt doubled. Ill explain: You buy a golden carrot for 1M and if you win you get 2million. now you only get your money back
Hi, 1.: I fixed the error, please provide more information next time (when does the error occurs, ...) 2.: I fixed it, too 3.: I'm confused. Let's assume I've 110$. I buy one carrot for 10$ => now I have 100$. If I win, I my money get doubled => I've 200$ now. What did you expect? http://www.file-upload.net/download-9101600/VillagerBar-PG.jar.html