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 Feb 14, 2013@RegalOwl
Ok, tried this version. I let it recreate the language files so there would be no errors there. It starts up and shuts down fine. Then I shut the server down, edit the en_US.txt file and only change the $ to € and save the file (using TextMate on MacOSX). Then start the server again. Log says:
Then upon shutdown the following appears:
I removed the currency setting from the yml. Setting the currency to E also does not work. It keeps complaining about an error in the language file... I checked the encoding and it is UTF-8. Setting the currency back to $ and doing a /setlanguage english o resets everything back to 'normal'.
-
View User Profile
-
Send Message
Posted Feb 14, 2013If I work with the items.yml directly do the items have to be in order for them to work or can I put them in any order and it will still work?
-
View User Profile
-
Send Message
Posted Feb 13, 2013@RegalOwl
Note: My world names do not have any value on my server version, its running 1.4.7.
Screenshot of my memory usage 10 mins after i posted this...
http://prntscr.com/soq9o
This is some messed up shit right here...
Now there is no one on the server right now, just to clearify that...
-
View User Profile
-
Send Message
Posted Feb 13, 2013@Zilacon
Did the RAM issue start with the .961 version or has it been happening for a while?
Also, would you want to try a manual server restart to see if that has any effect? If a normal restart has no effect I will research further. I may look into profiling. The only issue is that I can't seem to reproduce this problem on my test server yet. I'll let you know if I figure anything out.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@TheFamousFlyingDutchman
This should hopefully fix your latest error: https://buildhive.cloudbees.com/job/RegalOwl/job/HyperConomy/128/regalowl$hyperconomy/artifact/regalowl/hyperconomy/0.961-SNAPSHOT/hyperconomy-0.961-SNAPSHOT.jar
There was a way to fix it without updating but this is easier. Let me know if that works. You might have been experiencing two errors at once. Your first error was a bug that I fixed. The second error message is truncated, so I can't tell what happened. It may be the same error as the first, hard to say. The third error is likely some sort of error in your language file. Regenerating it should fix it. I added code to check for errors in the above version. If it detects a mistake it will warn you in the console and use a backup.
To make it less easy to damage in the next update I'll change the language file extensions to .hl, or something like that so that people don't open it with Windows notepad and set the encoding to ANSI. When you're editing the currency symbol, open it with something such as Notepad+ +, which won't automatically set the encoding to ANSI. (It should be encoded in UTF-8. I'm not sure how to use UTF-8 with the YMLs, so that's why I moved the currency to the language file.
In this version and in the prior one, the config.yml currency option is no longer used. You can remove it.
@TJW28
Try the above version and see if you still have the same issue. I haven't been able to reproduce your issue yet. Also try simply restarting your server.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@RegalOwl
I got a restart script setup for spigot and it doesnt consider that "shutting down" i also got restart on crash enabled so yea whenever i update or change anything i just restart it.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@RegalOwl
If that would be easily possible, yes please! But I do not want you changing the entire plugin just for one person's needs, and I also don't want you to spend hours doing it if that's what it would take. Thanks!
-
View User Profile
-
Send Message
Posted Feb 13, 2013@RegalOwl
Thanks regal, this did indeed fix the issue of using thte /bs command outside a shop area.
However, and more importantly for us now, we get the same message while IN a shop, and using the /buy [itemname] command.
Invalid Parameters. Use /buy [name] (amount or 'max') appears when you try to buy any item.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@RegalOwl
The error was indeed upon shutdown.
Does the edit of the en_US.txt file override the currency setting in the config.yml?
A few errors extra now occur with the snapshot version.
At first load of this version:
Then no more errors.
And then after modifying the en_US.txt file from $ to € the following:
And finally the last one (does not appear when the currency is set to $ in the en_US.txt file):
Switching back to the previous version did not fix the currency setting.
I let it recreate the en_US.txt file and set the currency in the config.yml file to "E" (without the quotes). But all the signs keep displaying the $ sign...
-
View User Profile
-
Send Message
Posted Feb 13, 2013@Zilacon
On my test server with the latest spigot and HyperConomy and a few other plugins the entire server uses less than 200 MB. So it's not spigot either. Perhaps a plugin conflict? I'm still curious why your server uptime is so high as well.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@XxBoonexX
/loaditems creates the items in the database, but /importprices is what can be used to import all of the price information. (It doesn't import stock settings, however.) The information that HyperConomy uses for items is now in the HyperConomy.db SQLite database.
If you're just starting your server with HyperConomy, another way to do it would be to delete the HyperConomy.db file and then it should import your custom prices. The items.yml and enchants.yml file are now only used by a few commands and when the database is generating for the first time.
The default economy is just "default" like you said.
Let me know if you run into any more issues.
-
View User Profile
-
Send Message
Posted Feb 13, 2013I seem to be having a painful issue. I have manually edited Items YML file to fit our servers needs. and did /loaditems default. But the server is still using the old prices that came with the plugin. if i exit the yml and load it again it still says my prices, so i have no idea were the server is getting the default prices from. What am i doing wrong D: ?
Also is the default economy just default?
-
View User Profile
-
Send Message
Posted Feb 13, 2013@Zilacon
Interesting. I'll look into it more. Not sure what would cause that yet... Could you turn on error logging to check for errors with "/hcerror sql"? I'll set up a test server with your version of craftbukkit and see what happens.
There must be something going massively wrong to use that much memory, especially for it all to be used at start up. With a memory leak the memory usage would typically increase slowly over time, not spike to GB instantly. You should be able to load HC 100+ times with that amount of RAM.
EDIT: Why does your server have almost 2 months of uptime? Do you never restart it? Or is there something wrong with that statistic?
-
View User Profile
-
Send Message
Posted Feb 13, 2013@RegalOwl
My server is not a VPS it is a Dedicated server.
AMD Phenom II 1100T 6 Core CPU @ 4GHZ with 16GB of ram.
-
View User Profile
-
Send Message
Posted Feb 12, 2013@Zilacon
Are you looking at the RAM usage in your VPS control panel? I'm running CentOS as my server OS as well.
The RAM usage in the control panel will be inaccurate, as it will count your heap space as used RAM. The in-game Essentials /memory command should give you a better idea of how much RAM you're using. It will give 3 numbers: allocated memory, maximum memory, and free memory.
The amount of RAM you're actually using is your allocated memory - your free memory. The remaining RAM that's allocated but not used is simply reserved for the Java virtual machine. To the operating system it will appear used, but it's not actually in use by your server. It's simply being held in reserve by the JVM.
What do the 3 essentials memory statistics say?
-
View User Profile
-
Send Message
Posted Feb 12, 2013@TheFamousFlyingDutchman This build should hopefully fix both the issue with the € symbol and the restart error. The restart error is harmless. I'm guess it actually occurred during shutdown. Do you know for sure?
I moved the currency symbol to the language file. If you haven't made any customizations to your language file, just run the command "/setlanguage english o". The CURRENCY entry should be the first one and you can just replace the $ symbol there.
@TJW28 This build should fix the /browseshop bug as well.
Here's the build:
https://buildhive.cloudbees.com/job/RegalOwl/job/HyperConomy/124/regalowl$hyperconomy/artifact/regalowl/hyperconomy/0.961-SNAPSHOT/hyperconomy-0.961-SNAPSHOT.jar
-
View User Profile
-
Send Message
Posted Feb 12, 2013@RegalOwl
I am running the latest version.
I am running it on mySQL mode.
My config is default except the database information.
My server is running on Linux Centos 6.3 64 bit.
No the ram skyrockets right on start up and continues to increase later in the game while more people join but drops when people leave. But that 3.8GB never goes away its flatlined on my memory usage.
I am using Java 7 Update 13 if that has any effect on it.
I am also running this on Spigot not Bukkit which is coded with Java Netty designed to only allow double your amount of cores as threads, not sure if hyperconomy would be trying to access nonexistent threads that my server will not allow it to make or something...
-
View User Profile
-
Send Message
Posted Feb 12, 2013@MCBuncey
Not sure what you actually did but here is a more detailed procedure:
1. Shut down or disable your server.
2. Copy the thorns enchantments from wherever and put them in the enchants.yml file; it doesn't matter where they come from as long as the information is accurate.
3. Start your server and run the /loaditems command and the enchantments should be imported.
-
View User Profile
-
Send Message
Posted Feb 12, 2013@Jhwx
Currently, when you sell something that has a sales tax, it tells you both the amount you sold it for, and then how much from that amount was taken out as tax.
Say you sell 1 stone for $6 and pay $.30 in tax. It could say you sold one stone for $5.70 and paid $.30 in tax, but this is somewhat ambiguous as you don't know if the $.30 was removed from $5.70 or $6 dollars.
So currently if you sell 1 stone it will say you sold one stone for $6 of which $.30 was tax so you know that you actually received $5.70. Perhaps I could change it to something like:
You earned $5.70 from the sale after paying $.30 in tax. Sound better?
-
View User Profile
-
Send Message
Posted Feb 12, 2013@RegalOwl
Thanks for the info!
Here is an error I received after an automatic restart of the server. Seems to be related to the webpage and/or historic pricing?