KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
TruenoNPC
★ 13
Open GitHub ↗
NPC Api for Bukkit/Spigot 1.8-1.12
Download README (.md)
Explore Similar Repositories
node-qiwi-api
:
Node API to work with QIWI Wallet
BrillMooreSpellChecker
:
Spell checker using Brill and Moore's noisy channel error model
java_toxclient_example
:
TRIfA Desktop - a Java Tox Client
AutoBuilder
:
Auto builder generation with Annotation Processing
DEPRECATED.v2-feedback
:
Please use https://github.com/exercism/exercism.io for reporting issues
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
TruenoNPC
?
Download (.md)
 > 🚨 **Este repositorio está archivado y ya no recibe mantenimiento.** # TruenoNPC API for create NPCs without nametags in Spigot/Bukkit. It's compatible with 1.8 to 1.12 versions ## **NEW: Now works with ProtocolLib and its HIGHLY RECOMMENDED to use it with!!** **Please if you are going to use this api, give me credits c:** ## Usage 1. Clone the repo and integrate it in your proyect. 2. Remove nms classes that you don't be using from .nms package and TruenoNPCApi (If your plugin is not compatible 1.8 - 1.12). 3. Create your npcs! ```java //First create the skin TruenoNPCSkin skin = TruenoNPCSkinBuilder.fromUsername(this.plugin, p.getName()); TruenoNPCSkin skin = TruenoNPCSkinBuilder.fromUUID(this.plugin, p.getUniqueId().toString()); TruenoNPCSkin skin = TruenoNPCSkinBuilder.fromMineskin(this.plugin, 131234); //Now create the NPC ussing the skin TruenoNPC npc = TruenoNPCApi.createNPC(main.getPlugin(), p.getLocation(), skin); ``` Once you create the npc, you don't have to worry about more, it will show new players, will respawn when it's necessary, etc. There are three events to listen: on spawn, on despawn and on interact. ## Thanks to * Thanks to **aadnk** for TinyProtocol: https://github.com/aadnk/ProtocolLib/tree/master/modules/TinyProtocol * Thanks to **Yonas** for McAPI.de: https://mcapi.de/ * Thanks to **dmulloy2** for ProtocolLib: https://github.com/dmulloy2/ProtocolLib/ * Thanks to **iSnakeBuzz** for ProtocolLib version: https://github.com/iSnakeBuzz/TruenoNPC-With-ProtocolLib ## Donate me If you like my work, please, consider donating [](https://www.paypal.me/eltrueno) ## Contact me [](http://twitter.eltrueno.es)