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 Apr 5, 2013@About7Deaths Why could they not just spawn the items in creative mode, and then switch back to survival mode to sell them? If you prevent switching modes, then creative players can't sell items at all.
-
View User Profile
-
Send Message
Posted Apr 4, 2013@RegalOwl
Thank you! Disabling the Web-part solved the problem.
I'm now able to keep History enabled.
Would it be a lot of work for you to make a separate web-part? That's not running in the plugin-engine but that I can hook into Apache as a normal website?
-
View User Profile
-
Send Message
Posted Apr 3, 2013@RegalOwl
I were using both "MySQL Workbench" on the "Server Status" page, where you see all open connections and their state. And also in PHPMyAdmin which showed the same.
If I shutdown the server, all connections are closed. But if i just do HC Disable, it leaves connections open, and opens new ones when i do HC Enable.
I will try to enable History, and disable the Webpage, will report back.
-
View User Profile
-
Send Message
Posted Apr 3, 2013@RegalOwl
This is actually really important, (blocking players in creative mode option if you forgot) because I have a survival server where a high donor rank has creative mode. But they can easily mess up the economy so I disabled the ability for them to use sell/buy signs. This has made them mad and they would like to sell items. But I want to make it so they can only sell legitimately. I really hope you can at least add the option in the config as soon as possible. :)
-
View User Profile
-
Send Message
Posted Apr 3, 2013@spawnstah
If you disable the web page this should be fixed. The web page refreshes every 5 minutes or so and results in a huge amount of database activity. I could update it to select data from the database in bulk instead of a lot of small queries. Just disable it for now until there is a fix. The built in web page needs a lot of work.
As far as MySQL connections, where do you see that there are open connections? HyperConomy should be closing almost all connections on disable/shut down. The read connections may not be closing properly, however, so I'll make a fix for that.
-
View User Profile
-
Send Message
Posted Apr 3, 2013@MCBuncey
Disable the web page and this may be fixed.
-
View User Profile
-
Send Message
Posted Apr 2, 2013I'm experiencing some heavy load on my MYSQL Server. When I checked it was using 50% CPU and the only threads running was Hyperconomy stuff.
I had 4 connections from the same server, all using;
Creating sort index - "Select price from history where object='various objects' and ECONOMY='default'" order by TIME DESC.
I did a "HC DISABLE" and CPU usage went down to 1% as expected.
After doing "HC ENABLE" I've now got 1 thread executing the above query, over and over again with different items.
I first thought it was something it had to do once, but I see now that it's been running for 30 minutes and feels like it's checking the same things over and over again.
Could it be related to my info signs, with Price History (got 8 of them, looking for 2w of data)? Though, I would very much like to keep them with a moderate amount of SQL usage.
UPDATED:
I did some more testing and changed daystosavehistory from 31 to 2.
No difference.
I then set "store-price-history: false" and it stopped spamming SQL with queries.
So it seems to be related to that setting.
I've also seen that when you do "hc disable" it does not close it's SQL Connections, but when you do "hc enable" it opens 4 new ones, so I've currently got 24 connections to my hyperconomy db.
-
View User Profile
-
Send Message
Posted Apr 2, 2013here are the results
i tried doing
step 3, 4 and 5 along with 6 and it did not seem to revert anything and when a restart happens it reverts it now here some errors i got from step 2
stacktrace.txt
java.sql.SQLException [SQLITE_BUSY] The database file is locked (database is locked)
at org.sqlite.DB.newSQLException(DB.java:383)
at org.sqlite.DB.newSQLException(DB.java:387)
at org.sqlite.DB.execute(DB.java:339)
at org.sqlite.Stmt.exec(Stmt.java:65)
at org.sqlite.Stmt.executeQuery(Stmt.java:122)
at regalowl.hyperconomy.SQLiteConnection.read(SQLiteConnection.java:62)
at regalowl.hyperconomy.SQLRead.getHistoricValue(SQLRead.java:140)
at regalowl.hyperconomy.History.getPercentChange(History.java:132)
at regalowl.hyperconomy.HyperWebPrices.buildPage(HyperWebPrices.java:228)
at regalowl.hyperconomy.HyperWebPrices.access$200(HyperWebPrices.java:15)
at regalowl.hyperconomy.HyperWebPrices$1.run(HyperWebPrices.java:35)
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
info.txt
2013-04-02-00-53-36
HyperConomy version: 0.966
CraftBukkit version: 1.5.1-R0.1-SNAPSHOT
UseMySQL='false'
Objects Loaded='true'
The failed SQL statement is in the following brackets: [SELECT PRICE FROM hyperconomy_history WHERE OBJECT = 'spotionofregen' AND ECONOMY = 'default' ORDER BY TIME DESC]
its quite many ill just post 1.
there about 16745 of this folders on my error folder right now..
-
View User Profile
-
Send Message
Posted Apr 1, 2013@MCBuncey
I doubt this is related to SSD versus magnetic drives. I test HyperConomy on a SSD. Try this:
-
View User Profile
-
Send Message
Posted Mar 31, 2013Once again stocks are not saved. Its really strange in fact I did not change anything. So I did a little experiment everytime before I restart I will export to yml of my current database. After that I will then delete it during the restart and let the current yml that i just exported reproduce the database again just to save everything I did. So that means it does really save somehow everytime a restart happen it gets rollback. I also tried this on pc tested it and its seem to be fully working without any problems.
-
View User Profile
-
Send Message
Posted Mar 31, 2013@ryanthemagi
The log is now stored in the database. You can easily search and view any part of it with the /hyperlog command.
-
View User Profile
-
Send Message
Posted Mar 31, 2013@About7Deaths
In what situation would blocking players in creative mode from using transaction signs be useful?
-
View User Profile
-
Send Message
Posted Mar 31, 2013@superperson15
I like the idea JericM had. Why not just use a warp sign? Did you have something more specific in mind?
-
View User Profile
-
Send Message
Posted Mar 31, 2013@JericM
Currently the web page only displays one economy. There will likely be a standalone web page with a lot more features in the future.
Chest shops are tax exempt. The advantage of chest shops is that they're a straightforward, visual way to trade items. It's also a way to store your items safely without having to sell them to the global shop. You could also potentially sell rare items, like a dragon egg, for a very high price. (Higher than the global shop's price.) Chest shops are sort of like a black market. You can either set your own price or use the global shop price.
You could also buy all of an item in the shop and then try to sell it for a lot of money in chest shops. There are lots of possibilities.
-
View User Profile
-
Send Message
Posted Mar 31, 2013For some reason, since updating to the most recent version, I can't get the log file to appear. Maybe I'm overlooking something in the config?
-
View User Profile
-
Send Message
Posted Mar 30, 2013@RegalOwl
Can you please add the ability to block people in creative from using the [Buy] and [Sell] signs?
-
View User Profile
-
Send Message
Posted Mar 30, 2013@About7Deaths
Thank You, my shops were getting a little messed up because people were changing the quantities...
-
View User Profile
-
Send Message
Posted Mar 29, 2013@superperson15
This can easily be accomplished through teleport or warp signs with something like Essentials. :) Or was there something more specific you had in mind?
-
View User Profile
-
Send Message
Posted Mar 29, 2013also here is a great idea. make a sign that you can rightclick to enter a shop. then if you walk away from the shop then it will say you left the shop
-
View User Profile
-
Send Message
Posted Mar 29, 2013@RegalOwl
thanks man your the greatist