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
I plan to fully test the code -which @apondarz submitted- today. After I do that, I will release an update.
@gearsgod
If someone were to do that then we would not need to use vault at all.
might I suggest offer support for Iconomy? like
checks for vault if not found checks for iconomy if not found BOSEonomy if not found fail and disable plugin
a lot of us want support for our iconomy/bose without using vault as it breaks many other plugins.
@apondarz
You did not break the reading of config.yml, bukkit did. They depreciated the code that that section of Dynamark relies on. It was part of the motivation to move to using a database instead.
I will be reviewing and merging your pull request here shortly. Thanks for contributing :D
It works for 1.2.4 with one problem: when selling anything, the whole inventory must be full, because when dynamark scans inventory and finds an empty slot, it fails. I've made a quick fix basing on the source in git repository, but because I'm not experienced with bukkit, I'm afraid I've broken the functionality of reading the config.yml... That's not a problem for me, because I've already loaded all prices, but definitely my fix is not a recommended one. :) Anyway, if anybody wants the changed source - just tell me.
Is this plugin inactive? I'd hate to have to switch to a different Dynamic Economy plugin.
@nanashiRei
lol, hoard donations? The project has received a grad total of 0.1 BTC.
So has anyone taken this over? Or is the author trying to hord donations? :P
@smickles Hey, Check your PM
Take life one step at a time. People will be more than glad to take over this project if it's too stressful. Family comes first.
@oleerik
Yes, i'm sorry, but NO ONE is helping me or donating and I have a 2 mo. old to care for now, so little freetime to do things for free
:/
Seems like we might have to change to an other plugin. This one seems half-dead atm :/
Ah great!
Now, one more thing before I'll leave you in peace.
Potions doesn't work to sell or buy.. Known error?
@oleerik
Thanks.
If you didn't notice, basically what happened was that there are too many commodities (or they have too long of names) to list on one page of the in game chat.
I didn't code a proper solution here so that I could tackle other problems first. Now that you've reported this, I have created a ticket for it (http://dev.bukkit.org/server-mods/dynamicmarket/tickets/31-allow-for-more-than-one-screen-worth-of-output-in-market/) and will begin work on the issue soon
:)
Hey.. I am telling you to do something about /market list, as instructed by the plugin
@HyperHysteria13
Would you mind creating a ticket concerning this? It would help to have a little more detail.
I don't think /market add and remove are working right.
Here is a .DB editor to make it easy to add stuff to the market:
http://sourceforge.net/projects/sqlitedbrowser/
Tried the new 0.1.1.0 build and I'm using a MySQL ebean database. Every time i try to buy or sell items the MC client shows "An internal error occurred while attempting to perform this command"
The console is showing an OptimisticLockExecption error.
I have other plugins (ie. modreq) using the ebean database though MySql. Here's my bucket.yml configuration.
I also have an ebean.properties file in the minecraft home directory server.
When buying or selling. The plugin is taking the objects from my inventory but I'm not seeing the price update. It looks like it's not actually updating the database.
I do have the a proper: DynaMark_Commodities table in MySql with entries that were exported from the original config.yml.
@yaitsbilly
spread is the difference between buy and sell prices. set it to any positive and non-zero value to prevent abuse.