EazyFTW / NPC-Lib

Minecraft NPC library for spigot 1.8-1.16 servers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPC-Lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.16 servers.

This Library does only support the latest patch release of a supported version (for example 1.13.2). Issues with older patch versions (for example 1.13.1) won't be fixed.

Requirements

This library can only be used on spigot servers higher or on version 1.8.8. The plugin ProtocolLib is required on your server.

How to use

Add the repository and dependency to your plugin:

Maven

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

<dependency>
    <groupId>com.github.juliarn</groupId>
    <artifactId>npc-lib</artifactId>
    <version>2.4-RELEASE</version>
</dependency>

Gradle

maven {
    name 'jitpack.io'
    url 'https://jitpack.io'
}

compile group: 'com.github.juliarn', name: 'npc-lib', version: '2.4-RELEASE'

Add ProtocolLib as dependency to your plugin.yml. It could look like this:

name: Hub
version: 1.0-SNAPSHOT
api-version: "1.13"
depend: [ProtocolLib]
author: juliarn
main: com.github.juliarn.server.hub.ServerHub

Now you're all set! You can start by creating an instance of the NPCPool and the NPC.Builder.

About

Minecraft NPC library for spigot 1.8-1.16 servers.

License:MIT License


Languages

Language:Java 100.0%