You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
datdenkikniet 16d5dd39f2 Add support for 1.16.4 3 years ago
.github/ISSUE_TEMPLATE Add issue template 5 years ago
api Add support for 1.16.4 3 years ago
examples Missing setSkin method on Example 3 5 years ago
nms Add support for 1.16.4 3 years ago
plugin Add support for 1.16.4 3 years ago
.gitignore Few Maven changes and added a build script. 6 years ago
.travis.yml potential feature for per-player hologram names 4 years ago Update 4 years ago Update 4 years ago Added a proper license (MIT license). 6 years ago Add support for 1.16.4 3 years ago
pom.xml Add support for 1.16.4 3 years ago More fiddling around with Sonatype.... 5 years ago

Banner NPCLib – Basic non-player character library.
Release Build Status Versions Resource Discord

This project is starting 5 Oct. 2020 no longer actively maintained. I Thank you all for riding along!

This is an API made specifically for spigot servers (Minecraft). Current supported versions: 1.8.8 - latest. Lightweight replacement for Citizens. NPCLib only uses packets instead of registering the entity in the actual Minecraft server.

Preview (click to play video)

YouTube Video



Alternatively, you can help the project by starring the repository or telling others about NPCLib. 😄



There are multiple ways you can make use of NPCLib.

  1. The first option is to shade npclib-plugin.jar in to your plugin.
  2. The second option is to put npclib-plugin.jar under your plugins folder. By doing this, you no longer need to shade the API JAR. Though, do not forget to add NPCLib as a dependency in your plugin.yml!
  3. The third option (and the one I recommend most) is to shade the library using Maven. I recently added NPCLib to the OSSRH (OSS Repository Hosting) which allows you to easily import NPCLib into your project.

Maven repository


Maven dependency

If you have NPCLib under your plugins folder, you may use the following:


If you do not want to have NPCLib in your plugins folder, you need to use the npclib-plugin artifact and shade it accordingly.

Click here to view the latest release.

Repacking the library

To make sure the classes won't be twice at the same place. I recommend repacking the library into your package. (Otherwise issue #79 might occur.) You can do that as follow:

      <!-- Do not include the <configuration>...</configuration> part if you are using Sponge! -->
            <!-- Replace this with your package! -->


Click here for an elaborate explanation on how to use NPCLib in your next project.


For NPCLib I use the follow versioning system:

  • 1.x.x: Where the 1 indicates the major version of the library. When this number changes, it's highly likely there're big API changes.
  • x.1.x: Where the 1 indicates the minor version of the library. When this number changes, a feature is added or a high priority bug is fixed.
  • x.x.1: Where the 1 indicates another minor version of the library. When this number changes, a small bug has been fixed.

Building your own version

  1. Download or clone this repository.
  2. You can build the project using mvn clean install.

The API JAR will be under /api/target/ and the plugin JAR (which includes all necessary NMS code) will be under /plugins/target/.


NPCLib is licensed under the MIT license. Developers are free to use NPCLib for both private and commercial use. However, it would still be nice to acknowledge me.


I thank all those who have contributed to NPCLib over the course of its development.

Please view other credits here.

Copyright (c) Jitse Boonstra 2018 All rights reserved.