PrettySimpleShop icon

PrettySimpleShop -----

A pretty simple shop plugin. No signs required. Supports DoubleChests and claim protections!




I forgot to release updates for this half a year ago... Pushed an update to BukkitDev... it's still pending in BukkitDev for 8 days now. So whatever, here it is right now.

  • Don't inadvertently load chunks when checking if a chunk is loaded
  • Fix confirmation book not appearing (change happened back in 1.15)
  • Fix exception when buying the entire stock of a doublechest (integer division modified to be round-up)
  • bump API to 1.16 to support new 1.16 item types
----------, Dec 19, 2020

  • Delete shop on break feature revision: Spawn new item instead of trying to rename old item.
----------, Dec 17, 2019

  • Add option to clear shop name when shop block is broken (so it automatically reverts to a chest). Defaults off (current behavior).
  • Use a more precise method for determining the shop the player is looking at for the actionbar details feature.
----------, Nov 10, 2019

A couple of new features have appeared in this update!
  • Shops can now also be selected via right-click if the player doesn't have access to the shop (as if left-clicking the shop).
  • Buy prompt in chat will now always appear when clicking a shop (instead of having to double-click or click the message in chat). This is configurable if you wish to use the old double-click behavior.
  • Shop details appear in the actionbar when looking at a shop.
----------, Aug 6, 2019

If you're on 1.13 or earlier, just use 1.4.2. The only change here is to fix 1.14 compatibility.
  • Use bukkit player#openBook to open the transaction confirmation prompt (since the open book plugin message is now its own packet as of 1.14).
----------, Jun 22, 2019

If you like me you can support me c:

Somehow I never released 1.4.1. Guess I got busy.

Features:
  • /buy command printed in transaction confirmation book can be altered in case you've aliased /buy to do something else on your server
  • Default /shop command revised to be more thorough about buying and selling. Delete the "shopCommand" line in your config to get the new default text, if you want it.
Fixes:
  • Correct missed Container cast (affects only non-chest shops)
  • Replace reset color char to black to mitigate a spigot json conversion "bug" (SPIGOT-4441)
  • Try-catch a spigot bug that throws an NPE when attempting to check a custom inventory's location.
----------, Mar 2, 2019

  • Fix NPE on player interactions with air (apparently this causes event#getClickedBlock to be null)
  • Added a new shopBlocks stringlist to the config section
    • Any block that is a Nameable Container can be a shop. The defaults add Chest, Trapped Chest, and all shulker box colors to shopBlocks.
    • You can add other blocks such as Furnaces, Droppers, etc. if you so desire. Or remove some of the ones specified above. Just be aware that this only works with blocks that can be named and are a container.
----------, Oct 18, 2018

  • Clear /setprice if a player happens to forget or inadvertantly uses the command and didn't cancel it.
    • Also updated default message to state they can run /setprice again to cancel the setprice procedure.
  • Fix sending hoverable messages in spigot.
  • Properly delete display item if a chest is broken and is currently displaying the shop item.
  • Delete duplicate display items when a shop chest is converted into a doublechest.
  • Fix a NPE when a player attempts to buy from a shop that's been broken or otherwise removed.
----------, Oct 16, 2018

Fix NoClassDefError due to a shaded artifact not shading because they also changed their namespace slightly when changing maven repos...
----------, Oct 14, 2018

  • Fixes a NPE that occurs when using /setprice on an unnamed chest
Apparently one of you is using this on 1.8? It works on there???
----------, Oct 14, 2018

1.3.1 (since I forgot to release it here apparently):
  • Now any chest can become a shop. If there's a demand to restrict shops to only be those that are named "shop" or whatever you have specified in config, I'll see if I can re-add this. That being said, any chests that are named "shop" will still encourage the user to sell stuff in it, if that's how you're making users aware of creating shops.
    • The primary reasoning behind this change is to make it even easier for players to create a shop - it removes the whole anvil-renaming step, in case some players aren't familiar with that.
  • Fixed an issue where if the economy symbol was a dollar sign ($), it would be interpreted as a regex symbol. (I use a different symbol, and I'm surprised nobody else found this sooner..?)
1.3.2:
  • Plugin now fully loads after all plugins have loaded, making PrettySimpleShop fully compatible with all (vault-based) economy plugins.
----------, Oct 13, 2018

Updated BookUtil dependency to a 1.13-compatible version. Transaction confirmations should now work on 1.13 servers.
----------, Sep 3, 2018

This build should be mostly compatible with 1.13 and fully compatible with 1.12.2.

  • Gracefully disables transaction confirmations if the included BookUtil is out of date. (i.e., 1.13 servers at the moment won't have the transaction confirmation feature until a future release).
  • Fixes displayed items not being removed for doublechest shops that cross a chunk border.
  • Some other typos and stuff I made in non-released versions (been working off and on this for a few months despite no releases, primarily fixing little issues.)
----------, Aug 19, 2018

In this release:
  • Fixed a bug where a transaction involving a quantity greater than one would only deliver one item to the player, if the `showOffItems` was enabled in the config.
Sorry GameFreakBaree, this download is also hosted on CurseForge's servers : p
----------, Mar 28, 2018

  • /shop is now configurable, along with a default message to instruct how a player may setup a shop (with default settings).
  • Instead of depositing items directly in the player's inventory, an inventory (internally called the "collection window) appears where the player can pick out the items they bought. This also more clearly shows a player what and how much they bought.
    • This also removes the issue of items stacking when they're not supposed to/exceeding their normal stack size.
  • The plugin will "prompt" the player to buy from a shop if they select the same shop twice, or click the shop in their chat. The player then can simply type the quantity they wish to buy, instead of being explicitly told to use the /buy command.
    • (I tried to use more specific input methods, such as an anvil, but this was too klutzy.)
    • This is configurable: useBuyPrompt
  • The player is prompted with a book UI showing them a preview of the transaction invoice, allowing them to view the total cost, item details (when hovering over the item name), and to confirm or deny the transaction.
    • This is configurable: confirmTransactions
  • Messages added for all of the new features added.
API:

  • ShopSelectEvent has a new variable for "hasIntent" to designate if this shop was already selected by the player before (i.e. likely is interested in buying)
Implementation:

  • Showcased items will not be able to be picked up by hoppers.
----------, Mar 28, 2018

Resource Information
Author:
----------
Total Downloads: 2,607
First Release: Feb 26, 2018
Last Update: Dec 19, 2020
Category: ---------------
All-Time Rating:
10 ratings
Find more info at dev.bukkit.org...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings