DynamicEconomy
DynamicEconomy introduces your server to an economy where the prices constantly change based on the supply and demand of items. |
---|
Depends on [Vault] Vault Download Link |
---|
Download
Here's a video with an overview of some of DE's features, graciously made by WoopaGaming!
Plugin is in BETA - Meaning it is not as perfect as I would like as of yet. I am still constantly adding features. Once I'm happy with the feature list, it'll be released into v 1.0. Expect v1.0 to have Chest Shops.
Support Pages
There's a lot to understand about DynamicEconomy, so visit some of these helpful pages!
-
Features
- Buy and Sell items in a global shop.
- Price automatically adjusts based on supply and demand!
- Customizable price ceiling & floor!
- Prefix the chat output with anything you'd like!
- Choose whether price changes are announced globally, locally, or not at all!
- Includes a custom alias file, so you can customize the aliases you use (Add whatever word in the world to stand in for, say, diamond, so if you call /buy purpleelephant it can buy you diamond!) - Even better, it already includes hundreds of aliases.
- Add items to items.yml at your whim! Just make sure to add aliases for them in alias.yml!
- Sort items into different groups, and then limit users to only being able to purchase or sell items from particular groups!
- You choose the default amount sold/bought if the user leaves out the amount argument.
- Features 340 items: the most commonly traded and used, as well as non-obtainable items and potions!
- Also, you can sell and buy enchantments! Enchant your items with any enchantment at any level, and then sell items from an item instead of selling the entire item itself!
- Custom Items.yml puts you in control of item prices, minimums, maximums, descriptions, and everything else!
- Change the price, price floor, price ceiling, price velocity, and stock, all from in-game without a restart or reload!
- Custom in-game command allows you to reload the DynamicEconomy config.yml
- Features help screen of all commands, usages, and descriptions
- Assess which features of your config are on and off from in-game.
- Simple permissions: permission is the same as the command name.
- DynamicSign - Signs that show the price, stock, velocity, ceiling, or floor of any item in REAL TIME! You can also change the colors the sign displays in!
- Find out the durability of any item in your inventory, or your armor!
- When you sell a tool or armor, the price you receive is proportionate to how much of the durability was used up. If an item is 25% used up, a player will only get 75% of the total price when he sells it! Stops "Infinite tool" abuses.
- Update Checker & Downloader!
- Sell and buy EXP!
- Data values for all woods, wools, saplings, slabs, and inks!
- Option to use either set-amount item velocities, or a percent velocity.
- The option to turn on "Price-Decay-Over-Time", meaning, if items aren't purchased for a long time, their prices will decrease! This is fully customize-able to the last bit; customize percent of price decrease, what's considered a "long time", and how often to check for these items! Or disable it all-together!
- Also, in addition to price decay over time, there's also price inflation over time, so items that aren't sold for a while will have an increase in price! This encourages sale of those items!
- Multi-World support!
- /sell hand and /price hand for selling or checking price of the item you're holding!
- Ban items from in-game instantaneously!
- Customizable random events! Make your own wacky random events that change the prices of items!
- Customize standard DE messages! Up to 32 of them, currently!
- Use your own custom currency.
- Custom log.txt file personalizes logging of all user commands for very intuitive, useful, and helpful logs for Server admins. No need to fuss over confusing server logs and exceptions. (You can disable it, if you want, too!)
- Sales & Purchase Taxes!
- Set taxes from in-game!
- Extensive region control! Select your own 3D regions in which users can buy and sell items!
- Alternative commands for /buy and /sell, so you can use other popular economy plugins in conjunction!
- Basic location control, such as setting a minimum height from bedrock in order to access the economy.
- Loans! With custom payback times, minimum and maximum loans, as many loans as you'd like, and more!
- Dynamic Interest rates for loans!
- Ability to ban the sale OR purchase of certain items!
Planned Future Features
Optional Interest Rates/Taxes on purchases and sales[ Completed 2/6/2012 5:47 pm in v .5.1]Loans with Optional Interest Rates[ Completed 2/23/2012 11:31 pm in v .7]- Chest Shops!
Option to either set IR/Tax statically, or have it dynamically change based on economy conditions.[ Completed 2/25/2012 12:08 AM in v .7.2 ]Sale of tools will give amount appropriate to current durability (A tool almost worn out will receive a very little percent of total price when sold)[ Completed 1/6/2012 11:05 pm in v .2]Optional Random Events that change item prices[ Completed 3/4/2012 1:07 AM in v .8.0 ]Price decreases over time if item is not purchased[ Completed 2/26/2012 1:42 AM in v .7.6 ]Option to not allow some items in the market.[ Completed 2/25/2012 12:36 AM in v .7.3 ]- Option to lose money upon death
- Option to store money in a bank account
Option to log all transactions[ Completed 1/22/2012 8:41 pm in v .4]- Extended abuse prevention: Looking through the kinks to ensure the dynamics of the economy are not abused by players
Update Checker[ Completed 1/21/2012 2:12 pm in v .3.2]- Prevent you from buying if you do not have enough inventory space
Data Values (35:1 etc)[ Slight addition in v.5.3 ] [ Completed 2/25/2012 11:32 pm in v .7.5 ]Location-based controls[ Slight addition in v.5.2 ] [ Completed 2/19/2012 9:24 pm in v .6 ]- MySQL Databases
Alternative Commands[ Completed 2/7/2012 10:18 pm in v .5.2]Marquee Signs (Signs that show the price and info of a given item)[ Completed 3/18/2012 1:27 AM in v .8.1 ]EXP Transactions[ Completed 3/19/2012 12:44 am in v .8.3 ]- Region Flags
- Much much more!
Donation
Your donation helps my development of this plugin and possibly more!
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=USZYP9PCHSVJW
Thanks Moom. However, ksafin said there may have to be a lot of re-writing :(
@krisdestruction
This is sweet news! My server can't wait to get back into the flow of the money. We enjoyed it and can't live without it! Also, if you do support it, a donation may be coming your way!
Hi guys, I've made contact with the developer! It only took a dollar's donation :P
I've gotten permission from the developer to rewrite the plugin and I will take a crack at looking over the code this weekend to estimate how much I need to change and how long it will take for me to change it.
Hopefully, I can take over the development of the DynamicEconomy plugin and help keep it up to date with minimal maintenance needed :)
Note: Source can be found here https://github.com/ksafin/DynamicEconomy
Bukkit will probably remove any fork without permission though. I will at least be looking at this to modify this privately until I can get a response from the dev.
@krisdestruction
Keep us posted if you're taking over. I'd love to see this developed further.
I just PMed the dev. I'll see if I can get him to give me permission to continue to update it.
What if you use MySQL? Would it work then?
Just curious if this plugin actually uses MySQl? I see "MySQL Databases" in the "To-DO" section, but I also see that in the config file you can assign a MySQL database. When I attempt to add my MySQL credentials to the config file, I get an error saying "Could not connect to MySQL" which, I assume, means that either I've done something wrong or MySQL support isn't ready yet. Any idea?
Thanks
@krisdestruction
You'll start to notice that stock will revert back to 50 after each /reload or restart.
Guys, I don't think there's anything wrong with the plugin.
Pistons aren't working and I haven't checked any of the new blocks/items. No errors are thrown when I start up the plugin and the the plugin saves prices properly after a restart.
Using build 2630
@MCChee
Ive tried and was unable to add them.
Not up to date? is it compatablue?
was just looking at the Verssion of the plugin is it compadabule with the uptodate items and blocks and Craftbukkit. Please poste here i will check back later
Thank you for your time.
Hey I get this error message:
15:31:07 [WARNING] [DynamicEconomy] Task #26 for DynamicEconomy v.9.2 generated an exception java.lang.NumberFormatException: For input string: "�" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241) at java.lang.Double.valueOf(Double.java:504) at me.ksafin.DynamicEconomy.EnderEngine.calcPrice(EnderEngine.java:220) at me.ksafin.DynamicEconomy.EnderEngine.incrementStock(EnderEngine.java:136) at me.ksafin.DynamicEconomy.RandomEvent.run(RandomEvent.java:80) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
What could that be?
RIP DynamicEconomy.
@coleweinman1
The /settax command works perfectly fine for me in bitWolfy's latest build.
@bitWolfy
can you fix the /settax command in the next build?
Does someone is able to update this plugin or sharing his own updated version?
It use to work absolutely fine with my server on 1.4.6 R0-3. I decided to make some test for the 1.4.7 R1-0 (which is quite similair to 1.4.6 R0-3, with some bug fixes) and now this plugin screw up everything. I thought the transition migh be easy... Usually, my server restart on about 10-15sec, now it run out of time and take 60+sec without proprely loading the plugin.
I tried a back-up to come back with 1.4.6 R0-3, but now it does'nt work anymore on 1.4.6 even after deleting absolutly everything and restarting from the begining. But that, maybe it's a server hosting problem since they found out it was broken they probably blacklisted it (that an hypothesis, maybe I am wrong on that point) Maybe I do something wrong, I will check it out on my side.
I can send logs on demand, it's not good to see :S
I know it does'nt look good with the author that does'nt even take a minute or two to give news about this projet. I turn my last hope on the community to ask if anyone is willing to take in hand this projet or anyone know a good alternative to this plugin.
Lastly I send my prayer to the author to give sign of life. Taking a minute or so, is it really too hard to ask to give news? I don't want my server going back to a Stone Age economy. I think I will start learning Java now...
@bitWolfy
I'm sure the author of the mod won't mind if you only update it. Also, it's licensed under the GNU license agreement which pretty much states that anyone can do anything with the mod as long as they mark it as changed.
@bitWolfy
Did you fix the reload issue?
Also it seems like you cannot add items to the item.yml and the alies.yml. I need updated items for this. Can you have a look at why i am unable to add items?
Thanks
Well, it isn't necessary now :P Finally I found the reason that my server was randomly 'crashing'. I don't like to spam with logs, but maybe this will help:
2013-01-25 02:35:40 [WARNING] [Server] This appears to be plugin 'DynamicEconomy'! 2013-01-25 02:35:40 [WARNING] [Server] at me.ksafin.DynamicEconomy.RandomEvent.run(RandomEvent.java:51) 2013-01-25 02:35:39 [WARNING] [Server] The main thread is still stuck, current loop line is: 2013-01-25 02:35:27 [WARNING] [Server] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 2013-01-25 02:35:27 [WARNING] [Server] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) 2013-01-25 02:35:27 [WARNING] [Server] at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) 2013-01-25 02:35:27 [WARNING] [Server] at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) 2013-01-25 02:35:27 [WARNING] [Server] at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:530) 2013-01-25 02:35:27 [WARNING] [Server] at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 2013-01-25 02:35:27 [WARNING] [Server] at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) 2013-01-25 02:35:27 [WARNING] [Server] at me.ksafin.DynamicEconomy.RandomEvent.run(RandomEvent.java:51) 2013-01-25 02:35:27 [WARNING] [Server] What follows is the stack trace of the main thread 2013-01-25 02:35:27 [WARNING] [Server] Probable Plugin cause: 'DynamicEconomy' 2013-01-25 02:35:27 [WARNING] [Server] The main thread failed to respond after 10 seconds