Pl3xNPC
Plugin: Simple NPC plugin to add life to your server.
Version: v3.0.1-SNAPSHOT
Build: CB 1.7.9 R0.1
BE SURE YOU UPDATE BKCOMMONLIB FOR YOUR CB BUILD!
Note: This plugin connects to Mojang's online UUID API to access players UUID's.
Description
Pl3xNPC is a simple plugin to add basic NPCs to your server and bring some life into it! These NPCs currently only look at players (or in any direction you specify, like a statue) and say simple 1-liner messages to them. They can also hold items and wear armor (even enchanted items or other items with special properties)! Not to mention, they can be ANY mob you want them to be, not just a player type.
Enjoy!
Links
Commands and Permissions
View the ChangeLog
Features
- Create any username or mob type NPC
- Premium usernames show their premium skins
- Multiple NPCs can have the same name
- Any mob type will work (creeper, pigzombie, cow, chicken, wither, etc)
- NPCs now have owners
- You can give your users the ability to create their own NPCs without the fear of messing with others' or the main config.
- NPCs can only be manipulated/deleted by their owner (including the armor/items).
- Server admins have the ability to bypass owners (with proper perm node).
- Limit the number of NPCs a user can create with permission nodes!
- Items can be given to an NPC!
- Select an NPC and use the command or right click with the item in hand to give any armor!
- Armor will automatically be worn!
- Ability for any item to be worn on an NPC's head (admin can set to enable/disable this feature)
- Must have the item to give (removes from your inventory) unless you have the 'canspawn' perm node
- All items given can be taken back by giving them something else (including air)!
- Select an NPC and use the command or right click with the item in hand to give any armor!
- NPCs can talk! (one-liner messages)
- Triggered when walking into a customizable message radius
- Admin can set the chat format (to match ANY chat plugin's style)
- Includes variables: {world} {npc} {name} {dispname}
- Chat styles and color codes supported!
@BillyGalbreath
Can we make them run commands? :)
@TheRainbowMan1231
As of right now they do not work due to a bug. I will not be fixing it for sometime as I will probably do a complete rewrite before then. I do not have a timeline as of yet.
@LepercyXL
The problem is not actually mine but would be BKCommonLib as it has not updated to 1.8 yet.
Is It Possible To Get The Skins CAuse For Some Reason It Wont Work For Me
This plugin would make an excellent addition to my server to serve as "guides" in various areas. Unfortunantly I use 1.8 Spigot and this is not working at all. I see the plugin installed but when I do any of the cmds i get no response
@GabriMagic
Ya this would be a bug. I am looking into it. I believe I have a fix so I will be trying to upload a fix soon.
@GabriMagic
/npc set showmobname [value]
Hi Endercrest & BillyGalbreath, nice pluing i only have a question, cause i set a name to a npc, it only show it when it isnt a player, the player always has "NPCx" and when I set mobtype it change to the name that I put, its a bug? or its something with the 1.7.9 version?
thanks :)
EDIT: Its change only if I modify directly in the file, I put /npc create Captain and its okay, but with /npc set name Red, it doesnt change
@andrew4534
Yes that was a feature originally and is currently a bug because of issues with retrieving them. I have not gotten around to looking into this so I plan on fixing this bug at some point.
Yes that would be great if you could do what Layania said to do!
Thanks to your kindly support :)
One idea to enhance :
Create npc with skin than other.
I explain :
When you create a npc, if Npc has same name than a player,
this npc has the player's skin.
But if i want to create a guard, i don't name it XXroxorXX
That be cool to have the skin and choose the name ?
I don't know if it is possible :)
@Layania
I have been aware of this issue for awhile but it ends up not affecting anything. I am still investigating what causes it.
Since sometimes i have this strange issue (spigot 1.7.9) ?
@Layania
hey so the I may have misread you previous comment. You can set the type of horse ex. ZombieHorse, SkeletonHorse, Donkey, ect. But you can't yet should the color. I will try to add this to our next update.
@Layania
Thanks to your help, That working
Just update command page please
/npc set sheared [true/false]
Sets if sheep is sheared
Isn't obvious without horse on command explain :P
@Layania
Just so you know there is a command page here. But to set color is /NPC set color (color). To make it sheared you can do /NPC set sheared (true/false). To set horse type that is the mob type.
@Endercrest
How ?
create command don't want more parameters
no /set like sheep color ...
@Layania
That should already be possible.
Can you make like sheep, the horse style & color ?
Thanks for your work :)
Change of plans. I will be releasing V3.1.0-SNAPSHOT
later todaycontaining sheep wool support(Sheared and color) and UUID support(BUGGY). There are currently a few bugs and be patient as I do some bug crushing. So this basicly means I am going into code freeze no more features will be put into this update.Edit: Change of plans again I wanted to add update to 1.7.9 But that version breaks a lot of things so I will have to spawn extra time on it to fix.
@Diimensions
I will be pushing the sheep update back. I am first going to release an update for the UUIDS. This is currently more important as I have to create some way that it will convert old NPC's to new ones.