HyperConomy
Getting Started|Commands|Permissions|FAQ|How To|Troubleshooting
______________________________________________________________________________
Introduction
HyperConomy is the all in one economy and shop plugin. It can be a simple chest or sign shop plugin, a Vault compatible economy plugin, a region based shop plugin with many configurable options, or even a complex system of economically competing towns and kingdoms. Any vanilla Minecraft item can be traded in HyperConomy and virtually any custom item can be added as well. Prices can be configured to change dynamically or they can be set as desired. To quickly edit prices and settings you can double click on HyperConomy.jar to access the GUI editor. HyperConomy has many features including things such as item price linking and item displays. Read below or check out the wiki for more information.
New Chest Shops:
______________________________________________________________________________
Features
- Supports all standard Minecraft items. (fireworks, lore, books, maps, damaged items, etc.)
- Supports the addition of unlimited custom items.
- Integrated economy plugin.
- Player to player, player to shop, and shop to player trading.
- Dynamic pricing system based on a hyperbolic curve.
- Item price linking (price of recipe item is based on price of component items)
- Player owned shops and chest shops.
- Item frame shops.
- Showcase style item displays.
- Localization.
- GUI Editor for easy manipulation of price settings.
- Price floor, price ceiling, static pricing, initial pricing, sales tax, purchase tax, unlimited stock option and much more.
- Dynamic tax rates. (Rich players can be taxed more than poor ones.)
- Supports MySQL and SQLite.
- Allows the creation of an unlimited number of economies, which allows for economically competing towns, kingdoms, factions, or other groups.
- Supports command-free economies using transaction signs and chest shops.
- Price information, history, and more can be displayed on automatically updating information signs.
- Price update notifications for any or all items.
- Experience and enchantment trading.
- When a player enters and leaves a shop, HyperConomy displays a customizable message.
- Nearly everything can be changed while the server is running.
- Unwanted features can be disabled.
______________________________________________________________________________
Requirements
- None. If you'd like to integrate with an existing economy plugin using Vault, you will need the following: Vault and an economy plugin such as BOSEconomy, iConomy, or Essentials Economy
______________________________________________________________________________
Versions and Development Builds
- Recommended builds are marked with [RB] and are generally thought to be stable and bug free.
- Builds marked as [Beta] are as bug free as possible, but often have large code changes which may result in the appearance of new bugs.
- Builds marked as [Dev] are development builds that I've decided to upload to BukkitDev. I may upload dev builds on occasion to provide easy access because Bukkit staff does not allow linking to development builds.
- Development builds may contain bugs as I work on releasing a new [Beta] build. They may also contain fixes for bugs found in [Beta] builds. Use these builds if you're looking for a bug fix, or would like to try out a new feature I've just added. Also, feel free to search for bugs in the development builds. Any help with testing is greatly appreciated!
- Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
- The latest development builds can be found here.
______________________________________________________________________________
Add-ons
- HyperMerchant
HyperMerchant is a graphical user interface for your players to use to interact with HyperConomy shops.
It is also includes the ability to easily create Citizens npc shopkeepers for your HyperConomy shops. - HyperConomy Web
HyperConomy Web creates a web page for HyperConomy, displaying information about all shops, items, and price history. The web page appearance can be customized to fit your server.
______________________________________________________________________________
New Features, Bugs, Problems, etc.
- If you have a question, or find a bug, first check the FAQ. I will try to include as many helpful questions and answers as possible.
- If the FAQ doesn't help, don't hesitate to post your question or make a ticket.
- If you do find a bug, please include which version of HyperConomy you're using, the full error message or stack trace (if there is one), the version and type of Minecraft server you're running, and an explanation of how to reproduce the bug or what causes the bug.
______________________________________________________________________________
Donate
- If you'd like to send me a donation for the time and effort spent making this plugin, you can do so here: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AMK9AR4CVKEJJ
- To those who have donated: thank you very much for the support. If you'd like to be listed as a donor here just send me a message.
______________________________________________________________________________
Donors
- pr4xt3roy -> CapricaTown
- Baamoink -> Mantle-Craft
- Thanks as well to all of the other donors that haven't requested a listing here.
______________________________________________________________________________
Basic Tutorial
New tutorial videos to come...
-
View User Profile
-
Send Message
Posted Jan 6, 2015Is there a way to change the text in the shop
Like this one -> Last page | Go to the last page.
Im running a dutch server and some people dont speak or read english that good. (like me :P) So i wanna translate it to dutch if that is possible.
Edit
If you can added that, then that would be really nice. We did a reset so a few people lost there money and they had allot. So i wanna give that back. Ill do that now with the /hcpay command and give myself some money.
-
View User Profile
-
Send Message
Posted Jan 6, 2015@Dutch_Boy
Great, glad it's finally working. :)
I don't think that error is related. It should be harmless but I'll do some more research to see what's causing it.
Also the command you're looking for doesn't exist yet. I could add an /hcgive command though. For now there is only /hcset balance and /hcpay.
-
View User Profile
-
Send Message
Posted Jan 6, 2015:D It works!
But i found one error in debug -> http://pastebin.com/qSEbEVrW
Also -> update-interval: 200
Edit
Can you pls update the wiki? Because i cant find the command to give players money. Like /eco give (naam) amount
Only command i can find is that you change a players balance to x amount of money instead of giving him extra money.
-
View User Profile
-
Send Message
Posted Jan 5, 2015@Dutch_Boy
I found an issue that caused problems with >2 servers. It should be fixed in build #285. Let me know if that one is working.
I still think it may be possible for issues to arise due to the delay if it's too high. If someone pays a player on one server when they buy something on another at around the same time one transaction could wipe out the other. Setting a low update interval should fix this for now. In the future I'll probably improve the protocol if I have time.
I've also added the ability to turn off the syncing of trade objects and accounts in config.yml.
The multi-server mode doesn't actually work by updating the database directly. HyperConomy doesn't really read from the database except during load. It stores all of its active data in RAM for performance reasons. Multi-server mode updates the RAM objects by sending data over the network. The objects in RAM then request that the database be updated. The database is periodically updated every 30 seconds or so in large transactions to improve performance.
-
View User Profile
-
Send Message
Posted Jan 5, 2015Its not working at 500. And going lower is not really going to change that.
Because one server is updating the database and not the other servers. So how can another server cause problems while its updating the database.
As far as i know it is. One servers is updating the database and the others are reading. You cant switch servers and buy something in 3 seconds. If so then you can cause problems.
You can use my server to if you want? For testing things.
-
View User Profile
-
Send Message
Posted Jan 5, 2015Ill lower it and try it again tonight.
-
View User Profile
-
Send Message
Posted Jan 5, 2015@Dutch_Boy
The only other thing I can think of at the moment is to try lowering the update interval to 500 or less. Maybe even down to 125 ms as long as it causes no lag. The issue might be that one of the servers is updating after another wiping out the changes it made.
I'll do some more testing soon with 3+ servers as well.
Your error log is clean. It looks to be working judging by the log. The socket closed is normal.
-
View User Profile
-
Send Message
Posted Jan 5, 2015I only put the debug mode on on these 2 servers.
Survival server:
HyperConomy[2015-01-05 13:31:25.883] [Debug Mode Error] java.net.SocketException: Socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398) at java.net.ServerSocket.implAccept(ServerSocket.java:530) at java.net.ServerSocket.accept(ServerSocket.java:498) at regalowl.hyperconomy.multiserver.HyperModificationServer$1.run(HyperModificationServer.java:99) at java.lang.Thread.run(Thread.java:744)
Skyblock server:
HyperConomy[2015-01-05 13:31:30.834] [Debug Mode Error] java.net.SocketException: Socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398) at java.net.ServerSocket.implAccept(ServerSocket.java:530) at java.net.ServerSocket.accept(ServerSocket.java:498) at regalowl.hyperconomy.multiserver.HyperModificationServer$1.run(HyperModificationServer.java:99) at java.lang.Thread.run(Thread.java:744)
-
View User Profile
-
Send Message
Posted Jan 4, 2015@Dutch_Boy
Try enabling debug-mode in config.yml. The error log should then be filled with connection errors if the server synchronization is failing. Let me know what it says if anything.
-
View User Profile
-
Send Message
Posted Jan 4, 2015After 2 hours trying everything we can think about it still doesnt work.
We did even en clean install with a clean new database.
Config file of the servers:
Lobby:
http://pastebin.com/7ncQ6Gbz
Survival:
http://pastebin.com/KqheXngg
Survival Games
http://pastebin.com/ALqYgaF1
Skyblock:
http://pastebin.com/3ssSa2xh
Parkour:
http://pastebin.com/g0XU8PHa
Strange thing is. It DOES add the money to my database account but it doesnt show it in-game.
So when i buy a apple in survival i get the money. It shows it correct in /hcb in the survival server. But when i go to one of the other server it doesnt show the correct amount of money. Only after a server restart!
-
View User Profile
-
Send Message
Posted Jan 2, 2015Ill check it out tonight.
Thanks for the support!
-
View User Profile
-
Send Message
Posted Jan 1, 2015@Dutch_Boy
It was a bit harder than expected but hopefully is fixed now. Please try dev build #484. If you have 2 servers running on localhost (127.0.0.1) configure it as follows:
Server 1:
remote-server-ip-addresses: 127.0.0.1,3314;
port: 3313
Server 2:
remote-server-ip-addresses: 127.0.0.1,3313;
port: 3314
For 3 servers just add the extra info to each like so:
Server 1:
remote-server-ip-addresses: 127.0.0.1,3314;127.0.0.1,3315;
port: 3313
Server 2:
remote-server-ip-addresses: 127.0.0.1,3313;127.0.0.1,3315;
port: 3314
Server 3:
remote-server-ip-addresses: 127.0.0.1,3313;127.0.0.1,3314;
port: 3315
Also set the multiserver update interval to 3000. It's measured in milliseconds so that means it will sync every 3 seconds. If you don't want to sync shops set the new sync-shops option to false. Let me know if it works.
-
View User Profile
-
Send Message
Posted Jan 1, 2015Any update on how far you are with the multi server update?
-
View User Profile
-
Send Message
Posted Dec 31, 2014@DivinityCraft
HyperConomy already has all enchantments added unless you're using a modified server with custom ones. If you're missing new enchantments/items after an update just use /hcdata importmissing to add the items from the update.
I can see about making an /addenchantment command for custom enchantments.
-
View User Profile
-
Send Message
Posted Dec 31, 2014@RegalOwl
Thanks, it worked. But how do you add new enchantments?
-
View User Profile
-
Send Message
Posted Dec 30, 2014@DivinityCraft
It's on the administrator commands page. Just hold it and type /additem (value). The value is optional. Which page were you looking at?
-
View User Profile
-
Send Message
Posted Dec 30, 2014@RegalOwl
How do you add items when holding them in gamethen ? I tried some commands on the commands page but none seemed to work and the page itself seemed outdated.
-
View User Profile
-
Send Message
Posted Dec 29, 2014Hope you can fix it as soon as possible.
Thanks for answering and helping me out.
-
View User Profile
-
Send Message
Posted Dec 29, 2014@Dutch_Boy
Thanks for the error report. That's probably part of the problem. I think the other issue is that it's not currently setup to work with the same ip but different ports. I'll try to fix those two issues shortly and let you know when a new dev build is available. Hopefully I'll have time tonight.
When it's working balances, banks, shops, and trade object settings should be synchronized between servers.
-
View User Profile
-
Send Message
Posted Dec 29, 2014If tried everything i can think about and nothing works. If i restart the servers the balance is the same on all 3 of them.
But if i buy something in the survival server the balance wont go down on the other 2 servers.
Config at this moment:
sql: use-mysql: true log-sql-statements: false mysql-connection: username: port: 3306 password: * host: 127.0.0.1 database: **
multi-server: enable: true remote-server-ip-addresses: 127.0.0.1, port: 2001 update-interval: 60 connection-timeout-ms: 2000
economy-plugin: use-external: false hook-internal-economy-into-vault: true starting-player-account-balance: 500.0
Ports are 2001 2002 and 2003. The rest is all the same on all 3 the servers. So what im i doing wrong?
Also an error (debug mode on skyblock server)
http://pastebin.com/KrJhh2tE