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.
@SatoAV
This script is generated by bukkit's tool.
Please add AUTO_INCREMENT in field 'id' to your MySQL tables creation script. Without that people get these weird errors.
@ldw0790
Can you post full error log? It looks like only a small part of this error.
I really don't know what caused this error... I see this one first time. Check your MySQL configuration and MySQL connection.
@ldw0790
It's not a bad idea, but we (probably) need an author permission to put this tutorial to the plugin description. Austin should ask/decide, I don't have permissions to edit pages here.
Hey development guys! please add this video to this description
http://www.youtube.com/watch?v=Krl56VjH0y0
WARN! IT ISN'T MY VIDEO.
it will useful for starter.
20:36:06 [INFO] DataSourcePool [AShops] autoCommit[false] transIsolation[SERIALI ZABLE] min[2] max[20] 20:36:09 [SEVERE] FATAL: DataSourcePool [AShops] is down!!! 20:36:09 [INFO] Reseting DataSourcePool [AShops] min:2 max:20 free:0 busy:0 wait ing:0 highWaterMark:0 waitCount:0 hitCount:0 20:36:09 [INFO] Busy Connections:
How can i fix this problem?
Hey, Guys! I'm working on version 3.0. Main goals: light, safe and easy in use.
@erisawesome
Check your MySQL configuration (look at "how to install this plugin?" section), and make sure you have Vault plugin + any economy plugin.
AShops not generating a config. Please help!
@krisukun
Im dumb lol, it suddenly works :OO after a couple of restarts, or the mysql needed soem time to really activate.
@jozefmery
I'm not a MySQL expert and I don't know how to help in this case. It should works... But I don't know why it not works.
Do you have "Vault" plugin installed and any economy plugin?
Edit:
So I discovered that MySQL is a free feature to the server where i have it hosted.
So I activated it and i got some stuff: dbserver: localhost dbname: example
dbuser: example 1 dbpass: asd123
Can you please help me to fill these into this ? Obviously the password is no problem, and i didnt write exact values, I will fill those just help me where. Thank you
username: userName isolation: SERIALIZABLE driver: com.mysql.jdbc.Driver password: databasePassword url: jdbc:mysql://hostName/databaseName FORGET WHAT IS IN EDIT 1
Edit #2: Ok so I asked a staff member what to put where and it looks like this:, but still doesnt work and it doesnt create a config file, and console gives same or similiar error, and obviously the password is correctly set there, not stars. Please help
database: username: 142917_mysql_db isolation: SERIALIZABLE driver: com.mysql.jdbc.Driver password: ** url: jdbc:mysql://localhost/142917_mysql_db
@jozefmery
First off you need a mysql database then go to the bukkit.yml and put in these details
and don't put the < >< stuff that's just so I don't confuse you
@tremby90
Can you post these errors/exceptions here?
@ramin654
Use also ashops.unlimited and try again. Also, remove your ashops config and let plugin to generate new one.
thiplugin was working find for me for ages now all of a sudden im getting exception warngs and players can take items from the shops and it doesn't charge them money
my players cant make any shops, it says you cant make anymore shops, how do i fix it? they have the following perms: ashops.playershop, ashops.player, OPs CAN make shops, so i must be missing some perm?
ive got a problem, my players arent able to create shops, it says they have too many shops, when they havnet made any. i gave them the perms ashop.player, as well as ashop.playershop but how can i set the number of shops they can make or something, OPs and admins, CAN make shops, that measn i must be missing some perm?
@Pixiyo
I want to know it too... At the moment - no confirmed info about his come back here. I'm trying to rush him with new ashops versions, but it's useless.
haha i'ma noob but i got it goin finally. GG thanks for the plugin
@krisukun
Is Austin coming back someday? :)
@MySt1k
This plugin still works with 1.7.4 bukkit/spigot.
Look at the "How to install this plugin?" section and set mysql instead of sqlite.