DkabotShop
Introducton
Thanks for 4890 downloads!
DkabotShop is intended to be an open-source, updated, and egotistically-named alternative to and recreation of VirtualShop, along with plenty of my own skewering.
Speaking of open-source, go check it out on GitHub!
This plugin enables servers with a command-based free market virtual shop system where anyone can sell anything (unless blacklisted) for any price (within what the administrator allows).
Iems with durability/datavalues are now supported. "Reverted" potions cannot be sold by name. Tools can be sold, but only if unenchanted and each possible instance of the damaged tool is a different item in the database. :(
It uses bukkit persistence to handle DB queries, which uses SQLite by default. If you want to future-proof it for anything in the future or just increase performance on a large server you will want to configure bukkit.yml for MySQL.
While there isn't a spout gui or web UI, it's been designed in such a fashion that (if MySQL is used as opposed to SQLite) a web UI can be made later. A Spout GUI could likely also be made, but I have no plans on doing so.
Commands & Permissions * Configuration * Migrating from 1.5 to 1.6+? * Want to Edit items.csv?
It's unpopular still, but have some stats!
ToDo:
- Keep the plugin functional (always in progress)
Unlikely but Considerable Future Plans
- A different UI. Something with inventory screens.
- Some sort of basic ChestShop implementation to shut up people who say the command system is too hard (chest stocks would be synced to the main DB, and one can buy from the chest with /buy)
Hey, I have a suggestion, can you add an option to change the currency name in the config? See, I want to have the plugin use rupees instead of dollars for the currency, just to have the server feel more RPG like. Can you do this? Thanks.
@AshvaleStaff
There isn't, and implementing one is a matter of what can be done to make it get the job done and not interfere with normal operation.
Max stock cap? Max price cap? Both? (that'd really make it not very "free market") Something else?
Then there's actually figuring out how to implement it too...
Is there an item sell limit or a chance of adding one? If it's infinite then people can use this instead of storing their items in chests on my PvP server. Thanks ^.^
@RedAndBlueReDux
I didn't realize I could change the command for BuyCraft, you're a lifesaver dkabot!
(On a different account)
/buy is conflicting with BuyCraft, is there any chance for a command change? BuyCraft is a very popular plugin. Maybe /dbuy /dsell /dworth etc?
@haduke
Sorry, I never figured out how to get a definite page count that wasn't wrong so I settled for just "There is a next page".
Anyway, /stock accepts args in any order last I checked, so it's p# where # is the page number.
How do my players look at other pages in the stock? It says there are other pages, but we are unsure of the command to see the other pages. Thanks!
@KoroshiyaHunter
Yeah, originally I forced the item lookup to consider air valid, but that was changed so next release I'm making the default blacklisted item command blocks.
@dkabot
Ah, okay. I didn't change it because I thought it would allow players to actually be able to sell air. Thanks for the reply!
@dkabot
Thanks dkabot for the quick response. I know it makes no sense to buy something from yourself, lol. I was just trying to test out the buy function so I could see if it would work or not, lol. Thanks again for the help and for the awesome plugin!
Is a 1.4.4 update coming?
@KoroshiyaHunter
Sorry, you have to change the default blacklisted item to something that's not air.
The fix is implemented but I am waiting for other changes before pushing the build.
@haduke
You cannot buy an item from yourself, that really just makes no sense. You can see your stock in the listings, though.
If you want to remove your items, there's cancelling for that.
Console shows the following at startup. Tried deleting the config and letting the plugin populate a fresh one. No dice.
Also, how would I go about disabling Essential's usage of the /sell command? I think that's causing issues, too.
Can you not buy items that you put into the shop yourself? I put in two chests at a dollar each, then tried to buy one of them and it tells me that no one is selling that item.
@dkabot
Oh thank you so much! I'm a total idiot!: I tried everything *but* that (tried replacing the value with 'air', leaving it blank, deleting it entirely, etc.). Works like a champ now. Thanks so much!
@skookiesprite
Ah, sorry about that.
If all you want to do is use it as it is, you can use the version that generates the bad config and edit the incorrect part of it to be correct.
Notably, replace the blacklisted "0" with another item ID like "137".
Hi: Thanks for the wonderful plugin. Unfortunately, I'm unable to get it to work and don't know how to incorporate your github changes (the fix for the bad blacklist value in the config that throws the severe error)... into something that can work on my server (i.e.: a functioning .jar). I've searched and searched, but am not very good with java, and especially unfamiliar with best dev practices or whatever for it, so if you could offer any help, I'd greatly appreciate it.
Thank you again
@D33pField
I have no idea of the difference between just running a plugin on tekkit and explicitly supporting it. If it can be implemented easily, it'd be considerable, I guess.
@dkabot Aww thats too bad. Ill just write a /shop command to list the commands for your plugin. And also. Any chance at Tekkit support? :) I would be willing to donate.