1

Citizens plugin | Basic NPC commands

MrSecurity1's Avatar MrSecurity19/5/13 2:52 pm
1 emeralds 38.9k 4
4/19/2015 8:51 pm
ButtonPusher_'s Avatar ButtonPusher_
Citizens Plugin | NPC Basic Creation



This is a guide to make a standard NPC that:

-Watches you when you get close
-Talks to you as you pass
-Has a player's skin
-Has an item in their hand

using the Citizens plugin.


Step One:

Join your server and find the spot where you want your NPC and look the direction you want it.


Step Two:

Type the command into chat - /npc create <playername> - For these purposes I will use my username. So I will type - /npc create MrSecurity1 - This will create a NPC of me. He will just stand there and do nothing.


Step Three:

Now enter the command - /npc lookclose - This will force their heads to rotate toward near, passing players. If it has worked the NPC will look straight at you.


Step Four:

Now to make them talk you must enter the following command - /npc text - This will open the text editor. For the next few commands you will not need a '/' infront of the commmands. Type - add - Now type what ever you want your NPC to say. For example - &4Hi, I'm MrSecurity1&r - That will cause the NPC to say - Hi, I'm MrSecurity1 - However he will not say anything without a trigger.


Step Five:

To make them talk as a player walks past type - close - This will toggle them as a close talker. To set the range you have to be in for them to talk type - range - then the block radius - 5 - This will now set up the NPC to do the following - When a player walks past within a five block radius he will watch you walk past and say "Hi, I'm MrSecurity1" -


Step Six:

Now the finishing touch, equipment. This works with all equipment/items. Do the command - /npc equip - Then Right-Click the NPC with the item you want them to hold/wear.


Finishing Notes:

To stop your NPCs being targeted by mobs (Zombies, Skeletons etc) then do - /npc targetable - This will stop them being hit. That's all!


Hoped this helped! Leave a comment etc. and vist my server: 81.201.129.47:33369

More advanced tutorial coming soon. Including:

-Traits
-Paths
-Proffesions

Bye!
Posted by MrSecurity1's Avatar
MrSecurity1
Level 4 : Apprentice Engineer
3

Create an account or sign in to comment.

4

1
04/19/2015 8:51 pm
Level 11 : Journeyman Explorer
ButtonPusher_
ButtonPusher_'s Avatar
How do you remove a NPC?
-Button
1
04/12/2014 3:12 pm
Level 24 : Expert Engineer
Samistine
Samistine's Avatar
Citizens no longer are acceptable in 1.7.7 and up. Mojang has made it so when you get near a player npc in 1.7.7, 1.7.8 and up, it will dissconect you and say "server is pretending to be 1.7.7".
1
09/05/2013 2:56 pm
Level 11 : Journeyman Warrior
UnTamedWolf
UnTamedWolf's Avatar
wow thx i have this plugin ut i never knew how to make this this relly helps
1
09/06/2013 5:07 am
Level 4 : Apprentice Engineer
MrSecurity1
MrSecurity1's Avatar
Anytime :p
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome