Plugin completly rewritten, please make a backup of your BkShop folder before updating
Make a backup before updating, a few messages have been changed and their previous versions will be deleted from your language file.
I work very hard to provide a high quality plugin completly for free, if you want to support me, please consider making a donation here:
https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=EQY6ZNTDL6GMS&source=url
The plugin has been almost entirely rewritten, but only a few things changed on the user side of things:
- Added support for 1.17.x
- The plugin now stores the shop with the player UUID instead of their names.
- New animation for GUI buttons
- New actionbar display for the teleport countdown
- Added config option to disable the sound of the teleport countdown
- Added option to disable the Title of the teleport countdown
- Added option to disable the actionbar countdown display
- New PlaceholderAPI support:
- - %bkshop_visits% | Returns the amount of visits the shop has
- - %bkshop_open% | Returns whether the shop is open or not
- - %bkshop_public% | Returns whether the visits are public or not
- - %bkshop_last-visitor% | Returns the name of the last visitor
- You can now add placeholders from other plugins on any message of this plugin
- Added buttons to return to the previous menu for every page of the GUI
Fixes:
- The sounds of the GUI have been temporarily removed, i'll add them back later
- Now the menu will stay open when you click on a button that has an action (Example: closing the shop)
- Now the shop will keep it's message and color when a player sets his shop again
- Now the shop owner will not increase the amount of visits of his own shop
- Now the shop owner can teleport to the shop even if it is closed
- Now the shop owner will be shown the options menu when they click their own shop in the shops list
- The shop list now updates instantly when a change is made to any shop
Other plugins can now easily interact with this plugin by using the new API:
Code (Java):
Shop shop
= BkShop.
getInstance
(
).
getShopManager
(
).
getShop
(player.
getUniqueID
(
)
)
shop.
getVisits
(
)
shop.
closeShop
(
)
shop.
teleportToShop
(player
)
and many more...