HyperMerchant
I will no longer be supporting this plugin. I can't find the time or motivation and I have moved on to Sponge for my personal servers. If anyone is interested in forking this, go right ahead and I will link to your project.
Thanks to everyone who reported a bug or donated their time or cryptocurrency.
Introducing HyperMerchant
HyperMerchant is a shopmenu GUI and NPC shopkeeper plugin for HyperConomy shops.
HyperConomy is the premier fully dynamic minecraft shop plugin. It is loaded with super unique features and is the perfect shop/economy plugin for RP, Faction, Freeplay, Towny, and Hybrid servers; Or any other server that is in need of a superb economy or shop plugin.
HyperConomy is most likely compatible with whatever economy plugin you are already using; And if you don't have an economy plugin already, HyperConomy has one built in.
So what is a fully dynamic shop plugin? It means that prices change automatically based on what your players buy and sell, much like they would in a real economy. This functionality can be disabled if you want prices to remain the same. Check out HyperConomy now.
HyperMerchant simmers alongside and together they become a super sauce, packed with vitamin awesome!
To get started, download the correct versions of each program. Details can be found in the compatibility guide.
Follow the links below to learn more about configuring and using HyperMerchant.
Commands and Permissions
Configuration
Menu Buttons
Compatibility
How To
Languages
HyperMerchant Features
Coming soon in version 1.58
Language support. Currently available in the latest development build.
- Simple to use Inventory-style shop menus.
There are helpful tooltips in the shop menu to guide new players.
Purchase 1, 8, or a full stack of items in a single click.
To sell items, simply drag them from your inventory window to the shop window. - Management Menu for player shops. Players can use /mmenu while staning in their shop, or shift+click their shopkeeper NPC.
- NPC's are not required, you can enjoy the shop interface with /shopmenu and /remotemenu commands.
- Assign many NPC's around your world to the same shop.
- Convenient commands to quickly set NPC greetings, farewells, offduty, and service denial messages.
- NPCs can be toggled to offduty mode to temporarily close shops.
- Players who own a player shop can be "clicked on" to open their shop menu.
- Player shop owners can toggle themselves "/onduty" and you can limit them to only being "open" while inside their shop.*
- Your players can /hire their own NPC shopkeepers (clerks) for a configurable "comission percentage".
- You can set up NPCs who are ready to be hired by a player to work in that player's shop.
- You can set up shops to be rented by players with NPC shopkeepers included.
- Configure the Interface Icons in the shopmenu gui by editing "menubuttons.yml".
- Sort menu by name, material, sell price, buy price, or stock amount. (donated for by hellphish)
- Hide items with zero stock. (donated for by hellphish)
Requirements
See the compatibility page for a breakdown of Bukkit + HyperConomy + HyperMerchant + Citizens matchups.
HyperMerchant is compatible with Java 6.
You must have Citizens2 installed to use NPC shopkeepers. You do not need Citizens if you only want to use the shop menus.
Development Builds and Source Code
Development builds are available at the continous integration server.
Development builds have not been verified safe by Bukkit staff. Use at your own risk.
Get the source for HyperMerchant on github.
Donations
I now accept donations in cryptocurrency. If you message me I will happily honor you as a donor on this page.
DogeCoin:
DJHgjbD2qpeWstJxBtyzEVetPSeGiQN2Zt
BitCoin:
1EwTvDRXu9nERfzdFxWZMV8y5ct76e1DPT
SHORT VIDEO TUTORIAL
https://www.youtube.com/watch?v=afvurpJJC6g
Also, you can direct your players to this video on how to shop in HyperConomy shops via HyperMerchant menus or HyperConomy commands:
Shopping Tutorial: http://www.youtube.com/watch?v=Ck4gr-QrjG8
Video is courtesy of JacksmackDave. Thank you!
Special Thanks
Thanks to Tux2 for getting me started with this bukkit plugin tutorial.
Thanks to nisovin for sharing his menu code in this forum post.
And especially thanks to RegalOwl for developing the featurefilled HyperConomy plugin. It is the machine and HyperMerchant is just an interface built upon it.
Much credit also goes to the developers of Citizens, whose plugin provides all the npc interaction.
Reporting Bugs
If you are having a problem, there is a good chance it has never been reported yet. If I don't hear about the bug, I probably won't ever know about the bug, because I don't run a populated server to test out every feature of HyperMerchant.
Please take the time to report any issue, it will be a help to the community and your own server. I usually check this page each day. Thanks! =)
-
View User Profile
-
Send Message
Posted Aug 17, 2014@TJW28
I can't reproduce the bug on my server. Could it be a plugin conflict? What other plugins are running? To be clear, this issue is with the latest dev builds?
-
View User Profile
-
Send Message
Posted Aug 15, 2014@TJW28
Interesting. Shouldnt be too hard to fix. Thank you for reporting :D
-
View User Profile
-
Send Message
Posted Aug 15, 2014HI, Recently updated to latest builds of hypermerchant, hyperconomy and citizens, and when a Player clicks on the merchant with an item in hand, the inventory window pops up but immediately closes, kind of flickers for a moment.
Works as expected with nothing in hand. This is fine for purchasing/selling normal items, but makes it impossible to buy/sell enchantments.
There are no errors at all in the console.
Any ideas?
-
View User Profile
-
Send Message
Posted Aug 9, 2014Yeah ty now it works :D Ty
-
View User Profile
-
Send Message
Posted Aug 9, 2014@monjo44
Please try using the "development" versions of all three plugins. They should work with 1.7.10 (it does for me at least). Let me know if it doesn't and I will check it out.
-
View User Profile
-
Send Message
Posted Aug 9, 2014Hey can u help me, is this Version compatible to the new Version 1.7.10 ??
I am using the new builds from HyperConomy, HyperMerchant and Citizens.
But i still get this error :
[19:04:05] [Server thread/ERROR]: Error occurred while enabling HyperMerchant v1.56 (Is it up to date?)
java.lang.NoClassDefFoundError: net/citizensnpcs/api/CitizensPlugin
at grokswell.hypermerchant.HyperMerchantPlugin.onEnable(HyperMerchantPlugin.java:329) [?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [spigot.jar:git-Spigot-1598]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329) [spigot.jar:git-Spigot-1598]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-1598]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476) [spigot.jar:git-Spigot-1598]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394) [spigot.jar:git-Spigot-1598]
at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:360) [spigot.jar:git-Spigot-1598]
at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:334) [spigot.jar:git-Spigot-1598]
at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:290) [spigot.jar:git-Spigot-1598]
at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:210) [spigot.jar:git-Spigot-1598]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [spigot.jar:git-Spigot-1598]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1598]
Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.CitizensPlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) [?:1.7.0_65]
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [?:1.7.0_65]
at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_65]
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [?:1.7.0_65]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) [spigot.jar:git-Spigot-1598]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [spigot.jar:git-Spigot-1598]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [?:1.7.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [?:1.7.0_65]
... 12 more
Sry for the long post but i had no idea how to make it smaler XD.
best regards and ty for help :)
-
View User Profile
-
Send Message
Posted Aug 6, 2014I've added a How To section to detail various features of HyperMerchant. It only has two entries so far. More to come as time allows.
-
View User Profile
-
Send Message
Posted Aug 4, 2014@InsomniaCraft
Alright, dev build #94 should fix both issues. It is only compatible with HyperConomy dev build #426 and above
-
View User Profile
-
Send Message
Posted Aug 4, 2014I have added an up to date compatibility page.
-
View User Profile
-
Send Message
Posted Aug 4, 2014@InsomniaCraft
I will look into fixing both issues as soon as I can. Thank you very much for reporting them.
-
View User Profile
-
Send Message
Posted Aug 4, 2014@Milk_milk
I think this is an issue with your menubuttons.yml file. See the example menubuttons file as a reference. Or rename your current menubuttons file and a new one will be made.
Please let me know if that fixes the issue.
-
View User Profile
-
Send Message
Posted Aug 3, 2014Using latest Dev builds of Hyperconomy, hypermerchant and spigot.
When i do /shopmenu i get this. http://pastebin.com/Zviz57t9
-
View User Profile
-
Send Message
Posted Aug 2, 2014Im running the latest dev builds of Citizens, Hyperconomy, and the latest beta build of Hypermerchant on the bukkit site, on 1.7.10. The current issue is messages when purchasing items that cost too much or something, there is no error, just nothing happens. It used to say you cant afford that or sometihng.
I also noticed something weird, I had some custom items, which was an enchanted book with lore and a name, it worked fine, they could be sold and bought from a shop, but now when I sell one to the merchant, it turns it into a regular book and doesn't sell it. Weird.
-
View User Profile
-
Send Message
Posted Jul 31, 2014@MrBrasta
I may consider adding a category file at some point. In the mean time, using HyperConomy categories (check the categories.yml file) is a pretty effective way to organize server shops.
-
View User Profile
-
Send Message
Posted Jul 31, 2014Could you add a sorting method where you sort your shop with the different categories for example first ores, then food, then wood,... that would make it look very nice
-
View User Profile
-
Send Message
Posted Jul 22, 2014Latest dev build fixes the enchantment icon issue.
For anyone upgrading from versions of HyperMerchant before the management menu, You may want to update the management entries in your menubuttons.yml.
-
View User Profile
-
Send Message
Posted Jul 21, 2014If you are using HyperConomy-0.974.55 or HyperConomy dev build #418 or greater, use HyperMerchant dev build #86
If you are using HyperConomy-0.974.54 or HyperConomy dev build #414 or below, use HyperMerchant dev build #84
@TJW28
The icon does turn to stone, I will fix that in the next build, thank you for reporting that bug.
The icon turning to stone should not prevent users from purchasing the enchantment, however the player must be holding the item they want enchanted in their hand at the time of purchase.
-
View User Profile
-
Send Message
Posted Jul 21, 2014Will this work with the new release of hyperconomy?
-
View User Profile
-
Send Message
Posted Jul 21, 2014Just Updated to the latest dev build, and When a user attempts to buy an enchantment, the shop item turns into stone and the item isnt purchased.
-
View User Profile
-
Send Message
Posted Jul 19, 2014@shmancelot
Build #414 seems to work so far. Thank you for your help! The only thing we noticed so far is that it is no longer putting a message in chat regarding the details of your transaction.