Skip to content

Releases: Sven65/Slabbo

Dupe Fix

06 Oct 06:22
02f2e59
Compare
Choose a tag to compare

Fixes

  • Fix a dupe issue

Barriers!

26 Aug 15:39
Compare
Choose a tag to compare

Added

  • Added TL key general.general.unknown-user
  • Added support for having no items hover
  • Add support for using barriers as shops

Fixes

  • Fix issue with shops from unknown users not opening
  • Fix issue with importing ushops shops selling air

1.16.2 Support

13 Aug 08:22
Compare
Choose a tag to compare

Slabbo now supports 1.16.2, and the ability to set the shop item display type to single

Input Fixes!

10 Aug 10:37
Compare
Choose a tag to compare

This is a quick bug fix for conflicts with some commands that makes it impossible to create a shop due to the "That's not a number" error.

Shop lists and Commands!

04 Aug 05:50
Compare
Choose a tag to compare

This release sees the introduction of /slabbo list and /slabbo shopcommands, allowing you to list the shops on the server, and add commands to be ran on a successful transaction, respectively.

Added

Commands

  • /slabbo list all [page]

  • /slabbo list all radius <radius> [page]

  • /slabbo list mine [page]

  • /slabbo list mine radius <radius> [page]

  • /slabbo shopcommands add buy

  • /slabbo shopcommands add sell

  • /slabbo shopcommands remove buy

  • /slabbo shopcommands remove sell

  • /slabbo shopcommands list buy

  • /slabbo shopcommands list sell

Permissions

  • slabbo.list.all

  • slabbo.list.self

  • slabbo.shopcommands.edit.self.buy

  • slabbo.shopcommands.edit.others.buy

  • slabbo.shopcommands.edit.self.sell

  • slabbo.shopcommands.edit.others.sell

  • slabbo.shopcommands.list.self.buy

  • slabbo.shopcommands.list.others.buy

  • slabbo.shopcommands.list.self.sell

  • slabbo.shopcommands.list.others.sell

TL Keys

  • error-message.general.no-command-entered
  • error-message.general.no-buy-commands-in-shop
  • error-message.general.no-sell-commands-in-shop
  • error-message.general.invalid-index
  • success-message.general.shop-commands.added-command
  • success-message.general.shop-commands.removed-command
  • general.general.next-page
  • general-general.previous-page

Changed

Permissions

  • Changed slabbo.destroy to slabbo.destroy.self

Fixed

  • Fixed a bug where Slabbo would say that a user had hit their creation limit even though they hadn't.
  • Fixed a bug where users couldn't open the deletion gui with a stick

WG Fixes

27 Jul 14:42
Compare
Choose a tag to compare

Fixed

  • Fix bug with NPE in EntityPickupItemEvent
  • Fix #9 (Users couldn't open shops in their own claims)

Added

  • Add WorldGuard flags slabbo-others-create-shops and slabbo-others-use-shops

Limited stock shops!

27 Jul 05:46
Compare
Choose a tag to compare

Added

  • Added support for upside down stairs with a config variable
  • Added limited stock admin shops
  • Added support for restocking by punching shops to restock
    • Shift punch to restock with all matching items in inventory
    • Both are settable through the config
  • Add translation keys
    • error-message.general.not-admin-shop
    • success-message.general.limited-stock.create
    • success-message.general.limited-stock.destroy
    • success-message.general.limited-stock.set-buy-stock
    • success-message.general.limited-stock.set-sell-stock
    • gui.items.info.limit.sell-stock
    • gui.items.info.limit.buy-stock
    • gui.items.info.limit.restock-time
    • gui.items.info.limit.next-restock
    • general.general.limited-stock.sell-stock-left
    • general.general.limited-stock.buy-stock-left
  • Add permission nodes
    • slabbo.admin.toggle
    • slabbo.admin.*
    • slabbo.admin.limit.toggle
    • slabbo.admin.limit.*
    • slabbo.admin.limit.toggle
    • slabbo.admin.limit.stock
    • slabbo.admin.limit.time
    • slabbo.admin.limit.stock.sell
    • slabbo.admin.limit.stock.buy
  • Add commands
    • /slabbo admin
    • /slabbo admin toggle
    • /slabbo admin limit
    • /slabbo admin limit toggle
    • /slabbo admin limit stock buy
    • /slabbo admin limit stock sell
    • /slabbo admin limit time

Fixed

  • Fixed a bug where EntityPickupItemEvent couldn't be passed to Slabbo due to a NullPointerException

Changed

  • Changed the layout of the config.yml file
  • Changed /slabbo toggleadmin to /slabbo admin toggle

Backporting!

25 Jul 16:13
Compare
Choose a tag to compare

Now supports 1.8 to 1.16!

Added:

  • Added sellers note
  • Add /slabbo modify note
  • Add permissions slabbo.modify.self.note and slabbo.modify.others.note
  • Add TL keys success-message.modify.note-set and error-message.modify.invalid-note
  • Add TL Key general.general.item

Mo' commands!

21 Jul 08:30
Compare
Choose a tag to compare

Added

  • Added a function for Slabbo to save shops when being disabled

  • Add command to set the owner of a shop (/slabbo modify stock)

  • Add command to change the owner of a shop (/slabbo modify owner)

  • Add command to save shops (/slabbo save)

  • Add permissions for setting the owner of a shop (slabbo.modify.admin.owner)

  • Add permissions for setting the stock of a shop (slabbo.modify.admin.stock)

  • Add permissions for using the save command (slabbo.save)

  • Add language key for when a user enters an invalid number (error-message.modify.not-a-valid-number)

  • Add language key for successfully changing the shop owner (success-message.modify.owner-set)

  • Add language key for successfully changing the shop stock (success-message.modify.stock-set)

  • Add language key for successfully saving the shops (success-message.general.shops-saved)

  • Added support for WorldGuard and GriefPrevention

  • Added language key for currency formatting (general.currency-format)

Fixed

  • Fixed error where /slabbo reload wouldn't remove all previous display items
  • Fixed error where editing a shop would sometimes leave old item displays
  • Fix bug where InventoryMoveEvent sometimes couldn't be passed to Slabbo
  • Fix bug where users could create shops in WorldGuard regions without build permission

Fixes, fixes and fixes

19 Jul 12:10
Compare
Choose a tag to compare

Fixed

  • Fix a bug where certain users couldn't start the plugin to an issue with vault
  • Fix bug where users could still buy items even if their inventories were full
  • Make it so that a user can't buy from shop if available inventory space is less than shop quantity
  • Remove that spooky ghost that would make items float away on top slabs

Added

  • Added new config variable for how to display hoveritems (itemdisplay)
    • Set it to either Quantity (The amount the shop sells) or Full (A full stack of 64 items)
  • Added a new language node for when a user doesn't have enough inventory space to buy from a shop