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 14, 2012V .8.7
Bug Fixes
New Features
Region Flags
Region Flags are a new part of DE that will make regions more useful and powerful.
Essentially, each region will now have its own sales/purchase tax, banned sales/purchase lists, and allowed purchase/sale groups.
IN ORDER TO USE REGION FLAGS, YOU MUST SET USE-REGION-FLAGS IN CONFIG.YML TO TRUE.
Additionally, limiting people to buying/selling only certain Item Groups in regions (aka, the Item Group flag for regions) will only work if you have group-control in config.yml to true. (AKA, you must use groups for all of DE if you intend to use it for regions)
New Commands
In addition to this new feature, I've made some new in-game commands for you to be able to edit region flags on the fly, and then some.
NOTE: The previous command called /curregion, which was used to find out what region was currently selected, has been renamed to /curselectedregion
THE /settax COMMAND HAS BEEN MODIFIED, THIS IS THE NEW SYNTAX:
-
View User Profile
-
Send Message
Posted Jun 14, 2012@deleted_6837836
I'll hook you up with one in a minute.
-
View User Profile
-
Send Message
Posted Jun 13, 2012Can anyone provide me a sample Regions.yml?
The woodspade region selection doesn't work even with the use-regions: true, but I can and want to do it manually anyway.
For me, I enjoy configuring things manually. Can't memorize all the commands.
-
View User Profile
-
Send Message
Posted Jun 13, 2012@ksafin
Hello, i have the config set as default i made no changes. Thanks
-
View User Profile
-
Send Message
Posted Jun 13, 2012Guys, region flags will be out tonight!
I actually finished them already, but I'm adding a bunch of commands so you can set flags from in-game. As of now the dirty version works (aka, you'd have to edit regions.yml manually to make anything work).
-
View User Profile
-
Send Message
Posted Jun 13, 2012@tappestry
No, you got it right in terms of how it should be working. You shouldn't be getting 400k.
However, what the "velocity" in items.yml for diamond on your server?
EDIT: Actually, just tell me all of your settings for diamond so I can try to replicate it.
Also, are you using percent-velocity, and any tax?
-
View User Profile
-
Send Message
Posted Jun 13, 2012-
View User Profile
-
Send Message
Posted Jun 13, 2012@Vettexl
I'd hope within the next two weeks :P
Working on region flags right now.
I'm trying to get all the little stuff out of the way before I do Chest Shops, because that'll probably seal it to v 1.0, so I want the release to be as wholesome as possible.
-
View User Profile
-
Send Message
Posted Jun 13, 2012Any ETA for v1.0? :D
-
View User Profile
-
Send Message
Posted Jun 13, 2012@wolfenit415
Do you have dynamic interest enabled? And if so, what are your compression rates & interest rate?
@tappestry
What do you mean by "its not actually capped"?
-
View User Profile
-
Send Message
Posted Jun 13, 2012not sure but is /sell diamond 64 bugged? I keep getting the ceiling cap, even though its not actually capped? maybe Im doing something wrong? but it seems to be the case for more than just diamond too, have tested diamond blocks and its the same outcome, going to automatic ceiling prices.
-
View User Profile
-
Send Message
Posted Jun 13, 2012Keep getting this error on start: 2012-06-13 17:38:32 [WARNING] Task of 'DynamicEconomy' generated an exception java.lang.NumberFormatException: For input string: "?" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at java.lang.Double.valueOf(Unknown Source) at me.ksafin.DynamicEconomy.loan.dynamicInterest(loan.java:305) at me.ksafin.DynamicEconomy.DynamicEconomy$1.run(DynamicEconomy.java:558) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
plz help?
-
View User Profile
-
Send Message
Posted Jun 13, 2012@razor2997
Try getting those installed and if it still isn't generating a good alias.yml let me know and I'll just send you a link to the default one.
@allix8
Sure, region flags are a future feature. You'll be able to define many flags for different regions, from taxes, to the item groups that can be sold/bought there, to many other things.
-
View User Profile
-
Send Message
Posted Jun 13, 2012Excellent plug-in! Thank you.
One question, can you implement such a possibility, so that each region had its own interest on the purchase and sale. For example the city "A", the percentage of purchasing 20%, and the city "B" rate with the purchase of 50%??
-
View User Profile
-
Send Message
Posted Jun 13, 2012thanks for the help btw I found the Essentials Economy and on that download page I think is Essentials Group Manager. Is this what I am wanting? Here is the link. http://forums.bukkit.org/threads/gen-sec-econ-tp-admn-essentials-2-9-1-a-collection-of-useful-commands-1-2-4-1-2-5-r1.15312/
Yes I am using DE v 8.6
I deleted the alias.yml and restarted the server and it create another blank alias.yml file. I havn't installed the other plugins yet though
-
View User Profile
-
Send Message
Posted Jun 13, 2012@razor2997
Ok, try to delete alias.yml, restart your server, and see if DE loads the alias.yml correctly.
Are you using DE v .8.6?
Vault is a plugin that finds all of your economy plugins, permission plugins, and makes them easily accessible to other plugins. So, via vault, I get your permissions and economy plugins.
Do you have an Economy plugin (iConomy, BOSEconomy, Essentials Eco)? That's also a requirement.
As for permissions, I'm personally a fan of Essentials GroupManager, but I believe bPermissions works well too. In the past DE has had issues with PEX but they seem to be OK right now.
-
View User Profile
-
Send Message
Posted Jun 13, 2012When the server generated the folders it generated an alias.yml file but when I open it is blank.
I have Vault but don't really know what it does and I do not have any permissions plugin, what do you recommend is best working with dynamic?
-
View User Profile
-
Send Message
Posted Jun 13, 2012@razor2997
Do you have both Items.yml and alias.yml generated? Is the alias.yml populated with aliases? The only reason for DE to not find an item is if the aliases for it do not exist.
As for the /setprice problem, it's all a matter of permissions. DE has no built in admin rights or anything. Do you have Vault and a Permissions plugin installed? This is necessary. After you have that installed, grant yourself the permission node "dynamiceconomy.*" to give yourself all DE commands.
-
View User Profile
-
Send Message
Posted Jun 13, 2012for some reason the item.yml will not link up with the dynamicsystem. I try many of the different commands including item names but everytime I get "Item does not exist". The items I have typed are dirt, stone, and diamond; I even tried to put them in caps and still no luck. I also tried making dynamic signs but they will not link up either.
Whenever I try to use the /setprice command, the server sends me in responce saying, "I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error." I have set my account as in op on the server but I never messed with the users.yml on the plugin page. Am I suppose to make myself admin in the plugin and if so how do I do this?
Please help, Thank you
-
View User Profile
-
Send Message
Posted Jun 12, 2012@satsujinke
I'm not entirely sure myself, never tested on tekkit, but I will check it out and let you know.
@BONNe1704
An interesting idea. Make a github ticket and I may add.
@DuckOfDuckness
This error tells me DE isn't hooked into the economy. Do you have the latest Vault and at least one economy plugin (iConomy, BOSEconomy, Essentials Eco)