DynaMark - a simple dynamic market / shop
Overview
DynaMark is lets players buy and sell commodities at automatically determined prices which are based on demand.
Latest Download
Public Release
Standard
Direct v0.1.1.0
Alternate Command
Direct v0.1.1.0a
- per command permission support (permission nodes)
- switch to database use
- you can still use a flat file to add large groups of commodities at once
- in game (console or play) commands "/market add" and "/market remove" are now used to manage which commodities are on the market
- MYSQL support (info)
- unspecified bug fixes
Development Bulid
Standard
BitTorrent
Direct v0.2.0.0
Alternate Command
BitTorrent
Direct v0.2.0.0a
- remove old broken method for config
- allow multiple names per commodity
- add commodity suggestion on misspellings
- add new config method
- allow per commodity enabling and disabling of trade-ability
- allow per commodity configuration of names
There are significant changes in the way commodity information is stored and the way in which the config file is used and its format. I have not yet written any sort of 0.1.x.x to 0.2.x.x conversion tools. As of right now, if you want to keep the commodity data (for example the current prices) which you have, you will need to look at a new database file, look at yours, and then manually convert it. I think this pretty much involves just changing the 'name' of each commodity to the appropriate 0.2.x.x format.
ChangeLog
The change log can be found here.
Database Manipulation
For now, the easiest way to add or remove items is to use a sqlite editor. http://sourceforge.net/projects/sqlitedbrowser/ has been recomended by missingscrews. Sqliteman is my preferred alternative.
Player Commands
- /buy
- Buys an amount of the specified item
- Usage: /buy cobblestone 128
- /sell
- Sells an amount of the specified item
- /sell all
- Sells all sellabe items in your inventory
- Usage: /sell pork 7
- /price [item] [amount (optional)]
- Checks the price of a specified item
- Usage /price diamond
- /market [top | bottom | list]
- Has three uses, 'top' and 'bottom'. 'top' returns the top 10 most expensive items on the market. 'bottom' does the same for the least expensive items.
- Or 'list' to show all available items on the market
- Usage: /market top
Config
Has it's own page now.Click Here
Longer Description
When first run, DynaMark will create a database of items which are available to sell. All items start out with a value of $10 and this will go up by $0.01 for every one of the item bought. The reverse occurs for every one of the item sold. You can modify this database as you see fit.
Source
github
- Anyone is welcome to help out on the project, just do some work and make a pull request.
Donations
Donations accepted at:
1M8i6TWmnTfWCuTQJMQUkX8xJbCEctaXkF
- Or
http:btc.to/1qq for short
- I welcome donations that are even less than $0.01
Will you ever add a log of all transactions made by players? And awesome plugin btw!
I love fast upgrading of this plugin.
and..
I want a config.yml which item price has reached equilibrium... ^^
Is there someone generous to email that to me?
[email protected]
thanks a lot...
@robxu9
A sign "gui" is in the works, as well as a Spout GUI ;)
Is it possible that you could integrate this with signs for an easy GUI? We're using Chestshop right now, and we can't keep changing the prices all the time DX
@Remi_Scarlet
Well, if putting register in the right place fixes it for you, then no ticket. However, there are some other plugins that use register improperly (i.e. distributing them in their source), and they cause conflicts and errors with DynaMark. I'm trying to craft a workaround for this, so if that's affecting you, please do submit a ticket.
Thanks for the prompt reply. I now seem to get a very large wall of text of errors when trying to load Register. I'll go but nijikokun about that.
I may or may not end up coming here again to ask a question or two.
P.S. I'm assuming i don't need to submit a ticket as Register was apparently incorrectly placed?
@Remi_Scarlet
Just to quickly answer somethings here,
You are leaving out a critical piece of the error information. There should be a "Caused by" and more output, It's best to show more of the log than could possibly be necessary.edit sry, please disregard this@Remi_Scarlet
This sort of post is better posted as a "ticket"
Could I trouble you to click on "Tickets", up at the top of this page, and start a new ticket?
blehhhh
http://pastebin.com/6idTbd8c
I accidentally-ed.
Also, Register is supposed to be in the root minecraft folder...? Wasn't sure so I tried running thrice with 1) in root, 2) in plugins, 3) in both
none of them worked so I'd assume it's not an issue with Register. (The error I gave just now is when Register is in root btw, I'm assuming that's the correct one from reading the comments on the dev page for Register)
Basically, I can get DynaMark working to the extent that I can type /market and it'll give me the top/bottom prices so I know the plugin is at least running. Whenever I try to buy/sell/etc an item, I get an unhandled exception error
http://pastebin.com/66qXBdmE
I accidentally so hard.
@TTlabambaTT
There is certainly a place for each of those ideas in the future.
A gui is already in the works.
The WTB/WTS feature will limit the amount of items available to buy by the amount of items that people are trying to sell.
Thanks for your interest, I look forward to coding the location restriction so you can use this the way you want to :D
Will it be possible in the far future (hopefully after location restriction is implemented) That some stores sell some items and others sell different items. And maybe in the VERY far future a simple npc in the shop that you talk to and maybe a gui (that I was talking about on my last post) pops up. You could even possibly have a certain amount of items in one shop. And there could be a percentage chance every 5 mins that random new items get placed in the shop and some get restocked. Hopefully these suggestions are helpful and keep up with the good work (as soon as location restriction is implemented this will be going on my server. (If this post looks stupid i am using an extremely out of date internet browser from my school)
Why thank you sir!
I'll be eagerly awaiting the update.
@Reznikakime
Ok, so here's a roadmap for location restriction:
:D
I would like to chime in and say I'd love for this to be limited to locations as well. We use Virtual Shop at the moment, but I don't like the fact it can't be limited to one area (Do me the favor of slapping me if I'm wrong).
It would actually help our server in the long run if this was made possible.
Can it also be made possible to change based on whole dollar amounts instead of fractional? Our server don't use what could be likened to cents, and it may bugger up the economy a bit.
@sammehthedragon
Currently no, but I am working on it.
see this earlier post for a little more discussion on the topic. I'd love some more input.
Is it possible to set up areas where this plugin can't be used/can only be used? Such as creating a building that is the only building where you can use the commands or setting up certain areas (Such as dungeons) that players aren't allowed to use the commands
@smickles
Dang, that was a fast turnaround. Good luck on that =)
@ViralPandemic
This sound entirely possible and pretty cool to boot. I will add it to my ToDo list right away!
Would it be possible to set a power or logarithmic curve to the item pricing, along with a cap? For instance, if I want the price for diamonds to max out at 0 stock at the cost of 10,000 each, and minimum at 100 when its at 100 stock, but curve using a power function, so the price raises slowly at first, but faster at the end? This was a feature used in the old DynamicMarket mod, if you want to have a reference to look at.
@TTlabambaTT
I really like the idea of an in game GUI, it's in a, sort of, "long term plan" percolater.
As I said in my last comment location restriction is difficult to reconcile with ease of use for the player. I'm currently trying to think of a way to do it in the spirit of the project.