Skip to content

NPC-Lib Version 3 Beta 11

Pre-release
Pre-release
Compare
Choose a tag to compare
@derklaro derklaro released this 03 Feb 11:33
· 2 commits to v3 since this release
3af33b3

NPC-Lib Version 3 Beta 11

Changes and fixes in this release:

  • Add support for fabric servers (latest version only, currently 1.21.4)
  • Updated dependencies (packetevents for 1.21.4 support, minestom due to announced breaking api changes)
  • Fix usage of world name based comparisons in minestom implementation (names in positions might be provided differently by the spawning plugin, comparisons were hardcoded to use the instance uuid)
  • Fix minestom metadata conversion types

Dependency

The dependency is available in maven central: https://central.sonatype.com/search?q=io.github.juliarn
Please note: releases can take up to 20 minutes to be synced to maven central.

All modules:

Module artifact name Module description
npc-lib-api General NPC-Lib API without platform specific class usage. This module should be used when the underlying implementation does not matter.
npc-lib-common Abstract implementation of the api module. This module should be used when a new platform implementation is made.
npc-lib-bukkit Platform specific implementation for Bukkit. This module implements the complete API (and common) to support Bukkit (and forks).
npc-lib-minestom Platform specific implementation for Minestom. This module implements the complete API (and common) to support Minestom (and forks).
npc-lib-fabric Platform specific implementation for Fabric. This module implements the complete API (and common) to support Fabric and must be installed as a mod on the server.
npc-lib-labymod This module contains helper methods for accessing LabyMod NPC features (such as emotes and stickers). See the LabyMod documentation for more information.

How to include a module

Maven:

<dependency>
  <groupId>io.github.juliarn</groupId>
  <artifactId><insert module name from list above></artifactId>
  <version>3.0.0-beta11</version>
  <scope>compile</scope>
</dependency>

Gradle:

implementation("io.github.juliarn", "<insert module name from list above>", "3.0.0-beta11")

Bug reports & Feature requests

If you found an issue with v3 or want to request a new feature please do so on the issue tracker.