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 22, 2012Well I was going to do it all one-by-one, but the file is filled up with all the potions, its a pain to ban them 1-by-1, and also change all their settings to 0 for EVERYONE one...
-
View User Profile
-
Send Message
Posted Jun 22, 2012@bigboy2013
This is what I did. Load up items.yml in to notepad or notepad.
Use the search & replace command. Choose to REPLACE: stock: 50 WITH: stock: 0
Poof. All stock is zero.
As for the other problem, see my long post (below) for my approach. Basically, start with "nothing" and then just add stuff that I want.
I agree though, there should be some "alternate" config files / items files included so that server admin's can get up-and-running quickly out of the box without spending hours and hours configuring things.
Perhaps someone out there that has already done all the work would care to share their work with others in the community?
-
View User Profile
-
Send Message
Posted Jun 22, 2012@ksafin
Funny you should ask about the support pages. :-) I was having a really hard time finding stuff at first. For example, was trying to find the command to reload the config. Took me forever, even using CTRL-F and using my browser to help locate the word "reload" was a challenge. I eventually found it but I don't remember where now. Oh, I think I found it on the permissions page. It's not listed under commands. I'd be happy to help you rework/update some of the pages.
Regarding what I think of /eco versus /dynecon. I really don't like /dynecon at all. Even after 2 days I still have to stop and "think" every time I want to issue a command. I guess the problem is after you have 45+ plug-in's on your server, you forget very quickly the name(s) of the plug-ins, and the commands. Economy is nice and easy to remember. I'm not aware of any other plug-in's that use /eco. Even if there were .. could you not make it an option? I've seen other plug-ins where, in the config, you can specify your own alias. That would be the best. Then people could use whatever they want.
Mainly I like /eco because it's short and easy to remember. /eco reload is WAY easier to remember than /economyconfigreloadconfig (I'm not even sure if I got that right .. sometimes I get reloadconfig mixed up with configreloado).
In general, I find there are too many commands. I get overwhelmed trying to remember a command. I don't bother trying anymore because I always get them wrong. I just go to the permissions pages, do a ctrl-F search, then copy-paste the command.
Suggestion: When a player is "not in a region" .. the /price command should not work. Players have no idea what the price is if they are not near an economy region.
Suggestion: When players do a /price <item>, a check should be made to see if that item is available in their region. If it is not available for sale in that region, then a message saying "<item> is not available in this region".
For example, in a region that only sells dirt, I am still able to get prices on diamonds. This didn't make logical sense to me. Likewise, when I am out of a region, I cannot buy or sell, but I can still check prices, which also doesn't make sense to me. (If players really really need to know, they could always ask another player). OR, if you think some folks might not like that, then you could make it an another option in the config. Something like:
know-price-when-out-of-region: false
get-price-for-items-not-sold-in-region: false
I think this plug-in has tremendous potential. I thinke MOJANG should consider making this part of their build. It's just that awesome. There are many things that I am struggling with however.
If you are open to more suggestions let me know. I have lots, but I do not want to be overly critical. Despite my frustrations, I think this plug-in is pretty cool and I've been working on it solid for the past 2 days to get it "just right" for my server.
In the end, I decided to enable regions. Then I created one economy region. Then I set it to use buy/sell group called "default". Then in the groups.yml I set the default group to have just one item: dirt.
That's pretty much where I am right now. My plan is to add more items to the default group using the in-game commands, slowly, over time as players require them. This is the "safer" way to do it I think.
One last suggestion: (Inspired by another plug-in that I really like called "Barter Signs". The user interface is incredibly friendly. Basically you hold the item in your hand and click or issue a command. It makes it so much more easier than remembering ID's or aliases for items. So, for example, if I wanted to add "Cobblestone" (4) to my default group, I would just put a piece of cobblestone in my hand, and then type a command. Commands still make it cumbersome, but since your plug-in isn't sign-based, I guess commands are the only way to do it. So, the shortest command I can think of would be something like:
/eco group add
(instead of /eco group add cobblestone)
Note: You would have to be standing "inside" the economy region. That way you don't have to know/remember the name of the "group". Otherwise the command would be even longer, like:
/eco groupadd DEFAULT cobblestone
Add me on Skype if you want. ID: sleite
Cheers,
-
View User Profile
-
Send Message
Posted Jun 22, 2012@bigboy2013
I just added the items to the banned items in config. Use right syntax it works fine.
-
View User Profile
-
Send Message
Posted Jun 22, 20121)The values are all completely random numbers, not sure how to replace those with 0. Example: Price: 12.23498489. 2)Groups I'll have to look into that... not sure. 3)Whenever I delete aliases from there, and do a server restart or dyanmiceconomyreload, the aliases all reappear back into the file, and I can't really delete them at all.
-
View User Profile
-
Send Message
Posted Jun 22, 2012@bigboy2013
There's a lot of things you can do..
1) Use a word processing program (Word, WordPad, Notepad) and use the "Find & Replace" command to set all settings in Items.yml to 0 2) Use Item Groups, and simply make a group(s) for the items you want to be allowed, and give users access to only those items 3) Remove the aliases from alias.yml, and the items won't be recognized.
-
View User Profile
-
Send Message
Posted Jun 22, 2012Its taking forever to ban all these items one-by-one... Is there any chance I can get an items.yml with all values set to 0, and a config with all the items already banned, and slowly fill them in?
-
View User Profile
-
Send Message
Posted Jun 22, 2012@sleite
Sure, I probably could.
It's probably be more like /dyneconreload
Reason being I don't want to conflict with plugins that use /eco.
Then again, I may make it /eco, and if you enable alternate commands in config.yml it'll be /dynecon.
Sound good?
Also, I'd like your input on how useful the support pages have been, since you seem to be using them.
-
View User Profile
-
Send Message
Posted Jun 22, 2012Hello.
Been testing for about a day now. It's getting easier, but there are a few things that could make it MORE easy. :-)
1. Could you consider the alias: /eco or /econ (instead of /dyn.... ah shoot, I forgot it already!).
2. I've been making changes to the config and other files and I need to reload the plug-in a lot. It's a real pain to type /dyna.... ah, shoot, I forgot!
Suggest making a more standard command, like: /eco reload
:-)
Thank you :-)
-
View User Profile
-
Send Message
Posted Jun 22, 2012@mrchasez
I have this same issue on 8.95, was wondering why I could not make any signs.
Pasties error
-
View User Profile
-
Send Message
Posted Jun 22, 2012@kilker12
No ETA, It depends on how fast I develop and when I'm available.
I got to still do MySQL and a web interface prior to ChestShop
-
View User Profile
-
Send Message
Posted Jun 22, 2012Looking forward to ChestShop support in 1.0. I really like the idea of the signs showing the value of items. Thats really all I want from this plugin. XD. And it will help keep the economy on my server very balanced also. Any ETA on 1.0?
-
View User Profile
-
Send Message
Posted Jun 22, 2012@mrchasez
Unfortunately I can't help, because since I've changed a lot of code since v.8.7, the line number indicated in the error that i'd usually go check is no longer the same line.
@allix8
Хаха, да, спасибо :)Я собираюсь включить "ChestShop", как вы хотите. В ChestShop будет "AdminShops", которые не должны быть заполненный.Аукционы также запланированные функции. Мы просто должны ждать :)
@mrchasez
I'd guess it has something to do with that error, but I can't diagnose v .8.7 errors :/
@MichaelDarkBlue
Unfortunately I have no doing in terms of permissions :/. I have NO code to deal with permissions besides the vault code to "check" if you have them. Any permissions problems are either probably Vault problems or problems with the perms plugin.
-
View User Profile
-
Send Message
Posted Jun 22, 2012The plugin does not seem to care about bPermissions sub groups. If i have the members group with customer permissions and the admin group with all permissions the plugin does not give the admins full permissions. This maybe because the admin perms also inherit the member permissions? But that is how I setup all the other plugins...
Sending commands from the console results in an error like this:
09:16:34 [WARNING] Unexpected exception while parsing console command org.bukkit.command.CommandException: Unhandled exception executing command 'pric e' in plugin DynamicEconomy v.8.95 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 6) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4 79) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer. java:475) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at net.milkbowl.vault.permission.Permission.has(Permission.java:101) at me.ksafin.DynamicEconomy.DynamicEconomyCommandExecutor.onCommand(Dyna micEconomyCommandExecutor.java:61) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 7 more
Also it does not give OP full control... so i have no way to set any admin settings without restarting the server as the plugin does not allow me to reload with even my OP account. I love the plugin and my users like it to, I just dont know what I am doing wrong...
-
View User Profile
-
Send Message
Posted Jun 22, 2012Uhm, No money is being put into the global account "KingsGOV" Even when purchase and sales happen.
There is a 0.1 tax on both, and its enabled. Why isn't no money being put into the account?
-
View User Profile
-
Send Message
Posted Jun 22, 2012@BONNe1704
Not really important.
-
View User Profile
-
Send Message
Posted Jun 22, 2012@slixxkilla
Just to confirm - this looks to have fixed the issue I was having with this plugin. Java on my server was randomly going 100% cpu, and staying there, making craftbukkit unresponsive. I disabled random events, and it's now been up and working for nearly 12 hours. I don't know if this is an interaction with another plugin, but something is happening. Changing the CPU cores/speed and memory on the server had no effect. I even went back to the latest recommended build of Craftbukkit. There are no random event entries in the log.txt file in the plugin folder.
This is easily the best economy plugin I've tried - it's just a shame I nearly gave up on it as it was killing my server!
-
View User Profile
-
Send Message
Posted Jun 22, 2012@ksafin
Да ёжкин матрешкин, я заморачиваюсь с переводом, хехе))) Да, я из Москвы! Еще раз с днюшкой, всех благ!
Очень приятно видеть и осознавать что наши ребята тут делают грамотные плагины, спасибо еще раз!
Если надо могу более понятно объяснить что за баг. От себя лично, чтобы хотелось видеть в плагине, это Аукцион для игроков, и аналог ChestShop(по сути нужен АдминШоп, чтобы не был связан с главной базой), чтобы избавиться от него.
-
View User Profile
-
Send Message
Posted Jun 22, 2012@mrchasez
Why you dont want to update?
-
View User Profile
-
Send Message
Posted Jun 22, 2012We randomly started getting this error, using 8.7 (Don't want to update) It worked until we restarted, then started getting this error, no idea where it came from, My builders were building the eco room. Not sure how it could effect anything.