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.
@krisukun
How did you get it to work?
it wont work for me does it work with bukkit dev version for 1.7.2? I cant get it to connect to the database might be wrong. here is what is in bukkit.yml
database: username: Ashops isolation: SERIALIZABLE driver: com.mysql.jdbc.Driver password: sopaholic url: jdbc:mysql://localhost/ashops
my database is on the same system therefore it is localhost username has uppercase A and the database is named the same as the user with full rights to everything.
server is on Windows with WAMP running mysql 5.5.24
Please advise thank you
@darkmattrix
I'll test it today with 1.7.2
/edit
everything seems to works great. No errors in console, it's possible to create shop and buy/sell everything. Also, it seems that new items from 1.7.2 are accepted by plugin.
This Plugin dosen't work with 1.7.2 or the Craftbukkit Version can't use this Plugin
@ravand
I didn't know about this LWC command - good to know for future.
At the moment ashop don't have this kind of command sadly. I'll try my best to rush austin to update this plugin soon to add new features and fix some bugs. I'm not java dev and even I want to add something - I just can't ;/
@krisukun
The problem is that way it wouldnt be automatic anymore and admins/mods would have to manually take care of every shop on the trading area. I know that LWC had a /lwc admin tidyup command to check if all the signs are still present, if not it would delete the entry of the lwc protection. If this plugin had a similiar command i would make it run every minute on the server
@sawineMT
Unfortunately, I can't help you with this problem, I don't know what is causing that...
Waiting for Austin response.
@ravand
It's big problem, but I don't know how it is hard to implement this kind of feature. For example, the same thing you can expect when you destroy object secured by LWC via WorldEdit tools. After 2-3 years this issue is still present in WE/LWC - maybe it's very hard to implement, or just it's laziness of plugin authors. I suggest to destroy shops without WE at this time. Even austin is going to add new features to Ashops sometime, it problably not happen soon...
Can you make a feature/option that destroys the shop when the sign and the chest has been removed by Worldedit for example?
This is really important for our server because we have a trading place where people can rent trading posts for a few days, if the time has expired it resets the area to its initial state. But if someone else had a shop there and the trading post get reset, the shop is still there and whoever creates a shop at the same positon where the previous shop was, it doesn't become a new shop, it will display the old shop from the previous renter.
This error occurs randomly to some items placed in the player shops: http://pastebin.com/raw.php?i=0xBh8YRg
From the report I've been explained, this happens when a player makes a shop and the items stored in somehow don't get taken from his inventory but still appear present in the shop. He tried to remake the same shop at the same place and the same issue ocured.
There also seems to be a problem with players with 16 characters names. They make a shop, it works fine, but when they relog they lose their access to the shop.
Thanks for looking into it.
Regards sawine
@Redstoner_Pro
Unfortunately, ashops 2.X isn't properly documented here, and it's sometimes hard to find some of the important options.
If I find some time I'll try to write some documentation... Or ask austin if he can do that.
Major flaw that I've seen - You cannot edit/remove a single item in the shop. It seems you must remove and completely remake the shop. This is a major pain with our main shop we have setup that is almost a completely full chest. There should be a way to do this somehow.
Edit- NM I found it..
@MinecraftManBukkit
Do you have any economy plugin too? It's also requied. If you have essentials plugin you no need to install eceonomy plugin, essentials has his own economy system, but another plugins are much better.
After you place sign with :as: nothing happen? :as: should change to "Ashops" and your nick below.
@krisukun But when i type :as: nothing pops up it litterally does nothing but in the plugins section it says AShops and it shows the command when i do /help Ashops
@krisukun
Omg IM SO STUPID xD i needed vault lol
@MinecraftManBukkit
It shouldn't make difference at all, I had mysql on VPS many times and on another remote server only for mysql and always everything was ok.
Can you try another plugin with MySQL? For example LogBlock, HawkEye etc.
Also, you can try to make for a while another directory on your server with regular bukkit inside and try to setup ashops here. If it doesn't work, then something may be wrong with your mysql configuration.
And i was wondering i have a payed host so does that make a difference i use Multicraft Control Panel Online
@krisukun
Well i copied your Bukkit.yml Database without the Username and password and it will not work :(
@MinecraftManBukkit
I'll try to setup ashops with latest mcpc+ on my computer and if I find a easy way to setup this plugin then I will post tutorial here.
/edit
I don't understand where you guys have problems with mcpc - I simply configured bukkit.yml with "installation" guide and everything wotks.
Screens:
http://scr.hu/1rn0/lwll6 http://scr.hu/1rn0/t0mpr
bukkit.yml from my mcpc server:
http://scr.hu/1rn0/yo7vf
And PHPmyAdmin screen (I have polish version, but everything related to ashops is here):
http://scr.hu/1rn0/avx3l
Check your configuration in bukkit.yml, something is wrong here. Or try to update to newsest mcpc+.
It's annoying that i can't get it work with MCPC Plus with Craftbukkit :( it's usch a good plugin for my Pixelmon server
@DrfeelGoodd
Please do a youtube tut or tell me how i didn't understand your last post.
hey guys
i'm having some problems with the plugin...
I managed to do the instalation part correctly, db included :P
but when i'm in game it keeps saying that "I'm not allowed to do that"
i'm using the last version of mcpc with pex and i've tried adding the pretty much every creating permission but none worked...
I've even deleted almost all the plugins leaving only pex, iconomy, ashops and vault
also when i do the command "/ashops" i get the message
/ashops - lists all commands
---
it doesnt appear any other command
Edit: well then... i deleted pex and copied the exact same permission file and it worked...
@DrFeelGoodd
Hey thanks for the post, I'm using MCPC+ as well and couldn't get aShops to work which is a huge bummer considering it's easily the best shops plugin out there. Gonna give this a shot and hopefully not screw it up with my lack of MySQL knowledge :)