[BSB] Better Shulker Boxes [1.13-1.19.2] icon

[BSB] Better Shulker Boxes [1.13-1.19.2] -----

More features for shulker boxes




## Changes in version 4.1.1:
- Fixed duplication glitch (issue #55) reported by !Aum#5663


If you are running a vulnerable version of Better Shulker Boxes, the plugin should have been disabled automatically unless you configured it not to do it. Regardless, it is highly advised to update as soon as possible
----------, Apr 2, 2023

IMPORTANT NOTICE: Better Shulker Boxes >=4.1.0 requires Java 17 or higher!

## Changes in version 4.1.0:
- Added World Guard hook, you can now set a list regions to act as a whitelist or blacklist (thanks to @KaspianDev on GitHub)
- Fixed issue where cooldown message would sometimes crash the server
- Players can now open a shulkerbox from their inventory even if they have another one open
----------, Sep 11, 2022

## Changes in version 4.0.1:
- Fixed a small issue with dupe protection in which the plugin would say it did not disable it's features even if it did
----------, Sep 8, 2022

Changes in version 4.0.0:
- Fixed duplication glitch - #33
- Added chestsort support (automatic inventory sorting plugin) - #20
- Added support for hex colors - #21
- Refactored the configuration system - #13
----------, Sep 7, 2022

## Changes in version 3.2.0:
- Fixed duplication glitch (#28)
- Fixed visual glitch (#22)
- Added base code for upcoming features #21, #20, #13

JAR Also available on GitHub
----------, Sep 2, 2022

## Changes in version 3.1.3:
- Added vulnerable version detection (resolves #11)
JAR Also available on [GitHub]( https://github.com/lMartin3/BetterShulkerBoxesRewritten/releases/tag/3.1.3)
----------, Mar 20, 2022

## Changes in version 3.1.2:
- Added option to disable movement checks (#6)
- Fixed #7
JAR Also available on [GitHub]( https://github.com/lMartin3/BetterShulkerBoxesRewritten/releases/tag/3.1.2)
----------, Mar 19, 2022

Changes in version 3.1.1:
  • Fixed duplication glitch (#2)
----------, Mar 11, 2022

Changes in version 3.1.0:
  • Improved code quality a bit
  • Made it so the configuration system would actually delete the old configuration file (vers. prior to 3.0.0)
----------, Mar 6, 2022

I completely rewrote the plugin, basically changing completely how the plugin works. For more information please visit the GitHub repository.
----------, Mar 6, 2022

Changes in version 2.14.5:
  • Fixed "invalid plugin.yml"
----------, Aug 29, 2020

Changes in version 2.14.4:
  • Fixed a bug that caused the inventory name to be empty when using a color +%itemname% in the config
----------, Aug 29, 2020

Changes in version 2.14.3:
  • Fixed a duplication bug that was done with a mod. I'm not going to be very specific about how this worked as it could compromise servers running with older versions, for details message me on discord.
----------, Jul 31, 2020

Changes in version 2.14.2:
  • Fixed a duplication bug that only occurs in old 1.15 builds of paper. For some reason, in old builds of paper, the inventory close event is not called when a player goes through a portal, this allowed players to throw themselves to an end portal from certain height, opening the shulker box and throwing items mid-air, when teleporting to the end, they shulkerbox would close without saving the changes, essentialy duplicating the items.
----------, Jul 30, 2020

Changes in version 2.14.1:
  • Fixed an error that would occur when the plugin loaded if world guard was present.
----------, Jul 26, 2020

Changes in version 2.14.0:
  • Added World Guard support (flag allow-bsb can be set to false to prevent players from opening shulker boxes in regions, it is true by default). For now, WorldGuard is only supported while using spigot 1.13 or later.
  • Fixed bugs that only occurred in 1.12.2.
----------, Jul 24, 2020

Changes in this version:
  • Fixed a duping bug caused when using certain inventory-related plugins (found by nicuch on github).
----------, Apr 24, 2020

Changes in version 2.13.0:
  • Fixed a bug where right-click inside an enderchest wouldn't work with the last slot
----------, Mar 14, 2020

Changes in version 2.12.0:
  • Added Spigot and Paperspigot 1.12 support
  • Updated plugin metrics
----------, Feb 24, 2020

Changes in version 2.11.0:
  • Fixed a bug where opening shulker boxes from an enderchest would cause other shulker boxes with the same name and color in the container's inventory to dissapear.
----------, Feb 23, 2020

Changes in version 2.10.0:
  • Now you can open shulker boxes inside chests by right-clicking them.
  • Added option 'enable_rclick_chest_open' in 'config.yml' to enable/disable this feature.
----------, Jan 28, 2020

Changes in version 2.9.0:
  • Fixed a dupe bug that occurred when a player opened a (block) shulker box while holding a shulkerbox in hand with the same name and color.
  • Commented the code a bit.
----------, Jan 5, 2020

Changes in version 2.8.0:
  • Now using /bsb check will also display a list of changes if a new version is found.
  • Now the plugin will display a warning if it's used in servers running in unsupported versions (1.12 and lower).
----------, Dec 22, 2019

Changes in version 2.7.0:
  • Players can now open a shulkerbox while having a shulkerbox open by right-clicking it.
  • Added the option to make shulkerboxes 'read-only', allowing the players to see the contents but not to modify them unless they place the shulkerbox.
  • Added the option to disable 'right-clicking into air to open a shulkerbox'.
  • Added plugin metrics (w/bStats), you can disable them by setting 'enable_statistics' to false in config.yml.
  • Added "check" subcommand to check for updates (permission required is bettershulkerboxes.updatenotify).
Thanks to ZeLee#4874 for suggesting the first three features.
----------, Dec 18, 2019

* Fixed some problems related with %itemname% expression
----------, Sep 21, 2019

*Fixed a dupe that worked with players who had +Xms ping
----------, Sep 20, 2019

* Fixed sounds not working when unnamed shulkerboxes closed
* Fixed reload command not reloading reload messages (lol)
----------, Sep 19, 2019

* Fixed bug where players could use hotbar shortcuts to pull the shulkerbox out of their hand consequently causing a dupe.
* Fixed a nesting bug.
* Added /bsb command to display the plugin version, with the subcommand 'reload' to reload the configuration file.
----------, Sep 19, 2019

Latest update didn't have the new version string.
----------, Sep 14, 2019

* Fixed a bug where the plugin would not detect the player had a shulkerbox inventory open, causing a dupe.
----------, Sep 14, 2019


I've added the option to disable the right-click in inventory feature and also an option to require a special permission to use it. By default this last option comes disabled, but if you want to enable it make sure you give your players the permission 'bettershulkerboxes.use.rightclick'

Important:​
If you're using Spigot 1.14.4 builds please make sure you're using the latest, previous versions cause the plugin to fail when closing shulkerboxes, which means duping.
----------, Sep 12, 2019

Note: It's highly recommended to test the plugin before using it on your server. Although I tested it a lot and I didn't find any bugs, it isn't 100% confirmed that you will not find any problems.

Well, finally, after half a century I am going to post the update.
I will begin with the most interesting things.
Features:
Now right-clicking a shulkerbox in your inventory will open it:

It will temporarily switch the item in your hand with the shulkerbox. It could have been made so this wasn't necessary but that would have probably caused many bugs.
The expression '%itemname%' can be used in the config.yml file to represent the item name:
This supports color codes.
The configuration file is better:​
  • The config.yml file has been changed so now you don't require to put a separated boolean (true/false) to enable/disable something. Now you just have to put 'none' in the sound/message you want to disable.
  • The plugin will detect and warn you about any errors in your config, it will also disable itself.
Bugfixes:
You can now use hotbar shortcuts:
Yes, this was a thing.
No more duping:
Implemented multiple methods to prevent players from duping items.
Color shulkerboxes now work:
Finally.
Illegal nesting is not a thing anymore:
Fixed illegal nesting bugs.

Other changes:
Code refactor:
Improved code quality and readability compared to previous versions.


If you want to request a feature or report any bugs, please join my Discord server or DM me (But I will probably reply faster if you contact me via Discord, I check it daily)​
----------, Sep 3, 2019

I didn't post the last update correctly
----------, Jul 17, 2019

* Fixed bug where players could put a shulkerbox inside another.
----------, Jul 17, 2019

*The plugin is now compatible with 1.14 and variants
*Fixed a Null Pointer Exception that displayed on console
----------, May 30, 2019

* Fixed plugin.yml having old version number
----------, Apr 18, 2019

* Fixed error in console caused when trying to open a shulker box with an item in offhand. ( https://pastebin.com/cJbKXaEZ)
* Minor changes
> Reformated code
> Changed some comments
----------, Apr 18, 2019

* Fixed compatibility with spigot api 1.13
----------, Feb 12, 2019

* Fixed dupe bug
* Changed the way items store*
+ Updater

After a critical dupe bug** found by @matahombres,I implemented a fix and refacored most of the code. I also added an updater so you can get notified when an update is released (if you have permission bettershulkerboxes.updatenotify). When possible, it will check latest version avaible at spigot and compare to the one you're using.

* = From version 1.2 items started to be stored with each inventory click to prevent duping on death and when dropping a shulkerbox, this caused the bug. Now it just saves when you close the inventory, your HP reaches 0. It also prevents you from dropping the shulker box.
** = If a selected shulker box was double clicked inside an inventory (ex: chest) it would copy the items from that chest.
[​IMG]
Image: @matahombres
----------, Feb 10, 2019

*Fixed bug #4: Can't move a suhulker box in your inventory
*Fixed bug #5: More error spam
----------, Jul 18, 2018

* Fixed bug #2: critical dupe bug caused when player dies with the shulkerbox open (Thanks @TheIronMinerLv)
* Fixed bug #3: Error spam on the console
----------, Jul 18, 2018

Changelog:
* Fixed bug #1: "Could not pass event PlayerInteractEvent to BetterShulkerBoxes v1.0"
----------, Jul 17, 2018

Resource Information
Author:
----------
Total Downloads: 84,488
First Release: Jul 17, 2018
Last Update: Apr 2, 2023
Category: ---------------
All-Time Rating:
36 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings