Skip to content

v2.2.0

Choose a tag to compare

@PresentKim PresentKim released this 01 Dec 21:13
4567065

🔧 Changes

  • Resource packs are added to the server's resource pack stack, so the server sends them like its own packs (and other
    plugins, such as a CDN plugin, see them). Behavior packs and the experiments are sent with
    resourcepack-register 2.2, which adds them to the packets
    next to what other plugins added. The plugin no longer has packet listeners of its own.
  • The add-ons stop being sent when the plugin is disabled, and are sent again when it is enabled.
  • Addons implements pocketmine\resourcepacks\ResourcePack (getPackId() returns the lowercase UUID).

⚠️ Breaking changes

  • register() throws InvalidArgumentException when the server already has a resource pack with the same UUID.
  • Removed the internal AddonsManager::get*InfoEntries() / get*StackEntries(), Main::overrideExperiments() and
    Main::MAX_CHUNK_SIZE.