1.x/Evil NPCs: Difference between revisions

From Citizens Wiki

< 1.x

No edit summary
No edit summary
Line 1: Line 1:
Evil NPCs are the most misunderstood of all Citizens NPC types. Upon seeing you, they will attack. Tame these poor creatures by right-clicking them with the configurable tame-item in mobs.yml. Once tamed, they can be toggled to become any NPC type. They just want to fit in!
'''Evil NPCs''' are the most misunderstood of all Citizens NPC types. Upon seeing you, they will attack. Tame these poor creatures by right-clicking them with the configurable tame-item in mobs.yml. Once tamed, they can be toggled to become any NPC type. They just want to fit in!


== Configuration Nodes ==
== Configuration Nodes ==
Line 44: Line 44:
| 5
| 5
| chance that right-clicking an evil NPC will tame it
| chance that right-clicking an evil NPC will tame it
|}
== Permissions ==
'''Permission''' - permission node
<br>'''Description''' - description of permission node
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Permission
! style="width: 500px;" | Description
|-
| citizens.evils.immune
| Tells evil NPCs not to attack you
|}
|}

Revision as of 17:11, 2 September 2011

Evil NPCs are the most misunderstood of all Citizens NPC types. Upon seeing you, they will attack. Tame these poor creatures by right-clicking them with the configurable tame-item in mobs.yml. Once tamed, they can be toggled to become any NPC type. They just want to fit in!

Configuration Nodes

These nodes can be found in mobs.yml.

Setting - path of the setting
Default Value - default value of the setting
Description - short description of the setting

Setting Default Value Description
evil.spawn.spawn false Whether to spawn evil NPCs
evil.spawn.max 2 Maximum amount of evil NPCs to spawn
evil.spawn.chance 100 chance that an evil NPC can spawn
evil.items.tame-item 354 ID of the item used to tame an evil NPC
evil.items.drops 260,357,2256, list of possible drops for an evil NPC, leave a trailing comma
evil.misc.failed-tame-messages Ha! You can't tame me!;Nice try, <name>!;Muahahaha, I am evil!; list of messages that could be sent when a player fails at taming an evil NPC, leave a trailing semi-colon
evil.misc.names Evil_aPunch,Evil_fullwall,Evil_Notch,Herobrine, list of names that an evil NPC can spawn with, leave a trailing comma
evil.misc.tame-chance 5 chance that right-clicking an evil NPC will tame it

Permissions

Permission - permission node
Description - description of permission node

Permission Description
citizens.evils.immune Tells evil NPCs not to attack you