1.x/Evil NPCs: Difference between revisions

From Citizens Wiki

< 1.x

No edit summary
No edit summary
Line 2: Line 2:


== Configuration Nodes ==
== Configuration Nodes ==
These nodes can be found in ''mobs.yml''.
'''Setting''' - path of the setting
<br>'''Default Value''' - default value of the setting
<br>'''Description''' - short description of the setting
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Setting
! style="width: 200px;" | 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
|}

Revision as of 12:54, 2 September 2011

Evil NPCs are the most misunderstood of all Citizens NPC types. Upon seeing you, they will attack. Tame these poor creatures with the configurable tame item in mobs.yml and they will become toggleable. 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