Releases: Sven65/Slabbo
Dupe Fix
Barriers!
1.16.2 Support
Slabbo now supports 1.16.2, and the ability to set the shop item display type to single
Input Fixes!
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!
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
toslabbo.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
Limited stock shops!
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 aNullPointerException
Changed
- Changed the layout of the config.yml file
- Changed
/slabbo toggleadmin
to/slabbo admin toggle
Backporting!
Now supports 1.8 to 1.16!
Added:
- Added sellers note
- Add
/slabbo modify note
- Add permissions
slabbo.modify.self.note
andslabbo.modify.others.note
- Add TL keys
success-message.modify.note-set
anderror-message.modify.invalid-note
- Add TL Key
general.general.item
Mo' commands!
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
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) orFull
(A full stack of 64 items)
- Set it to either
- Added a new language node for when a user doesn't have enough inventory space to buy from a shop