Skip to content

Releases: Shynixn/PetBlocks

PetBlocks v8.23.0

06 Nov 19:40
Compare
Choose a tag to compare

Developer Notes

  • This release adds support for minecraft 1.16.4
  • As always, thanks to my supporters!

Changes

  • #450 Implemented NMS layer for spigot 1.16.4.

Bugs/Issues

  • #449 Fixed hex colors do not work in chat navigation.
  • #440 Fixed player inventory is now updated on inventory close.

PetBlocks v8.22.1

17 Sep 20:22
Compare
Choose a tag to compare

Developer Notes

  • ❗ Please notice that the config version has changed! This means the plugin will not start on your server after downloading the new PetBlocks-xxxx.jar file if you forget to apply the config changes below!

  • As always, thanks to my supporters!

Changes

Bugs/Issues

  • #424, #413 Improved database caching to avoid cache misses.

Changes if you are updating from a previous version of PetBlocks

Changes 1 - config.yml

Click to expand!

The entire update section below can be deleted from your config.yml.

update:	
  add-ai:	
    1:	
      type: 'entity-nbt'	
      tag: 'nbt-default'	
      armorstand-nbt: '{Invulnerable:1,Invisible:1,PersistenceRequired:1,ShowArms:1,NoBasePlate:1,DisabledSlots:2039583}'	
      hitbox-nbt: '{CustomNameVisible:0,ActiveEffects:[{Id:14,Duration:999999999,Amplifier:0,ShowParticles:0b}]}'	
    2:	
      type: 'entity-nbt'	
      tag: 'nbt-custom-name-visibility'	
      armorstand-nbt: '{CustomNameVisible:1}'	
    3:	
      type: 'entity-nbt'	
      tag: 'nbt-marker'	
      armorstand-nbt: '{Marker:0}'

Move it to the new onjoin section in the events section.

events:
  onjoin:
    replace-ai:
      1:
        type: 'entity-nbt'
        tag: 'nbt-default'
        armorstand-nbt: '{Invulnerable:1,Invisible:1,PersistenceRequired:1,ShowArms:1,NoBasePlate:1,DisabledSlots:2039583}'
        hitbox-nbt: '{CustomNameVisible:0,ActiveEffects:[{Id:14,Duration:999999999,Amplifier:0,ShowParticles:0b}]}'
      2:
        type: 'entity-nbt'
        tag: 'nbt-custom-name-visibility'
        armorstand-nbt: '{CustomNameVisible:1}'
      3:
        type: 'entity-nbt'
        tag: 'nbt-marker'
        armorstand-nbt: '{Marker:0}'
  onsneak:
    replace-ai:
      1:
        type: 'entity-nbt'
        tag: 'nbt-custom-name-visibility'
        armorstand-nbt: '{CustomNameVisible:1}'
      2:
        type: 'entity-nbt'
        tag: 'nbt-marker'
        armorstand-nbt: '{Marker:0}'
    remove-ai:
      1:
        type: 'wearing'
      2:
        type: 'ground-riding'
      3:
        type: 'fly-riding'

Changes 2 - language folder

Click to expand!

Delete your plugins/PetBlocks/lang folder to access the new translations.

Changes 3 - config.yml

Click to expand!

This PetBlocks version comes with a new particle category for the default GUI. Recreate your config.yml if you want to use it.

Changes 4 - permissions

Click to expand!

The GUI of PetBlocks is now restricted by the new permission. Give your players this permission otherwise they will not be able to access the GUI.

petblocks.gui

Changes 5 - config.yml

Click to expand!

Check if you have performed all necessarry changes (Change 3 is optional), then change the following config option.

config-version: 3

PetBlocks v8.21.0

16 Aug 11:40
Compare
Choose a tag to compare

Developer Notes

  • This release adds support for minecraft 1.16.2
  • As always, thanks to my supporters!

Changes

  • #415 Implemented NMS layer for spigot 1.16.2.
  • #405 Added support for #hex chatcolors. Just use any hex color code #709C75 in any PetBlocks text.
  • #411 Developers using the PetBlocks-API do no longer have to call triggerTick manually. It is automatically called by PetBlocks.
  • #412 Updated mockito to 3.4.6.

Bugs/Issues

  • #408 Fixed dispenders can be used to put armor on pets.

PetBlocks v8.20.0

14 Jul 17:40
Compare
Choose a tag to compare

