Updated README.
This commit is contained in:
@@ -12,7 +12,7 @@ This is an API made specifically for spigot servers (Minecraft). Current support
|
|||||||
|
|
||||||
Alternatively, you can help the project by starring the repository or telling others about NPCLib :smile:
|
Alternatively, you can help the project by starring the repository or telling others about NPCLib :smile:
|
||||||
|
|
||||||
## Usage
|
## Code Example
|
||||||
|
|
||||||
```Java
|
```Java
|
||||||
// First we define our (global) library variable.
|
// First we define our (global) library variable.
|
||||||
@@ -38,6 +38,15 @@ Alternatively, you can help the project by starring the repository or telling ot
|
|||||||
|
|
||||||
Usable events: `NPCSpawnEvent`, `NPCDestroyEvent` and `NPCInteractEvent`.
|
Usable events: `NPCSpawnEvent`, `NPCDestroyEvent` and `NPCInteractEvent`.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Developers are only allowed to use NPCLib if they acknowledge the author of NPCLib (JitseB) with a link to this repository in the description of their resource. NPCLib comes without warranty. I (JitseB) cannot be held responsible for any damage. You may open an [issue](https://github.com/JitseB/npclib/issues) if you are experiencing issues with NPCLib.
|
||||||
|
|
||||||
|
You (the developer) can also contact me if you wish to be added to the list below.
|
||||||
|
|
||||||
|
Plugin(s) using NPCLib:
|
||||||
|
- [PremiumHub](https://www.spigotmc.org/resources/premiumhub-a-new-recode-is-soon-here.32110/) (by Vouchs).
|
||||||
|
|
||||||
## Copyright
|
## Copyright
|
||||||
|
|
||||||
Copyright (c) Jitse Boonstra 2018 All rights reserved.
|
Copyright (c) Jitse Boonstra 2018 All rights reserved.
|
||||||
Reference in New Issue
Block a user