Dieses Projekt ist eingefroren. Es wird nicht weiterentwickelt.

NPC-Lib

NPC-Lib Release 1.0

Minecraft NPC library for Paper 1.12.2+ servers

NPC-Lib

Minecraft NPC library for Paper 1.12.2+ servers.


Requirements

This library can only be used on PaperSpigot servers higher or on version 1.12.2. 

The plugin https://www.spigotmc.org/resources/protocollib.1997/ 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>1.0-RELEASE</version>
</dependency>


Gradle

maven {
  name 'jitpack.io'
  url 'https://jitpack.io'
}
compile group: 'com.github.juliarn', name: 'npc-lib', version: '1.0-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: Panamo
main: de.panamo.server.hub.ServerHub


Now you're all set! You can start by creating an instance of the 

[NPCPool](https://github.com/juliarn/NPC-Lib/blob/master/src/main/java/com/github/juliarn/npc/NPCPool.java) and the 

[NPC.Builder](https://github.com/juliarn/NPC-Lib/blob/master/src/main/java/com/github/juliarn/npc/NPC.java).


Weitere Informationen

Downloads

745
Bewertung

Letzte Update

22.03.2020 - 23:17
Projekt erstellt

08.05.2021 - 18:33
Sourcecode

Github