- Common problems and solutions
- After successfully creating a shop trading isn't possible!
- ChestShop lags!
- After creating a shop sign it does nothing, not even display a message in the chat
- I can buy/sell but I cannot sell/buy
- When I try to create a shop it says "You can't create this type of shop!"
- Why does the plugin say "Shop out of stock" even if it's not?
- Why can my players buy/sell/create shops even if they lack the necessary permissions?
- Why does it say "You can't buy/sell here"?
Common problems and solutions(top)
After successfully creating a shop trading isn't possible!(top)
First please make sure that your Shop isn't inside the spawn protection or inside another region where the player can't access signs/shops. (E.g. WorldGuard or GriefPrevention, you'll have to read these plugin's documentation for figuring out how to give access)
Another issue could be that you are trying to trade with a shop that you have access to, either because you are the owner or because you have the permissions to access the shop content which OPs are granted by default. If you want people who have access to shops to still trade with them then you can disable IGNORE_ACCESS_PERMS in your config.
Also make sure that you are not in Creative mode, by default players with in Creative mode will not be able to trade with shops. Disable IGNORE_CREATIVE_MODE in your config if you want to allow them to trade with shops.
Adventure mode makes problems with sign interaction too (the client doesn't send interact packets to the server for these) so unfortunately Adventure mode isn't supported at all at this time.
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(top)
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(top)
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!"(top)
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?(top)
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?(top)
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 LuckPerms: "perms set ChestShop.shop.create.* false"
- If PEX: "-ChestShop.shop.create.*"
- If bPermissions: "^ChestShop.shop.create"
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"?(top)
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:5 S