NPC-Lib

Minecraft NPC library for Paper 1.12.2+ servers

Neuste: Release 1.0

Download [0.02MB]

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).


  • new_releasesRelease 1.0
    https://github.com/juliarn/NPC-Lib/commit/9b90afdaedf6cc33e7b5575f40eb791d7fdf13a7

    Created by Panamo at 2020-03-22 23:17:18

Version Für Hochgeladen Downloads Downloaden Größe Author
Release 1.0 2020-03-22 23:17:18 42 Download 0.02MB Panamo
Schreib ein Review
Logg dich ein, um ein Review zu schreiben.
Weitere Informationen
Downloads: 42
Bewertung
starstarstarstarstar
Source