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 11, 2012@ksafin
I'm using BoseEconomy and Essentials (don't think essentials is messing it up but it has been known to be a pain)
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Galzek
Exactly what BONNe said.
I don't know why I didn't realize it before, that stuff happens if /buy or /sell or /price is used in multiple plugins.
@BONNe1704
You go BONNe!
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Galzek
which economy plugin are you using?
It's looks like you use 1 command for 2 plugins.
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Galzek
Ah ha! The alternate commands worked. Buy /buy /sell /price etc do not. Does Essentials screw with this?
-
View User Profile
-
Send Message
Posted Jun 11, 2012@ksafin
It doesn't do it when I OP myself. I'm also admin and have full privs for everything.
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Galzek
Very odd and I have next to no clue why.
Maybe its a permissions thing?
Does it happen if you OP yourself?
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Galzek
Hmm, can't use /buy or /sell either. It says the same thing where it just gives me the syntax of what I'm supposed to type. How odd
-
View User Profile
-
Send Message
Posted Jun 11, 2012@ksafin
Yes it did. I'm using the newest CB and newest plugin. Not sure why they aren't gelling. Not getting any errors.
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Galzek
Very odd, all of those work fine for me.
Did alias.yml generate, and is it full of aliases?
-
View User Profile
-
Send Message
Posted Jun 11, 2012Found some issues. Most of it seems to be working ok but when I type /price, no matter what I put after it, it does not work. It just says /price [Item] [Type] (Amount)
Also, with dynamic signs if I type:
dynamicsign wood price
It doesn't work, also tried birchwood and others. But coalore works as do most other ids.
Any idea?
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Underbalanced
Haha you're welcome(:
-
View User Profile
-
Send Message
Posted Jun 11, 2012ALIASES YOUR MY HERO!!!!!!! Now i can remove all my item id signs for the armor!
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Galzek
You're welcome!!
I'm glad you like it :))
-
View User Profile
-
Send Message
Posted Jun 11, 20128.53 is AWESOME!!!! Great job
-
View User Profile
-
Send Message
Posted Jun 11, 2012VERSION .8.53 IS OUT!
A few new features!
In order to have a dynamicsign display the current sales or purchase tax, do the following:
The Tax signs will update just like any dynamic sign, if the tax changes. So, it'll update whenever you change the tax in the config and reload the config, OR if you use the ingame /settax command.
The answer? DEBT. Basically, when its time to pay a loan, DE will charge the user what's due. If they can't pay the entire amount, then DE will mark down how much they have left to pay, and mark them as "IN DEBT". (If you use more than one loan, then don't worry, each loan has its own DEBT marker). If they are in debt for one or more loans, they will NOT be able to take out any loans until they've paid all of their debts. Also, DE will pretty much take money from their account every 15 seconds until the loans are paid.
You'll notice that each loan now has a "debt" property, which holds the amount they still owe, if any. The "debtStatus" property, is true or false, and tells whether the user has a debt on that loan (each loan has this property).
Lastly, there's an entire new section in Loans.yml under "loans" called "debts". This section has the names of users, followed by whether they are in debt or not. This is their "overall" debt status. If ANY of their loans have a "debtStatus" of true, then this will be true. If NONE of their loans have a "debtStatus" of true, then this will be false.
Overall, they can take out loans as long as this "debt" is marked as false. Otherwise, they'll be denied loans.
Upon using this new version of DE, DE will generate "alias.yml", which, if you open it, will hold all the aliases that formerly existed in DE, now in this file. You can add your own simply by adding it to the end of the file in the form of "ALIAS: ITEM", where they both have to be caps, alias is the alias, and ITEM is the true item name as found in Items.yml.
ALSO with this utility are the commands /addalias [Alias] [Item] and /removealias [Alias]. They're pretty self explanatory. The permission for both is dynamiceconomy.alias
Enjoy!
-
View User Profile
-
Send Message
Posted Jun 11, 2012@anonymous000
Thank you!
Right, basically here's how it works.. DE checks if Items.yml exists. If it does, then all is good. If it doesn't exist, DE generates a brand new Items.yml to take its place.
When I update Items.yml to include new items, servers have to backup their current Items.yml, delete the one in the directory, let DE load the new one with new items, and then they should update the new items.yml with the prices, stocks, etc, from their last one.
HOWEVER, I have just made this a lot easier in v .8.53
I've added alias.yml, a brand new file that holds the aliases for all items (where dpick, diamondpick, etc, are all aliases for diamondpickaxe.).
Basically, before, aliases were stored in code, and therefore anything you added to Items.yml would be useless because DE would not find any alias for it. However, now, if you add an item to Items.yml and then add aliases for it in alias.yml, you can purchase it from your economy!
I urge you to update to this version for this reason, but I understand your hesitation. If you have the luxury of being able to shutdown your server, for, say, 20 or so minutes, I'd recommend a careful process of backing up your Items.yml, updating DE, and then trying to manually add items to items.yml and aliases to alias.yml, and see if it works without erasing Items.yml.
I hope it works out!
-
View User Profile
-
Send Message
Posted Jun 11, 2012Still using this plugin, and it's brilliant.
One of my problems is when items are added to the plugin, they appear incorrectly in the items file itself, and often when i try to manually fix them, the plugin resets the item file entirely. Luckily, i have backups, but since i am using stocks, and the prices of the things on my server are very balanced for our world generator and events, having the item file reset is pretty much deadly to our economy. (happened once, didn't notice. Never again.)
Thanks again for the plugin though, and i'm holding off updating to the latest builds until I can sort out the item file properly. And again, thank you :D
-
View User Profile
-
Send Message
Posted Jun 10, 2012V .8.52 is up!
-
View User Profile
-
Send Message
Posted Jun 9, 2012@Underbalanced
The pricing engine for price velocities is a bit different than I think you interpreted it,
and yeah I added /togglewand in the next version to turn it off.
BLAH gotta go, Heat v Celtics game!
EDIT: I take back what I said, you're right on how it should be. I'll look into it.
-
View User Profile
-
Send Message
Posted Jun 9, 2012@ksafin
The price is right, the sell and buy are wrong.
.2% or .02% should not increase 1 dollar over 500 times up to 118k, it should be between 500 and 1k
Also a side note, tool change? A lot people use wood shovels, and it logs it every time they use the shovels.