Easier Villager Shop Setup and bunch of new features #38


  • Enhancment
  • Waiting
Open
Assigned to dosmike
  • _ForgeUser15545713 created this issue Aug 29, 2014

    Hi. I'm DaveGamingMC.
    I have some brilliant ideas for this plugin. My ideas will allow your plugin users to set up villager shop in a more easier and convenient way than just typing lots of command. What I want is when a player types the command '/vs create', a GUI will open. In the GUI, you can edit everything to set the villager without typing a single command. You can customize the number of rows in the GUI. In the GUI, there will be a villager spawn egg, name tag, anvil, emerald (item) and a book. Below is a list representing the meaning of those items:

    -Villager Spawn Egg: The villager profession
    -Name Tag: The villager name
    -Anvil: The items to buy and sell in the GUI
    -Emerald: The price of the items
    -Book: Closes the setup menu
    *Note: All these items are configurable in the config file.

    When the player clicks the egg, another menu will open will all the villager profession in the GUI. There will be some items representing the villager profession in the GUI. You can change this in the config file. For the name tag, an anvil interface will open and you must type the name of the villager in the anvil interface. If the anvil is clicked, the shop menu for the villager will open and you can put the items you want to sell or buy in there. There is also a new permission, 'villagershop.item.admin' that allows admin shop. If you don't have that permission, you need the item you want to sell or buy in your hand. You put the items you want to sell or buy in the GUI by dragging the item into the GUI. If you put 64 wheat in the GUI, there will be a 64 stock of wheat in the shop. You can put more than 64 stock for an item that is for sell/buy. There will be a lore for the item in the shop with how much stock of the item is left. Finally, when the emerald is clicked, it will open the shop menu and you need to click to item you want to set the price. Then, an anvil interface will open and you type the price in the interface. The currency symbol is not nessesary. If you want to remove an item from a shop, just drag the item you don't want to sell ou t from the shop menu. And I think that is everything that you need to do to set a villager shop. To edit a villager, type '/vs select <villager name> and right click the villager to open the setup menu. When you are done, click the book. A message configurable in the config file will appear if you successfully create a villager shop. Sometimes, players will forget to take out the items from the shop before they delete the villagers. So, when they try to remove a villager with some items in the shop, a message will appear saying that you must take out all items from the shop before deleting the villager. That is all the new features I want for this plugin.

  • _ForgeUser15545713 added the tags New Enhancment Aug 29, 2014
  • DosMike posted a comment Sep 3, 2014

    Nice idea but such a nested GUI is pretty complex and takes a lot of time to make.
    I got some plans for a future version i'd like to realise first.
    Maybe your suggestion could be "the final step of development"

    Thank you very much for this suggestion and have a nice day :)

  • DosMike removed a tag New Sep 3, 2014
  • DosMike added a tag Waiting Sep 3, 2014

To post a comment, please login or register a new account.