FAQ

Common problems and solutions

ChestShop lags!

No, it doesn't. Your economy plugin was coded in such a way that it lags the server when someone tries to make a transaction.

ChestShop has built-in anti-lag measures, though. In the config, you can see "SHOP_INTERACTION_INTERVAL". It's set to 1/10th of the second by default, however if your server can't process transactions that often, change it to, for example, 0.5 second - that means that you need to set it to "500".

If that doesn't work, try turning off processor-heavy options - mainly "LOG_TO_DATABASE" and "GENERATE_STATISTICS_PAGE", but also "LOG_TO_CONSOLE" - Java's logging is slow, it might be the culprit in your case.

After creating a shop sign it does nothing, not even display a message in the chat

You are probably using a Mac. If that's the case, Apple's included a weird version of Java in Mac OS X since Mavericks - it adds "garbage", invisible unicode characters to the sign. Some people reported having success installing Oracle's Java, but you can also press backspace a few times before writing on every line of the sign.

I can buy/sell but I cannot sell/buy

Make sure that you're not right-clicking the sign and holding a block in your hand. Due to the way Minecraft has changed, it no longer sends packets when trying to place blocks in impossible places (since you're pressing the block against the sign, you're standing in its way).

Also, spawn protection might prevent you from left-clicking signs, in this case, either move the shop out of the spawn or disable spawn protection.

When I try to create a shop it says "You can't create this type of shop!"

You need to set up your permissions correctly.

(You need ChestShop.shop.create permission, you can also give your players ChestShop.shop.* permission that allows them to buy, sell things and create shops)

Why does the plugin say "Shop out of stock" even if it's not?

Check if the item you are selling is equal to the item on sign. Do /iteminfo to find out the id.

Why can my players buy/sell/create shops even if they lack the necessary permissions?

Well, it's a superperms (system that Bukkit uses) feature - those are default permissions. You need to negate them (refer to your perm plugin's documentation)

If PEX: "-ChestShop.shop.create.*"

If bPermissions: "^ChestShop.shop.create"

(without quotation marks)

Alternatively, you can open ChestShop.jar with WinRAR/7Zip (or any other .zip opening program), open plugin.yml and change ALL "default: true" to "default: op"

Why does it say "You can't buy/sell here"?

Well, it basically means that the shop owner doesn't want you to buy/sell here.

However, if you know it's in error, that means that the sign's prices line (3rd line) is wrong.

It should look somewhat like: (of course, that's not the all possible combinations)

B 5

S 5

B 5:5 S