BkShop  - Set location of player shops | Animated GUI | Custom teleport system icon

BkShop - Set location of player shops | Animated GUI | Custom teleport system -----

A plugin that lets your players set the location of their shops, with a GUI and teleport countdown.




Fixed a problem with the teleport that could either cause an error in the console or the player could be teleported to a random location instead of the intended destination.
----------, Sep 29, 2021

Added option to block shops in certain worlds.
----------, Sep 23, 2021

Fixes:
  • Fixed plugin not checking the permission for the command /bkshop reload
  • Possibly fixed an error that occurred when the destination of a teleport did not exist.
----------, Sep 18, 2021

- Fixed major bug with the menu system that could cause animations to duplicate when players switched menus, creating a lot of lag.
- Potentially fixed error when deleting shops.
----------, Aug 28, 2021

More fixes for this god awful version that simply decides to randomly break stuff. If you are not using 1.17, you don't need this update.
From my testing, the plugin is fully working now. But who knows what else this damn version is going to decide to break next...

- Fixed an error on startup when loading shops
- Removed "bkshop.setshop" permission check when the plugin starts, because for some reason in 1.17 permissions don't work when the plugin is starting..... Now the plugin will only check if the shop owner has the permission when they join the server.
----------, Aug 9, 2021

- Fixed double sound when the player teleports if they have an instant teleport
- Changed some sounds to better reflect their actions. (Changing pages, clicking, etc...)
- Added sounds to the "Previous Page" and "Next Page" buttons
- Added small easter-egg/secret to the main shop menu :)
- Finally fixed languages with non-alfabetical characters changing the messages to "?" in the language files. Because of this fix, now the plugin is able to include non-alphabetical character languages in the langs folder by default! Send your translations so i can include it in the next updates!
----------, Aug 8, 2021

- Added Hex/RGB color support.

- Chaged the loading of shop files to happen when the plugin starts to improve performance.

- Now players can't open or close their shop if they dont have the 'bkshop.setshop' permission.

- Now when the plugin starts it will check if the shop owners still have the 'bkshop.setshop' permission, and if they don't, the plugin can either delete or close the shop. You can change this behavior in the new options of the config.yml.

- Fixed head without skins blinking/quickly switching between Steve's and Alex's head in 1.16 and 1.17.

- Fixed lag/tps drop caused by loading heads skins. Now the plugin will request heads in an async thread.

- Added HeadManager for head caching. Now the plugin will save player heads to a file and only request skins it doesn't already have. This has greatly improved performance. In my tests i was able to create over 2000 shops with a total of 137 pages, and the plugin was still able to open the shops list almost instantly.
----------, Aug 4, 2021

Fixed the title showing the name of the player who teleported to the shop instead of the owner's name.
----------, Jul 30, 2021

- Now the plugin will check if the shop is corrupted before loading it. To ensure there are no problems, please delete the old shops that use the player names instead of their ID
- Fixed the shops list menu not displaying shops correctly
[​IMG]

- Fixed animated buttons briefly showing their unformated name when the menu opens. Example: {shine red bold}Close Shop instead of Close Shop
- Fixed blank message being sent when the player teleports to a shop in 1.8
- Fixed actionbar countdown being send to the chat instead of the actionbar in 1.8
- Now when you click a GUI button that has an action, that button will display its message in the lore instead of sending it to the chat
[​IMG]

- Button sounds have been re-added
----------, Jul 15, 2021

- Fixed plugin not starting if the "shops" folder did not exist
- Fixed cancel-on-move not working
- Fixed bkshop.countdown permission not working
----------, Jul 8, 2021

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
[​IMG]

- New actionbar display for the teleport countdown
[​IMG]

- 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...
----------, Jul 7, 2021

The way the plugin handles configs has been completly overhauled. Now all the configs are stored in the server's memory instead of reading the files everytime the configs needed to be used.
This will fix the memory leak bug that was causing server crashes and also make the plugin much faster and better optimized.

