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.


-
View User Profile
-
Send Message
Posted May 28, 2013@_austin
Yes... but using pluginmanager, which you can unload, load, and reload plugins.
edit: after a restart, when typing /ashop and clicking on the chest, and a sign, it still says action aborted.
-
View User Profile
-
Send Message
Posted May 28, 2013@graveXrobber
Did you try to change versions when your server was on?
-
View User Profile
-
Send Message
Posted May 28, 2013Error, when enabling 0.5
http://pastie.org/7976667
-
View User Profile
-
Send Message
Posted May 27, 2013@_austin Alright, thanks! Keep up the good work. I think I speak for a lot of admins when I say this is the trade plugin we were waiting for.
-
View User Profile
-
Send Message
Posted May 27, 2013@mskdbklndr
This problem occurs for named items too. Current version of AShops use Bukkit API to compare two items (that's how they are matched) and it seems to work poorly. I'm working on a new version of AShops and it's going to be fixed. But it will take more than week, because I'm changing a lot of things in core of this plugin.
-
View User Profile
-
Send Message
Posted May 27, 2013Hi, first just want to say great plugin! It's just what I needed for my server.
I have run into a problem. I can't add enchanted books into offer stacks. I added an offer for a Fire Protection IV book and the first book went in fine, but when I tried to add my second book, I got the "No items to add." message in chat. I triple checked that they really were both Fire Protection IV, I tried moving the book into the hotbar and having it selected before opening the chest, but it won't let me add it to the stack. Is this a current limitation, or did I mess up the configuration somehow?
I'm using Vault with Essentials and PermissionsBukkit.
Ninja Edit: This seems to only be hit or miss; it just stacked two Flame I books without a problem, but still won't work with Fire Protection IV. It stacked 3 of my Knockback II books but one it wouldn't. Maybe it won't stack matching items that were crafted together from lower levels with those that came right off the enchantment table that way?
-
View User Profile
-
Send Message
Posted May 27, 2013@thezam
Okay! I'll fix it as soon as I can. - And fixed. I reuploaded 0.5. Thanks!
-
View User Profile
-
Send Message
Posted May 27, 2013I've been messing around with this plugin for the past few days and I've noticed one bug. I am using the MySQL backend for the plugin and when I set an item to a decimal price, it will work fine initially. However, the decimal price will not save in the MySQL database and reverts back to a price of "0" after every server restart.
When I checked the database right after I set the price of an item to ".5", the database showed "0" for that item. I'm not sure if this is just affecting the MySQL backend or if it is universal for all storage types. Regardless, it's a pretty large bug.
EDIT: I just tried making an item "1.5" to see what would happen. The database saved it as "1", so it looks like you're just dropping the decimal somewhere.
-
View User Profile
-
Send Message
Posted May 27, 2013@RedSlime7035
Did you get any errors? Remember that you must install Vault, any economy plugin and any permissions plugin.
-
View User Profile
-
Send Message
Posted May 26, 2013Hellow I'm a server host and I downloaded this plugin with essentials, essentials extra, godlike and Iconomy and the plugin doesn't load in to my server!! Please Help!! -A Server Host
-
View User Profile
-
Send Message
Posted May 26, 20130.5 with transaction notifications uploaded. (it's waiting for approval, but it's available to download from the AShops wiki)
-
View User Profile
-
Send Message
Posted May 24, 2013Important: Exclude fireworks (rocket and star) in the AShops config file. They corrupt shops data, when the plugin tries to save them to a file/db. It will be fixed in a new version, however you have to wait for it few days, because I'm working on many things in AShops.
-
View User Profile
-
Send Message
Posted May 24, 2013@xaixas
Check the console. You should get some errors.
-
View User Profile
-
Send Message
Posted May 24, 2013I've yet to have this work yet on the newest version of CraftBukkit, trying several times. It's in my plugins folder, and I've reloaded/restarted, but it doesn't even show up on the plugin list. Any advice on getting it to work at all?
-
View User Profile
-
Send Message
Posted May 24, 2013@Speedysnail6
Files are used by default.
-
View User Profile
-
Send Message
Posted May 23, 2013Actually, I might but I never configured anything. ANyways. just got new version.
-
View User Profile
-
Send Message
Posted May 23, 2013@_austin
I don't use a data file. Thank you. This has happened again... lol
-
View User Profile
-
Send Message
Posted May 23, 2013Okay, I uploaded 0.4. It's waiting for approval, but you can download it from AShops wiki.
-
View User Profile
-
Send Message
Posted May 23, 2013@Speedysnail6
Do you use a file as your shops data container? I'll publish today a new version that stores data in a file in more reliable way.
-
View User Profile
-
Send Message
Posted May 22, 2013@Speedysnail6
Umm... This is kind of embarrassing, but it fixed itself. How do you prevent this from happening again?