Current Version
v1.2.2
No Dependencies Required!
v1.2.2
No Dependencies Required!
What is the purpose of LightWeight NPCs?
I want server owners and developers to have the option of using NPCs without having too many extra's like Citizens. Also this plugin contains a small API allowing developers to make their own plugins based off of player interactions with the NPCs. This plugin also allows the use of any Minecraft players skin given their IGN. This plugin also supports color codes for Entity Names! Now allows for NPC rotation and works for more versions of spigot! Now contains boss bar.
What are my plans for the future with this project?
In the future I want to hear feedback from people that have downloaded and used this resource. I can make advancements and bug fixes at any point needed. This plugin will be kept up-to-date and most likely on the latest version of Minecraft from when it is downloaded.
What makes this plugin "Light Weight"?
This plugin uses a reflection manager that can retrieve around one million player handles in less than 1-2 seconds depending on the server's speed. This plugin also gets rid of many aesthetics like NPCs moving and things like that. However, if there is people that want more things added feel free to comment them. NPC's are handled mainly client side!
What is the downside to this?
There are very few downsides to this plugin except that the same players skin cannot be downloaded more than once per minute by any server (This is due to Mojangs API). However, This plugin does cache the skin while it is still being used by another NPC. Also this plugin will kick all players online if there is a /reload. This is to reload all the NPCs skins on the server.
Unique
This plugin offers a unique GUI for editing armor on the NPC!
Spoiler
Permission Nodes
NPC.ADMIN - Spawn or Remove NPCs
Commands
/npc spawn <skin owner> <Custom Name>
/npc delete <NPC's Custom Name>
/npc edit
/npc done
/npc command <command> (ex. /npc command time set 1000)
(When executing command {player} will be translated into the player who clicked he NPC)
Custom Events (For developers)
NPCInteractEvent (Fires when NPC is clicked) -
This returns the Player, Entity, InteractionType, Skin owner, and Entity ID
NPCNearEvent (Fires when player is within radius of NPC) -
This returns Player, Entity, Skin owner, and Entity ID
Open Source! (Developers)
As I have decided to make this open source finally, I hope that you all get good use out of this code. However, the code has taken hours of grinding and debugging. Please do not repost the source code or sell it as your own. If you decide that you want to use this plugin on your servers please PM me your ip as I would love to come on and check out the different ideas people have used this for! As promised here is the link!
https://github.com/
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.9, 1.10, 1.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
LightWeight NPC's is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11. Downloaded 18,461 times (via Spigot). Download it and open it directly in the game.