This fix will now allow the plugin to have a command to reload all configs and messages instead of having to reload the entire server to change something in the plugin.

The new reload command is /bkshopreload by default but can also be changed like all the other commands.
A new permission bkshop.reload has been added for the reload command.

New features and 1.17 support are coming in the version 3.0
----------, Jun 22, 2021

Fixed an error happening when using the tab completer

Major plugin rewrite to fix bugs and new features coming soon
----------, Jun 3, 2021

- Removed '1', '2', '3' being printed to the console
----------, Apr 30, 2021

Now the plugin loads all the messages in memory when it starts instead of reading the language file everytime it looked for a message. You should notice the plugin feels quite a bit snapier now.
Fixed a bug that made the plugin cause an insane amount of lag in timings report.
----------, Apr 13, 2021

- Fixed an error that occured when the tab completer was used
- Fixed an empty duplicate file being created
- Fixed an error when a player teleported to shops
----------, Apr 2, 2021

Changed the permission bkshop.cooldown to bkshop.countdown, so be sure to update it in your permission manager!

Now all the available language files will always be generated in the lang folder instead of only when you select it in the config. Be sure to submit your language in the Discord server so it can be included in the plugin!

Added a new invincibility feature. The player becomes invincible for an amount of seconds after a teleport:
- New option invulnerable-time added in config.yml, the default is set to 0
- New message invulnerable-remaining in the info section of the message files
- New message cant-attack-now in the error section of the message files

Fixed cancel-on-move option being a buggy mess:
- Now the teleport will only be cancelled if the player moves to a different block
- Now the player can jump and move the mouse without cancelling the teleport
- Fixed the option activating globally for all my plugins instead of only in the plugin you activated it in
----------, Mar 11, 2021

Fix an error that ocurred when the player had no teleport cooldown, causing the plugin to stop working.
----------, Feb 10, 2021

- Added new events for plugin developers.
  • PlayerSetShopEvent - Triggers when a player sets a shop. It contains the player that set the shop. Cancelling the event will cancel the shop creation.
  • PlayerDelShopEvent - Triggers when a player deletes a shop. It contains the player that deleted the shop and a config of the shop. The config contains information about the shop, such as location and visits. Cancelling the event will cancel the shop deletion.
  • PlayerBkTeleportCountStartEvent - Triggers when a teleport starts the countdown. It contains the player that started the teleport and how many seconds the countdown has. Cancelling the event will cancel the countdown.
  • PlayerBkTeleportEvent - Triggers when a player is about to be teleported. It contains the player and the location that the player will be teleported to. Cancelling the event will cancel the teleport.
----------, Feb 9, 2021

v2.4:
  • The Github repository is now public and the .jar is no longer obfuscated.

  • Added option to cancel the teleport when a player moves.
  • Fixed commands don't auto-complete even when the player has the correct permissions.
  • Fixed commands /shop and /shops don't check if the player has the permission for the command.
  • Now the commands /shop and /shops will not auto-complete when the player doesn't have the permission for the command.
----------, Dec 1, 2020

Optimized imports
----------, Nov 17, 2020

  • Completly rewritten the core of the plugin! Basically, now it is included so you don't have to download an extra plugin
  • Now you can translate or customize every message in the plugin, including the commands and names of menu items
    • You can add a new language by creating a new file in the "lang" folder, naming it something like "Spanish.yml", then changing the language in the config.yml to "Spanish"
  • Fixed many bugs and erros
  • Now admins can close or delete other people's shops
----------, Nov 16, 2020

The plugin previously didn't work on linux servers, this update hopefully patches the problem.
----------, Aug 28, 2020

The plugin previously didn't work on linux servers, this update hopefully patches the problem.
----------, Aug 28, 2020

Resource Information
Author:
----------
Total Downloads: 2,431
First Release: Jul 31, 2020
Last Update: Sep 29, 2021
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings