* Rework PlayerHead Getter.
Generate player head based on WebAPI (as it is faster) and GameProfile texture (require NMS).
Cache is suitable for storing into file format.
Add ability to add custom HeadCache object into local cache.
Add ability to modify cache keeping length.
Add ability to keep all, or just a single element into cache until server restart.
* Address issues/improvements suggested from review.
- config will store time in minutes.
- default value will be 1h.
The addition of a bottom control bar to the tab was covering up the
panel items so 9 items would be missing. This makes it so 36 items show
instead of 45.
* 1.16.1 changes
* Fixed failing tests in PhysicalInteractionListener
HOWEVER, the code somehow no longer protects the pressure plates... I'm investigating that.
* Implemented future-proof buttons, doors, fence gates, trapdoors protection
* Protected REDSTONE_WIREs under "REDSTONE" flag
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1421
* Fixed bug with pressure plates
* Fixed params order in assertEquals in PhysicalInteractionListenerTest
* Fixed EnderChestListenerTest errors
* Fixed most errors in BlockInteractionListenerTest
* Added 1.16.1 to ServerCompatibility
* Fixed BlockInteractionListenerTest
* Fixed backwards compatibility in BlockInteractionListener
Also made use of existing Tags (ANVIL, BEDS, SHULKER_BOXES)
* Fixed BlockInteractionListenerTest (again)
* Fixed backwards compatibility in PhysicalInteractionListener
Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
It appears that heads are being "forgotten" by the server after a few
minutes (not sure how long) so caching forever doesn't help. This causes
blocking calls when the head is set.
https://github.com/BentoBoxWorld/Level/issues/159
The no permission error was being added, but thats wrong because it's
not lack of permission but lack of rank that is the issue. This adds a
new error and shows it in the various commands.
It was introduced in BentoBox 1.5.0 and bStats shows that all the servers are using BentoBox 1.5.3+. We can therefore safely remove this from BentoBox.
Only owners could invite players successfully. This now checks based on
rank.
Added a method to allow rank checking on UUID. Had to make tests be
specific to the User.class.
https://github.com/BentoBoxWorld/BentoBox/issues/1377
* Uses perform command instead of direct call.
Goal is to enable 3rd party alias plugins to catch the command.
* Fires PlayerCommandPreprocessEvent before performCommand
Adds a / to the front of the default player commands.
Fixes issue with MyCommand plugin.
* Fixes tests