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






-
View User Profile
-
Send Message
Posted Apr 25, 2012@Squidicc
Latest source has been committed.
-
View User Profile
-
Send Message
Posted Apr 24, 2012Awesome! You're getting sexy-time tonight! ;D
-
View User Profile
-
Send Message
Posted Apr 23, 2012Hmm, which items?
-
View User Profile
-
Send Message
Posted Apr 23, 2012@BONNe1704
Awesome, thank you. Some items don't seem to work with dynamicsign though.. did you get that too? Also getting errors when trying to sell items like wool or dyes, ones that use an array O_o
Edit: It works pretty well. I really like this plugin and it's much better done than others that try to do the same. However, there are still some issues with it, I would like to help correct them, but the latest source isn't on github...
I can also confirm, that the use of random events, will cause the server to lockup and crash. Disabling random events fixed the issue, I'll try and submit some tickets If I can narrow some of the bugs down :\
-
View User Profile
-
Send Message
Posted Apr 23, 2012hmm... for me it works without problems
i cannot help in this situation sorry, :( need to wait ksafin,
-
View User Profile
-
Send Message
Posted Apr 23, 2012@BONNe1704
I tried both and I get this:
19:47:33 [WARNING] Task of 'DynamicEconomy' generated an exception
java.lang.NumberFormatException: For input string: "?"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222)
at java.lang.Double.valueOf(Double.java:475)
at me.ksafin.DynamicEconomy.loan.dynamicInterest(loan.java:290)
at me.ksafin.DynamicEconomy.loan.run(loan.java:316)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:517)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
-
View User Profile
-
Send Message
Posted Apr 23, 2012@DeusAmplus
no, banka is my loan acc :D you can use what you want :D like notch or ass :D or frfgvkgfbd
-
View User Profile
-
Send Message
Posted Apr 23, 2012@BONNe1704
Should it be Banka? Or Can I use DeusAmplus?
-
View User Profile
-
Send Message
Posted Apr 23, 2012use-loan-account: true loan-account-name: Banka
-
View User Profile
-
Send Message
Posted Apr 23, 2012@BONNe1704
How do I use a Loan Account?
-
View User Profile
-
Send Message
Posted Apr 23, 2012-
View User Profile
-
Send Message
Posted Apr 22, 2012@ksafin
Yes, I set it to the world name, but it still gives me an error, and won't let me access any of the /dynamiceconomy commands in-game.
-
View User Profile
-
Send Message
Posted Apr 22, 2012Sign info
@Squidicc
it is possible, but it is also long and very intolerable :D
I done it in 30 min, but with many mistakes :D
Also i suggest to write itemID, because some ItemName are longer then possible chars amount in sign :D
-
View User Profile
-
Send Message
Posted Apr 22, 2012How do you make a Dynamic Economy sign? I want to make a wall of all the prices. Is this possible?
-
View User Profile
-
Send Message
Posted Apr 22, 2012@DeusAmplus
I solve that problem by using Loan account :D ...
-
View User Profile
-
Send Message
Posted Apr 22, 2012@jonbravo2
Did you change dynecon-world in config.yml to your world name?
-
View User Profile
-
Send Message
Posted Apr 22, 2012I got the plugin installed fine, but in-game I get a "This world does not have access to this command." whenever I try to mark out a shopping region. Have any idea how to fix?
-
View User Profile
-
Send Message
Posted Apr 22, 2012I get this error:
[WARNING] Task of 'DynamicEconomy' generated an exception
java.lang.NumberFormatException: For input string: "?"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222)
at java.lang.Double.valueOf(Double.java:475)
at me.ksafin.DynamicEconomy.loan.dynamicInterest(loan.java:290)
at me.ksafin.DynamicEconomy.loan.run(loan.java:316)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:517)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
I'm sort of a noob so I don't know what this means and how I can solve it.
Can you please explain in 'noob' language??
I'm Dutch, so if I made a grammer mistake. You know why I did ;)
-
View User Profile
-
Send Message
Posted Apr 21, 2012Hey guys,
Sorry for the lack of updates or comments from me.
I've been very busy, and this next month is also very cryptic for me, as I have very important exams I have to study for. I dedicate a lot to plugin development, but my regular life and education come first (I hope that's understandable :P).
Anyways, I've looked through all the comments since I last posted, so, don't worry, I know your concerns and issues and will address them as soon as I am able to.
For now, please continue to ticket them on github instead of posting them here; it's much easier to keep track of.
@BONNe1704
Thank you for replying to a lot of people and helping them with issues, you've been pretty accurate on most of your diagnosis of problems.
@vagrant326
Like BONNe said, use a replace-all function of a word processing utility to change ".STOCK: 50" to whatever you want as default.
@deleted_6837836
There will be. I haven't tried negative decay, does it work for you as a rise?
@Serilum
I'll look into potion stacking and other Item stacking towards the end of beta development, that's more of a clean-up aspect. Please make a ticket for this so I don't forget.
As BONNe said, the prices are default. Adjust them to your liking.
-
View User Profile
-
Send Message
Posted Apr 21, 2012If you use Notepad you can use replace all :D
I do it :D