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)
@D33pField
There is no detailed in game help on how to use the commands.
@Sadragos
:( Well, that's just saddening.
@dkabot
It seems, this was only a temporary fix - it ist still not working...
Is there an in-game player help file for this? because when my player type /help sell it give them almost no info on it. Also when you just type /sell it give you no info on how to use it...
@joshwenke
What are you defining an "update" as?
The code was functional last I checked and even on the latest bukkit I'm not getting build errors.
EDIT: Whoa, not sure why but exceptions are indeed happening. Go figure. I'll look into them.
EDIT 2: Well, I am an idiot sometimes. I set the default config to contain an illegal value.
@Sadragos
Well then, thanks for that fix.
I never was able to reproduce that bug, so provided it works that helps.
@joshwenke
True. With 1.4.2 it always tells me, that I've entered invalid cost.
Edit - I've found a quickfix for it:
File: src/com/dkabot/DkabotShop/DkabotShop.java
Find: return Double.valueOf(twoDForm.format(d)); (Line 212)
Replace With: return Double.parseDouble(twoDForm.format(d));
This needs an update..
@briandmk99
When you open up you Server-console or log files there should be some kind of errormessage. It might look something like this (only a lot bigger I guess)
Thats what you call a stacktrace. Hope that helped :)
A stacktrace? Sorry, but i'm a bit of a n0oob when it comes to developing plugins :p
Care to tell me what that is?
@briandmk99
You could just send me a stacktrace so I can actually see the issue.
@ dkabot
Well, you could join the server yourself and test it out, i guess. All i know is that it doesn't work :/
@briandmk99
Wait, what? The only exception I can think of for it loading is an unfulfilled dependancy, of which vault is the only dependancy. I tested every function I could think of and they all worked fine.
Internal error occurred, Does not work. Too bad, cause i loved VS.
It took about 4 months, but I finally got to updating this, and with some useful features to boot!
Hope migration isn't too much of a pain. Enjoy!
I'm downloading now I LOVED VS and I need it back mainly for users ;-)
@Stachoods
...I have no idea what you're trying to ask.
@kolorafa
I'm not at the dev machine right now, but memory is telling me the current code has a config option to sort /stock by latest or lowest price, default lowest price.
Is it possible to get stock list sorted by price?
Hey Can you create buyment feature in yours great plugin? Greets!