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 Jun 18, 2012@bigboy2013
Yes it does.
EDIT: I think I may have found a bug that caused your problem. However, the next update will include EnderEngine, so your Items.yml will be completely different anyway.
-
View User Profile
-
Send Message
Posted Jun 18, 2012But then, like im still unable to reload this from in-game. The saving works fine now, the stock and everything stays when i leave, but icannot load the items.yml from the game... I get no errors or anything. does the /dynamiceconomyreloadconfig reload items.yml too?
-
View User Profile
-
Send Message
Posted Jun 18, 2012@bigboy2013
Hmm not sure why it doesn't change lower than .01 in-game, but I suggest you change it manually in items.yml if that is the case.
More importantly, however, I'll be releasing the new Ender DynamicPricing Engine either today or tomorrow, and this new pricing engine will make pricing and price changes MUCH better, you'll no longer have the problem of your stone changing $10 from someone selling 1000. It'll be much more fluid.
-
View User Profile
-
Send Message
Posted Jun 18, 2012I cant get the velocity any lower than 0.01 in game... if i set it to 0.0002, it changes it to 0.0. Otherwise, players only sell 1000 stone, and the price changes $10... And on my economy dirt is worth $.35, and stone is worth $1.37.
-
View User Profile
-
Send Message
Posted Jun 18, 2012@Master_Zangetsu
Great! I'm glad you figured it out. I would've told you right away that that was the problem, but I didn't see your post until after you already found the problem :)
It's no waste of time for me, I'm here to make sure you can all use DE successfully and enjoyably.
-
View User Profile
-
Send Message
Posted Jun 18, 2012@ksafin
im going through all my plugins on a test server to see if there are any clashes ... installing it on its own provides no problems so its clearly an issue on my end
one thing i have noticed ... on my main server buying an items results in this
"DynamicShopYou bought 1 stone for .... etc
whilst on the test one it results in
"Purchase success! You bought 1 of stone + 0% tax = ... etc"
as far as im aware im using the same version of dynamic shop for both ...
EDIT ~
Problem solved, im moving to your plugin from your competitor http://dev.bukkit.org/server-mods/dynshop/ having that on the server as i was trying to configure yours was causing the problem
sorry to have wasted your time
-
View User Profile
-
Send Message
Posted Jun 18, 2012@Conlan99
Haha ok you're welcome :)
@Master_Zangetsu
that's extremely weird o_O I guess I can look into it, but I recommend you try and do something to experiment (I know it seems like there's little you can do, but just try tweaking values, sometimes changing something just randomly fixes the problem).
-
View User Profile
-
Send Message
Posted Jun 18, 2012@ksafin
straight out of the box no config changes "/buy cobblestone 50" results in 1 cobblestone
no error messages at all in the config ....
-
View User Profile
-
Send Message
Posted Jun 18, 2012@Conlan99
Hey THANKS i guess as far as re downloading goes, fith times' a charm :D Thanks for your help!!!
-
View User Profile
-
Send Message
Posted Jun 18, 2012@Conlan99
Oh, and i fixed the error, just some account mistake :P
-
View User Profile
-
Send Message
Posted Jun 18, 2012@ksafin
Tried, but the DE alieses is still %100 empty D: Any separate downloads i could use to get the default one?
-
View User Profile
-
Send Message
Posted Jun 18, 2012@Conlan99
You need to post more of the error, there's a part that tells me where in the code this happened that would help.
As for your first post, alias recognition is ENTIRELY how DE recognizes whether items exist. When you call /buy and pass an item name, DE goes into alias.yml and finds all entires for the item you passed. This is how it determines if the item exists (if its in alias.yml).
So, your problem is alias.yml not being populated. Try deleting it and reloading DE to see if it makes the default alias.yml.
-
View User Profile
-
Send Message
Posted Jun 18, 2012@ksafin
AHA!! "[WARNING] Task of 'DynamicEconomy' generated an exception java.lang.NumberFormatException: For input string: "?" at sun.misc.FloatingDecimal.readJavaFormatString<Unknown Source>
Mean anything to you?
-
View User Profile
-
Send Message
Posted Jun 18, 2012@ksafin
Hmm... No, but how would that affect weather or not DE recognizes the existence of an item? I thought all aliases where where shortened commands :P
-
View User Profile
-
Send Message
Posted Jun 18, 2012@Master_Zangetsu
Hmm. there's no reason for that to be happening. Can you provide me with any more info?
Try backing up your configs, deleting the DE directory & DE, and reinstating a brand new DE installation, then copying your backed up configs over the new default ones and see if it works again.
-
View User Profile
-
Send Message
Posted Jun 18, 2012command /buy <item> amount
results in the purchase of 1 items regardless of any amount entered
the same can be said for using /sell and <all>
-
View User Profile
-
Send Message
Posted Jun 17, 2012Update
Hey guys, I just wanted to drop by and give you an update on what I'm currently working on right now.
As many of you know or may have noticed, DE's current price engine is not the most optimal or best engine. Depending on how you set price floors and ceilings, as well as velocities, the prices of items sometimes jump around DRASTICALLY, and sometimes crawl like snails. It all depends on what you set all the values of, and how active your server members are in the use of DE. Therefore, I've been working on a new DynamicEconomy Pricing Engine.
This new pricing engine will be called the Ender Dynamic Pricing Engine. The previous engine relied solely on the number of items purchased, number of transactions, and frequency of transactions. The new engine is entirely refurbished and much more efficient. The Ender engine works based on supply.
As the stock of an item approaches 0, the price of the item will approach the ceiling price. When the stock IS 0, the price will be the ceiling. This makes sense in terms of a true dynamic economy because when the supply of something is low, it's very expensive.
By the same token, as the stock of an item approaches infinity (aka, as long as the stock increases), the price will approach the floor (so the price will decrease as long as the stock is increasing).
A very nice addition of the Ender price engine is that in addition to your item prices being capped between the floor and ceiling as usual, the prices of stocks in between 0 and infinity will be very fluid and realistic, not at all drastic like the crazy changes you might have experienced with velocities.
I am VERY excited about the Ender Engine, and I hope you are too. It really revolutionizes this plugin into a much more thorough, realistic, and enjoyable economy.
Also, since prices of items are determined based on one mathematical formula (which I will provide), you can simply plugin the floor, ceiling, and stock, and you can find out the price at any stock, as well as how the price will change (how smoothly, quickly, etc).
If you're as excited as I am for the Ender Engine, let me know in a comment. I'm very happy to hear you guys enjoy features of DE, and even more happy to hear that you're anxious for the upcoming features.
NOTE: I've prioritized EnderEngine over the things in the poll because it's A) pretty much essential for DynamicEconomy, and B) Pretty much necessary for most of those things to function smoothly or at all.
-
View User Profile
-
Send Message
Posted Jun 17, 2012@bigboy2013
I see no reason for this to be happening, honestly. Do you get anything in the log?
-
View User Profile
-
Send Message
Posted Jun 17, 2012So I changed stock of stone to 5000, price to $1.37, and velocity to 0.0002 in the items.yml. Then when i do /dynamicreloadconfig, and say /price stone, it is STILL the default of 0.5 and 50 stock...
-
View User Profile
-
Send Message
Posted Jun 17, 2012@bigboy2013
Neither of those actions should be happening.
However, try /dynamiceconomyreloadconfig to reload config from in-game.