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
@Dockozel
Unfortunately that's the current problem I have with abuse :/
I noticed this when making the problem and had a slight change which fixed this if you bought 10 and sold 10, however, if you sell a lot of something it gave you a big negative return.
I'm afraid there's no current fix for this, I need to implement a non or less abusive system.
Sorry! But then again, this is in beta :)
looks cool, does it support bPermissions?
Having a problem with players buying x amount of items, selling it right back and earning massive amounts of money. What do I need to do to control this? Is there a way?
@Infuscu
My bad, I could have sworn I put it there!
Haha yes, I've heard complaints from some bukkit users about a lot of plugins being rushed and underperforming as such. I plan to make sure it works well, instead of making sure it works soon :)
Interesting. I'll change how I implement permissions for future versions, I'm using bukkit permissions right now; I'll switch to Vault. Thanks for the heads up!
@ksafin
Sounds truely awesome!
I do, however, not see the feature under "Planned Future Features", unless it goes under the point "Much much more!". Heh.
Also I fully understand that the development is in an early stage. So please do not rush anything, we'd rather want a clean and working plugin than something which is not!
I have tried out the plugin but we fail to get the permissions to work, except for "DynamicEconomy.customer". We have tried to add both "DynamicEconomy.*" and a more specific one "DynamicEconomy.getfloor", yet with no result. It returns "I'm sorry, but you do not have permission ..". We are using PermissionsEx and has Vault updated etc.
Infuscu
This sir is AWESOME. Good work.
@Infuscu
I too share your interest in non-global shops. In fact, I'm not a big fan of global shops at all.
If you take a look at my "Future Features" list, you'll see that I plan to add exactly that which you've outlined.
Global-Store will be optional, and chest shops will be available.
However, I plan to implement a feature for the short-term that will crudely deal with one of the problems you stated (player buys food when low on food in a mine). You will be able to choose a y value (1 to 128), below which a player will not be able to use the shop. Therefore, say, if you choose 30, a player very deep underground ( only 30 above bedrock) will not have access to the store.
However, I want to let you and everyone else know that this plugin is still currently in beta. I try to make it as stable and good as possible, but right now it isn't really remotely near my expectations.
I want the plugin to be completely superb, and I'll do my best to make it such by release of v 1.0; for now, I thank you for your support and hope you continue to look into this plugin during its beta phase and help me test and add to it!
@gml_josea
Thanks for that! I never used Locales too much so I wasn't aware. I'll change my NumberFormat object to use the US/English locale, and seems like that'll fix things up for you and PainKNero.
Sorry for the inconvenience; I'll get on it tomorrow morning!
I was having the same issues as PainKNero. It's a problem with locales using commas to separate decimal numbers. I tried replacing all dots in decimal numbers in Items.yml and the error dissapeared, but all decimal prices became 0. I forced the server's locale to be US/English running java with the flags -Duser.country=us -Duser.language=en and the problem went away. Of course, having to change my locale to make the plugin work is a very poor fix, the plugin should work regardless of locale.
kewl :3
Hi Ksafin,
I have yet to try your plugin but I will set it up tomorrow and test it out with our small community. My first impression (from the documentation) is really good but I do have a few suggestions:
We have been searching for a proper dynamic market plugin for some time, yet unable to find one. What we would like to see in a plugin like this is an optional feature to make a non-global/sign shop. This is already implemented in the plugin called DynamicShop but it is simply not very well coded. I suggest you take a look at it (if you haven't already) as the feature itself is great for a few reasons: First of all, the game becomes significiently easier with global shops; imagine you're mining and run out of food, you simply buy a stack of bread through the global shop. Moreover, global shops reduce the amount of people visiting our main city, which is where our shop would be located. Which results in a less lively atmosphere.
These reasons are obviously debatable, and I do realise that this is not something every server would make use of. But I believe it would be a fantastic optional feature.
Either way, I look forward to follow the future development of this plugin and hope you will take our suggestion into consideration.
Hi Ksafin,
both yml's are in the by the jar created folder and are filled with correct data.
Only command /dynecon works, /buy stone 1 or /setprice stone 1 or the same commands but using the numeric id's instead will lead to the written error. e.g.: /buy stone 1 one will output "an internal error occured...", followed by "Purchase Success" and followed by another "an internal...". Stone was not received.
bukkitversion 1597.
.... ok, now i have start a nearly naked server, only essentials, vault, dynmap and dynamiceconony in pluginfolder: Same behaviour :(
Cu,
Nero
i can say i like this one way more then. clickhere
@PainKNero
I'd be happy to look into it. I took a quick look at my code and can't diagnose the problem.
I'd need you to enter a command, and then tell me what command you entered, what arguments, and what the error was.
are Items.yml and config.yml in the DynamicEconomy folder, and do they have data in them?
Getting Error on commands like price, buy etc.:
(Vault 1.2.3, Essentials 2.7.2, loading plugin is ok.)
@rythar
Very Interesting. I'm looking into it, I'm sorry for any problems it may have caused. As soon as I get it fixed I'll be sure to let you know, and I hope you can give it another chance when It's fixed.
I installed without changing anything and all my users are losing money buy selling items. One user sold 640 pumkins with default setting he had about 3k on him now he is -300k.
@ShaunSingh
Maybe eventually, to be honest I'm not a spout fan. I may not have a good reason but I'm just not too big a fan.
@nekpek
Will do!
I plan to add some form of chest or player-owned store around the release.
I can do the /de command in the next few minutes actually :).
Otherwise, do you like the plugin?
I have a suggestion. Are you familiar with Spout? You can use it to make a GUI for the plugin. They can hit a certain block or talk to a certain NPC to bring up a GUI to put something else to sell or to buy something. Would make a server, for example and RPG server, very fun.