1.x/Evil NPCs: Difference between revisions

From Citizens Wiki

< 1.x

No edit summary
Line 2: Line 2:


== Configuration Nodes ==
== Configuration Nodes ==
These nodes can be found in ''mobs.yml''.
These nodes can be found in [[mobs.yml]].


'''Setting''' - path of the setting
'''Setting''' - path of the setting

Revision as of 03:13, 29 January 2012

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