Plugin category: Role Playing, Economy Suggested name: NPC Salesman, NPCStore A bit about me: I'm a private server owner, who is currently building and shaping my server, with the intnention to make it public. I am currently in year 7, have very little java knowledge and am currently working on my first plugin. (Don't get too excited, all it does is give OP's a red carpet type hint following their footsteps as they walk. What I want: I'd like for one of you talented plugin developers out there to write a plugin that uses the advantages of NPC's (not the villager ones), to make a plugin that supports economy in making salesmen NPC's. For example, I use a command to create an NPC, load him, stock him or give him the items that I want him to sell, set he price and allow players to buy the items. For players to by items, they can walk up to the salesman and right click him, this will bring them into a private chat mode, where no Commands are needed. For example, Player walks to Salesman NPC and right clicks him, he then enters private chat mode. It says: Welcome to "NPC Name"'s store, how may I help you? Type "buy" to buy, and "sell" to sell. Player chooses "buy" by typing "buy" NPC Says: "What can I get for you, type list to see our items for sale" Player chooses list a list of all stocked items is shown to the player Player wants to buy 10 bread He types "buy bread 10" Player gets 10 bread. Player is finished buying and types "done" Player enteres global chat once again NPC Says: "come back some other time" FINISH I would greatly appreciate anybody that tries to help me and make this plugin, I would help me, my friends and my server greatly Ideas for commands: I would like the plugin to easy to use in game, the following commands in gold are commands that are needed. Others in italic are commands that are optional /sales create "name of NPC" This is the main command that makes the Salesman himself, I would suggest adding a. Among feature to his plugin if possible. /sales "NPC Name" stock "item name" "ammount" /sales "NPC Name" give "item name" "ammount" /sales "NPC Name" set "item name" "ammount" Any of the commands above can be used to stock your Salesman with the given item and item ammout /sales sell "item name" "item ammount" /sales sell hand /sales sell all Pretty simple, sell hand sells you current item stack in your hand and sell all sells your whole inventory /sales "name of NPC" text [buy-sell-welcome-list-goodbye] This commands sets what the NPC says at the given time of command during a purchase, for example: /sales Bob text welcome Welcome to Bob's shop! Would set the text to when somebody first enteres private chat wih Bob's shop, to the set message Ideas for permissions: I am not very good With permissions, so I sill do what I can do, If you want you can make them yourself sales.create sales.stock sales.buy sales.sell sales.edit sales.delete When I'd like it by: ASAP, but I know that you cannot rush such a big project Similar plugin requests: None that I know of at this moment Devs who might be interested in this: None that I can think of Addition Information: I typed this all on my iPod, so there may be a few mistakes. I will fix it up when I get the chance on the PC. I am also already using Citizens, and it is not what I am asking for, I know you csn create Traders, but they are not very good. And Citizens does not support Essentials Economy Thanks greatly -Cronus
you just Described Citizens http://dev.bukkit.org/server-mods/citizens/ tied with some economy plugin.
No, I am using citizens. This does not do what I am asking for, If you read it properly. And citizens does not support Essentials Economy Needed Bump. The person that makes it will get a mod/admin or plugin writer tag on my server, once (if) it goes public Good Luck EDIT by Moderator: merged posts, please use the edit button instead of double posting.
but wait , i just installed citizens , and it support iconomy and essentials economy its awesome , with buy and sell and controll what they say you can even controll where they have to walk ,like a waypoint thing , so they just go in loops , !! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I know that you can change thier movement, equipment and so in. but when i try to set prices, i get: "There is no Ecomomy plugin on this server" And I would like this plugin more than Citizens, trust me, i have been using citizens for months and i love it too. Although I would like an improved way of purchasing items. Inlove the Citizens plugin but I am asking for another one, instead of using Traders
im keep track of this thread , can you please,keep me updated , id like to have such a plugin , ill update u if i find one too Mate i know i shouldnt ask this , but its driving me crazy , how do i make it so when i right click the npc it talks , ive taken away "talkclose" and set a text but he still wont talk :/ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Its not too hard, just create an NPC (/npc create Example) Select it (right click it) Set his text (/npc set I can talk) Allow him to talk (/npc talkclose) If talkclose disabled him talking, type command again Now walk away and walk back, it should say the set text. Text also allows colour codes. I hope I helped, Cronus Bump EDIT by Moderator: merged posts, please use the edit button instead of double posting.
As said above, the citizens plugin can be utilised to make a trader, I can demonstrate this to you on my private server if you would like, if you would then I'll PM you the IP. But again, look at the citizens wiki and it gives a detailed explanation on how to make a trader.
Srill cant believe that nobody wants to make this. Need more views I know how to make a trader, And i have before, i would just perferr this plugin. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I see. Sadly I don't know of any plugins that will do this, however, maybe you can combine HeroChat's aliasing to create these functions yourself. Combine that with the trader, and you may have something. Not sure if its quite possible though...
Well this is a good idea, this might be the plugin I'll be working on after I created a custom plugin for my own server. And what you're describing would be easier when you're doing it with a chest inventory of the npc and when you get stuff out of it you pay.
I was actually thinking if a chest for that... was going to update the post as it being an option Thanks
You're on. I'm making this for you. Oh, and I would also recommend doing it the way Dreeass suggested.
It shouldn't be hard, the only thing that might be annoying is duplication bugs and glitches depending on the way you're checking if they bought something, sold something or didn't do anything.
That's ok, thanks anyway! I had another *seems very simple* plugin in mind, that i need. If you could make it I would be ever grateful, if you want tl I will send you the detsils. Bassicly, i would like a plugin where ou can create a new /help menu. Where you can set text for it to display. Or maybe if you type info, If you dont feel like making this, i will just post another req app, I dont mind
Thank you, sooo much. Been searching for weeks for such a plugin. Well thanks, and good luck with your plugins