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.
@Pixiyo
I'm sorry, I don't know Java and I can't do that :( I'm only tester and helper here.
About 3.0, I don't really know, when it'll be ready. Maybe some weeks, maybe 1-2 months... Hard to say, Austin didn't say anything about release time.
I only have some leaks about new version, but I don't have permission to post them here :P For sure will be flat file storage again.
@krisukun
Could you make a mysql setting in the config too? I like MYSQL but i'm on a existing server and i can't use this because i'm afraid i will lose data from the bukkit database if i move to MYSQL, right?
When is 3.0 ready? ;)
Thanks
@Pixiyo
I personally don't like this feature too, but it was Austin decision to create database function by Bukkit tools. I didn't see any plugin that using this feature... Version 3.0 should be much easier to do and bring back flat file storage.
@Serial1990
You still have sqlite here, instead of MySQL. You must change:
driver: org.sqlite.JDBC
to:
driver: com.mysql.jdbc.Driver
@krisukun
database: username: ** isolation: SERIALIZABLE driver: org.sqlite.JDBC password: ** url: jdbc:mysql://localhost/AShop
I don't want my whole bukkit to run on MYSQL. Could you please make a mysql setting in the config like every other plugin does?
@RoelandCache
It was probably easier to do by single chest, less of code + bukkit API bugs/limitations.
@Serial1990
Which version of CraftBukkit (or spigot/mcpc+ etc) you have?
Did you properly set MySQL properties in bukkit.yml?
i have follow Error when i create a Sign with :as: or :ass:
http:pastebin.com/uvmgnxTL#
After looking at the code it appears it just allows you to have more in a stack and doesn't actually give you a bigger chest to put more unique items in, like when doing a Server Shop. I would like to have just a few chests that have ALL sellable items in it vs a bunch of chests to do the same thing. Granted, still better than the old sign method of other plugins, but having larger chests (even double chest size) would be so much better (although bigger than that would be nice too).
@wydgabriel
Version 2.X probably won't work with 1.5.2. You can try, but I can't promise if this works.
@mcbobby123
It's compatilible with any economy plugin, that Vault supports. Install Vault plugin and try again (if you don't have it).
Yes, it works with 1.6.4.
Did you properly configured MySQL database?
@RoelandCache
I will tell Austin about this issues. Thanks for info :)
@RoelandCache
It's work for Austin, I don't know how to help with this issue.
I can't seem to get the capacity value to change. I can change it and /areload and even restart the server, but the capacity of the chest remains at 1, even though the config file shows 4. I have tried 2 and 3, with no luck.
But overall, it seems to be working. :)
Does it work on Spigot?Ok, I worked it out.
In Polish, instead of"Kup przedmiot'' is "Kub przedmiot'', and "Manadżer'' - there is no such word, should be "Menedżer''.. I know that the main language is English, but... "(...)Polacy nie gęsi, (...) swój język mają.''.
does this work with 1.6.4 yet its not working on my server or is it not compatible with iconomy ??????
There's some way to work with 1.5.2?
Thanks
@kbgvirus
Google 'free mysql database'.
I started to work on AShops 3. It will support flat files.
@_austin
Any suggestions where i can get a free one from?
@kbgvirus
You need a MySQL database.
Hi do I need to create a external sql database to install or can i just copy paste the exact sql details given in the how to install
@_austin
Fixed.
It seems as though AShops will allow me to create an offer for a dyed piece of leather armor, but when I attempt to load the item to the shop, clicking on the dyed armor doesn't properly bring up the option window to allow me to load it. Every other item I've tried has worked without issue. Is there a fix for this?
Thanks very much - love the plugin!
@Telemnor
It's not on the dependency list, because it would be confusing if I add all Vault-compatible economy plugins to it.