1.16.2

The following snapshot contains PetBlocks for 1.16.2 servers:
https://oss.sonatype.org/content/repositories/snapshots/com/github/shynixn/petblocks/petblocks-bukkit-plugin/8.21.0-SNAPSHOT/petblocks-bukkit-plugin-8.21.0-20200813.175825-8.jar

Developer Notes

  • This release fixes a lot of the issues concerning 1.16 and Paper.
  • Thanks to everyone who helped reporting and resolving issues!

Changes

  • #392 Added support for the placeholder API. See wiki for details.
  • #401 Optimized transient pet proxy cache to O(1) complexity.

Bugs/Issues

  • #401 Fixed permissions to call a pet does not get checked every time.
  • #402 Fixed pet standing still when using Paper.
  • #402 Fixed void teleporting when dismounting a pet.
  • #402 Fixed pet state machine applies ais on every gui item.
  • #402 Fixed only the first condition is getting parsed.
  • #402 Fixed ambient sound is played a way to frequently.
  • #402 Fixed GUI does not get updated when selecting riding or wearing.

PetBlocks v8.19.0

27 Jun 20:29
Compare
Choose a tag to compare

Paper Issues

  • The following snapshot fixes pet standing still bugs with Paper:

https://oss.sonatype.org/content/repositories/snapshots/com/github/shynixn/petblocks/petblocks-bukkit-plugin/8.20.0-SNAPSHOT/petblocks-bukkit-plugin-8.20.0-20200713.131233-18.jar

Developer Notes

  • This release adds support for minecraft 1.16.
  • Special thanks to @ElBuenAnvita for translating PetBlocks to Spanish.
  • As always, thanks to my supporters!

Changes

  • #398 Implemented NMS layer for spigot 1.16.
  • #396 Changed paper configuration detection to automatic paper configuration.
  • #393 Added Spanish translation.
  • #394 Improved hitbox spawning cycle.

Bugs/Issues

  • #395 Fixed pet sneaking can cause serverside issues.
  • #397 Fixed ai condition parsing.

PetBlocks v8.18.0

07 Jun 11:56
Compare
Choose a tag to compare

1.16 support

Developer Notes

  • The minecraft-heads.com internal database ranges now from "minecraft-heads.com/1" to "minecraft-heads.com/1380" this means PetBlocks has got over 1300 sponsored skins. Big thanks to minecraft-heads.com!
    Recreate the config to let the new skins show up in the GUI.
  • As always, thanks to my supporters!

Changes

  • #382 Added new minecraft-heads.com skins
  • #345 Added new scripts to execute commands when clicking on gui items.
  • #345 Added the gui item tag show-on as counterpart to hidden-on
  • #345 Added the gui item tag allowed-on as counterpart to blocked-on
  • #388 Changed the gui item script tag accepts multi-line scripts
  • #385 Added NBT disabled slots to the Armorstand in order to make it compatible to a lot of more mods

Bugs/Issues

  • #387 Fixed the new events can crash in rare occurences
  • #386 Fixed the pet fallling through the ground when riding the pet using PaperSpigot

PetBlocks v8.17.1

09 May 10:40
Compare
Choose a tag to compare

Important!

The current PetBlocks release does not work with Paperspigot +274. Please use the v8.18.0-SNAPSHOT instead if you run PetBlocks on PaperSpigot.
https://oss.sonatype.org/content/repositories/snapshots/com/github/shynixn/petblocks/petblocks-bukkit-plugin/8.18.0-SNAPSHOT/petblocks-bukkit-plugin-8.18.0-20200528.153337-2.jar

Developer Notes

  • If you are updating from v8.14.0 or below, please check the patch notes of v8.15.0.
  • As always, thanks to my supporters!

Bugs/Issues

  • #351 Fixed concurrency errors can occur which may or may not cause consistency issues.
  • #354 The repository version of bstats-sponge was replaced by copying the source code.

PetBlocks v8.16.0

21 Apr 16:38
Compare
Choose a tag to compare

Developer Notes

  • Please create a backup of your PetBlocks folder and (if being used) MySQL database before you install this update!
  • As always, thanks to my supporters!

Changes

  • #344 Added german language translation.
  • #348 Upgraded bstats.org version to 1.7.

Bugs/Issues

  • #347 Fixed invisible entities get spawned when the pet gets removed.
  • #346 Fixed the sendPacket method is incompatible to some server frameworks.

