AShops
Version 2.3 is now available!
AShops allows players to sell and buy items with a chest. Unlike many other shop plugins, it doesn't use signs to represent a shop offer. Instead, it uses chest inventories and item descriptions and thereby makes possible to sell or buy (or both) items of different types using only a single chest. It means less chests and time spent on creating shops. Using description as an offer details source makes shopping also more friendly than reading a raw text from a sign, and by representing an offer as a real item, not only it is easier to find what you need, but it also allows you to sell/buy the exact item you have in your inventory, with all data it contains.
(prepared by Lambert from Bosnia and Herzegovina)
What's new in 2.0?
- New shop interface! You don't have to use commands anymore. (see the next section for more info)
- Transaction notifications work even when a shop owner is offline.
- + old features: income taxes, shops limits, minimal price limits, server shop account.
How to use the new interface?
- To create a new shop you have to place a chest and attach a sign to it or above it. For a player shop set first line to :as:, for a server shop: :ass:.
- To manage your shop (add offer, open/close it, remove it) shift-right-click on the sign and use menu icons. Read icon descriptions for more info on manager options.
- To sell/buy items from other players' shops left click on a shop sign and then on an item you want to buy/sell. Read icons' descriptions for more info on trade options.
- To load/collect items from/to your shop left click on a shop sign and then on an offer's icon. If you manage other players' shops or server shops, you will have to use a right mouse button to manage an offer.
- You still can use commands to create and manage shops. Use /ashops command to list all available commands.
How to install this plugin?
- Place AShops.jar file in the /plugins/ folder.
- Set database to MySQL in the bukkit.yml file in a server main directory.
database: username: userName isolation: SERIALIZABLE driver: com.mysql.jdbc.Driver password: databasePassword url: jdbc:mysql://hostName/databaseName
- Make sure you set the following properties to the correct values: username, password, url.
Permissions
- ashops.operator - a set of permissions for a server operator.
- ashops.manager - allows to: create a new player shop for other players.
- ashops.player - a set of permissions for a player.
- ashops.servershop - allows to: create a server shop.
- ashops.playershop - allows to: create a player shop.
- ashops.buy - allows to: buy items from shops; buy items in own shops if a player has also permission to create one.
- ashops.sell - allows to: sell items to shops; sell items in own shops if a player has also permission to create one.
- ashops.free - allows to: create player shops for free.
- ashops.unlimited - allows to: create create any number of player shops.
- ashops.anyitem - allows to: sell or buy any item.
- ashops.anyprice - allows to: sell or buy items for any price.
To the Users of previous versions
AShops 2.0 is not backward compatible. We changed a database system to more reliable one and now we have to use other structure of tables. AShops doesn't support a flat files storage system anymore - now it works only with MySQL databases and, hopefully, it will support SQLite soon. All features that used WorldEdit will be released as a separate file.
Also what do I need to change in the bukkit.yml file, if it's possible; Skype would be a better option without back and forth posts. My skype is toby.stoker128, feel free to add me! Thanks a ton!
So how would I get MySQL on my server? I have no idea what to do, derp. Sorry!
@SilentKillaTJ
Right click on the file and choose "Open with" -> "Choose a program" and choose a notepad, or wordpad.
@SilentKillaTJ
Yes, you need a MySql on your server, or remote server with mysql support.
Do I need to create a mysql account or something? I've never used mysql, sorry!
Thanks
I'm pretty newby when it comes to computer jargon and whatnot so could you possibly tell me how to edit the bukkit.yml so I can get this to work? Thanks a bunch!
@Re4ly
Can you send me more information about this bug by PM?
@PredictedPumpkin
If austin will give me permissions to adding new pages here, then I will make some tutorials...
@PredictedPumpkin
No, you must put there your MySql database password and username, no Minecraft account name and password.
do you set the username and password with your minecraft account?
I don't know what to do with the Database file I tried calling it MySQL
can someone put a tutorial please I can't do it D:
Some Players can get the Shopitems out of the shop with the price lore
@krisukun
I completely understand. I just simply am running into problems with ops buying from other players. I don't know. Maybe there is a conflict with another plugin on my server. I also just built AShops from source for 1.7.2 and no errors popped up at all so I am assuming that something needs to be fixed with Bukkit since the builds are still early. If you guys would like the build to test with that I compiled for 1.7.2, I would be more than happy to give it to you.
I'm really sorry guys, but now I really don't know how to help you at this point... On my configuration plugin seems to work great, both on 1.6.4 and 1.7.2. I can test further, but it seems that plugin should works. This plugin is using bukkit api, so there are probably nothing that can be broken. The current configuration procces (in bukkit.yml file...) and only mysql support (due to bukkit bugs with sqlite) is completely fail in my opinion, previous version was much better at this point.
I can't simply say when austin is going to fix current bugs, or just make new version of ashops (he announced new version 3.0, but as far as I know he didn't start anything since that).
I'm trying to rush him with this project, but he doesn't have enought time (school), and he is now working on some commercial projects, so ashops is far away on his "to do" list.
Plugin should still works, I suggest to check console further for any errors, check bukkit.yml once more and test mysql server/connection and configuration with other plugins.
@Buxieda
Post this errors, I'll send it do austin immediately.
@uvbeenzaned
As I answered above - not at the moment, he only has time for little bugfixes, nothing more.
@Buxieda
Same for me.
@krisukun
Is austin ever gonna be here to update it?
@Bball_Star
make sure you database drivers are correct once i changed mine to: Driver: com.mysql.jdbc.Driver and url: jdbc:mysql://localhost/ashops
it conencted to database and made the tables.
but im using bukkik dev 1.7.2 and when buying an item from a chest it trowns lots of errors and doesnt let you buy give you an error that says not enough money or space. but i had both. so for now i disabled the ashops and looking for a different one ultil they fix it. or i learn how to fix it.
@krisukun
I got it to work, I can place a chest and make a shop (Im Admin) but a normal user can create a shop and the shops that i make I cant buy from them I get an error not enough money or sapace and on my console a lot of java errors are apearing when i try to buy or a user tries to buy.
does this not work with Bukkit DEV1.7.2 ?
Is there one that allows users to create their own store?
Thanks guys for all your assistance.
I cant seem to get this to work?
database: username: bukkit isolation: SERIALIZABLE driver: org.sqlite.JDBC password: walrus url: jdbc:sqlite:{DIR}{NAME}.db
What do i have to change here besides username/password, anything?
@krisukun
I think my problem is with the path.. it cant find the database... i dont have 1.6.4. ill keep messing with the path thinngy.. LOL
Thanks for your config it helped me correct some path issue.. i'll let you know if it worked later.
@Buxieda
Can you test your configuration with bukkit 1.6.4? If it doesn't works, something is wrong with your configuration in bukkit.yml or mysql server.
I'm testing ashops on my computer and I'm using wamp too, to emulate mysql server. So, it should works.
My bukkit.yml config is: username: root isolation: SERIALIZABLE driver: com.mysql.jdbc.Driver password: test url: jdbc:mysql://localhost/test
This looks like a cool plugin, but I'd love to see the option of a dynamic prices that adjust slightly based on Supply and Demand.