Skip to content

4.2.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@crashdemons crashdemons released this 29 Sep 22:27
· 559 commits to master since this release
14ccd96

Updates the PlayerHeads plugin with support for all 1.13+ mobs, introduces more reliable head-texturing support, and expands upon the configurability and consistency of the plugin.

Backwards-compatbility notes:

  • Recognizes older username-based heads and updates them when dropped as items
  • Some configuration changes may be needed since 3.12.13, 3.12 and lower (see below)

Changes since 3.12:

  • Changed: Adds code-shims that replace 1.12 behavior with 1.13-supported behavior

  • Fixed: Fixes several cases where a NullPointerException can occur for unknown heads (since patch1)

  • Changed: Corrected configuration and language settings for the Wither boss and Wither Skeleton to match their updated Entity name [Backwards-Incompatible Change]

    • lang entries WITHER changed toWITHER_SKELETON to match entity name
    • lang entries WITHER_BOSS changed to WITHER to match entity name
    • config entry witherdroprate changed to witherskeletondroprate to match entity name
    • config entry witherbossdroprate changed to witherdroprate to match entity name
  • Fixed: Possible NullPointerException when user without clickinfo permission interacts with a head.

  • Changed: Updated several head skins, leaving support for existing ones

  • Fixed: Fixed mobhead name resolution when the owner name changes after owner is resolved. (name case changes)

  • Fixed: Changes drop conditions to apply to skeletons properly for updated entity types (since patch2)

  • Fixed: Fixed wither skeleton incorrectly reading drop rates from wither boss' configuration (since patch3)

  • Changed: Legacy (username-based) head support has been deprecated, but is still recognized as valid mobheads

  • Added: New (texture-url-based) head support added as default for drops. these should be more maintainable and searchable than the old heads. (since 4.0-alpha)

  • Added: Adds a mob-head drop for every living entity in 1.13 (aside from armor stands and giants)

  • Fixed: Handled several null-head-owner bugs in 3.x

  • Fixed: Corrected spacing in lang file entries that require it.

  • Added: New config option: dropvanillaheads (default: true) - sets whether applicable mobs should drop their associated vanilla head item when killed. If this is false, the mob will drop a skinned playerhead instead. This also affects which head is dropped when breaking a plugin-recognized head. (since 4.1.1-alpha)

  • Added: Lore for plugin-added heads.

  • Added: New config option: convertvanillaheads (default: false) - When false, avoid converting the type of head of when its block is broken. When true (or pre-4.2), the head is automatically converted to vanilla or skinned depending on the state of dropvanillaheads setting. (since 4.2.1-alpha)

    • Setting this to false keeps heads as they were when placed and broken
    • Setting this to true forces items to convert to the desired drop type (vanilla or skinned) when broken.
  • Changed: Behavior for player and mob-head drops now requires canbehead or canbeheadmob permission regardless of the state of pkonly, permitting more specific configuration of the plugin and more consistent permission behavior. You are still able to reproduce the old behavior by ensuring the default permissions group for players has the playerheads.canbehead and playerheads.canbeheadmob permission when you disable pkonly/mobpkonly. [Backwards-Incompatible Change]

  • Added: New spam prevention when players hold down or spam right-click on placed heads. (for users with the playerheads.clickinfo permission).