PetBlocks v8.15.0

06 Apr 16:46
Compare
Choose a tag to compare

Developer Notes

  • Please create a backup of your PetBlocks folder and (if being used) MySQL database before you install this update!
  • Please recreate your config.yml OR add the new config options below.
  • Support for better flying pets has been added. Try out the flying ai.
  • As always, thanks to my supporters!

Changes

  • #335 Replaced the internal entity BAT with PARROT for the flying ai.
  • #336 Added support for item NBT tags. The new tag called nbt replaces the unbreakable tag in the config.yml and can be added to both skins and icons. PetBlocks is going to automatically update its database once you install this update. Please create a backup before installing it.
  • #342 Changed the way how default nbt tags are applied to pets. All nbt tags are now controllable in the config.yml.
  • #342 Introduced a new config section called update which allows to configure ais each pet gets when the owner joins for the next time.
  • #342 Introduced a new config section called events which allows to configure ais each pet gets when certain events happen on the server. This section replaces the disable-on-sneak option of the global configuration.

Bugs/Issues

  • #341 Fixed GriefPrevention Sponge Issues introduced in one of the recent updates.

config.yml

pet:
  add-ai:
    7:
      type: 'entity-nbt'
      tag: 'nbt-default'
      armorstand-nbt: '{Invulnerable:1,Invisible:1,PersistenceRequired:1,ShowArms:1,NoBasePlate:1}'
      hitbox-nbt: '{CustomNameVisible:0,ActiveEffects:[{Id:14,Duration:999999999,Amplifier:0,ShowParticles:0b}]}'
    8:
      type: 'entity-nbt'
      tag: 'nbt-custom-name-visibility'
      armorstand-nbt: '{CustomNameVisible:1}'
    9:
      type: 'entity-nbt'
      tag: 'nbt-marker'
      armorstand-nbt: '{Marker:0}'
############################
update:
  add-ai:
    1:
      type: 'entity-nbt'
      tag: 'nbt-default'
      armorstand-nbt: '{Invulnerable:1,Invisible:1,PersistenceRequired:1,ShowArms:1,NoBasePlate:1}'
      hitbox-nbt: '{CustomNameVisible:0,ActiveEffects:[{Id:14,Duration:999999999,Amplifier:0,ShowParticles:0b}]}'
    2:
      type: 'entity-nbt'
      tag: 'nbt-custom-name-visibility'
      armorstand-nbt: '{CustomNameVisible:1}'
    3:
      type: 'entity-nbt'
      tag: 'nbt-marker'
      armorstand-nbt: '{Marker:0}'
############################
events:
  onsneak:
    replace-ai:
      1:
        type: 'entity-nbt'
        tag: 'nbt-custom-name-visibility'
        armorstand-nbt: '{CustomNameVisible:1}'
      2:
        type: 'entity-nbt'
        tag: 'nbt-marker'
        armorstand-nbt: '{Marker:0}'
    remove-ai:
      1:
        type: 'wearing'
      2:
        type: 'ground-riding'
      3:
        type: 'fly-riding'
###########################
gui:
  main:
    hat-pet:
      replace-ai:
        1:
          type: 'wearing'
        2:
          type: 'entity-nbt'
          tag: 'nbt-custom-name-visibility'
          armorstand-nbt: '{CustomNameVisible:0}'
        3:
          type: 'entity-nbt'
          tag: 'nbt-marker'
          armorstand-nbt: '{Marker:1}'

PetBlocks v8.14.0

28 Feb 14:54
Compare
Choose a tag to compare

Developer Notes

  • This release adds language file support to PetBlocks. It allows to easily translate this plugin to other languages and increases accessibility overall. However, this requires you to add a new field to the config.yml otherwise PetBlocks will not be able to startup again. Please apply the changes at the bottom of this note or recreate the config.yml.
  • Special thanks to @yudonglin for translating PetBlocks to Chinese.
  • As always, thanks to my supporters!

Changes

  • #300 Added a new optional parameter to the /petblock command in order to allow users to open the GUI at a specific page. Please take a look at this page.
  • #302 Added language file support.
  • #295 Added Chinese language file.

Bugs/Issues

  • #334 Fixed the pet sometimes gets stuck in water when using the hat function.

config.yml

config-version: 2
lang: 'en_us'