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)
@Sadragos
IfDamaged is now unused. It may be adapted for disallowing items using damage vaues, but new code (read: actually checking if the removal was successful) allows (and forces) an equivalent check automatically.
@mr_jacks_1
I''ve adapted yuor IfDamaged List. Now when I try to sell any Iron Axe for example i get this error (on the console): An item in the used item blacklist is not compatible with the methods this uses to get durability! And nothing happens except for an ingame message telling me, that the Item cannot be sold. I thought I'd only not be able to sell the Item if damaged...
@mr_jacks_1
This'll be useful for me later, when I do more testing.
here is my config, Done with item numbers as aliases hope this help someone, even though the numbers come up as invalid...
@mr_jacks_1
I'll look into adding IDs to my material retrieval function. I'll also look into adding IDs to the aliasing in config.
It will likely still only work with materials, and not support damage values...
Some material names ARE really weird... like SULPHUR (gunpowder)
can we also get a feature that lets us use the item number, most of our members know the item numbers it makes it easier to /sell 98 10 1 instead of /sell smooth_brick 10 1
Or a way to configure out own material name/ids
@mr_jacks_1
That is actually quite unsurprising, as the same thing happens with durability. I'll look into how to store enchantments / deny selling them
just want to quickly point out a bug, when you sell an item with an enchantment it does not take the item from your inventory, this means you can keep selling it effectively duplicating it.
@mr_jacks_1
It uses bukkit persistence, so MySQL is possible if set up in bukkit.yml. Of course, it's SQLite by default...
is mysql implemented yet? so i can look at creating a web interface.
Best Economy plugin i've seen in a long time! It prevents the annoyance of major inflation with other sign-based shop plugins. Thanks!