PetBlocks v8.22.1
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
- #381 Added and changed ai applying on events.
- #414 The GUI is now restricted by a new permission. Please see below.
- #273 Added a new particle ai to change movement particles on the fly. You can now build particle categories.
- #429 , #430 #431, #432 Upgraded dependencies.
Bugs/Issues
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