1.x/Evil NPCs: Difference between revisions

From Citizens Wiki

< 1.x

No edit summary
 
(15 intermediate revisions by 3 users not shown)
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 with the configurable tame item in mobs.yml and they will become toggleable. They just want to fit in!
{{NoSupport}}
'''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. Once tamed, they can be toggled to become any NPC type. They just want to fit in! Evil NPCs can be controlled with the evil: node in [[mobs.yml]].
 
Evil NPCs are included in the core of Citizens and thus so do not require an additional types JAR.


== Configuration Nodes ==
== Configuration Nodes ==
These nodes can be found in ''mobs.yml''.
These nodes can be found in [[mobs.yml]].
 
<pre>evil:
  spawn:
    spawn: true  # Whether to spawn evil NPCs. Default is false.
    max: 5        # Number of NPCs to spawn. Default is 2.
    chance: 100  # Chance of NPSs spawning after delay: node setting in mobs.yml.
 
  items:
    tame-item: 377          # Blaze Powder
    drops: 260,357,2256,    # List of possible drops for an evil NPC.
                            # Note: Leave a trailing comma.
 
  misc:
    tame-chance: 50          # Percentage chance Evil NPC will be tamed
                              # by right-clicking with tame-item.
    names: Bandit,Herobrine,  # Names of the Evil NPCs.
                              # Note: Leave a trailing comma.
    health: 20                # For reference, standard player health is 20
    failed-tame-messages: The blaze powder fails to calm your subject.;POOF! Nothing.
</pre>
 
==Related Permissions==
 
See [[Permissions]] for information on how to use permissions.  The listed permission nodes below relate to Mobs.yml and Evil NPCs.


'''Setting''' - path of the setting
<pre>citizens.evils.immune  # Those with this node will not be attacked by Evil NPCs</pre>
<br>'''Default Value''' - default value of the setting
<br>'''Description''' - short description of the setting


{| class="wikitable" style="text-align: center;"
{{NavBox}}
! style="width: 250px;" | Setting
[[Category:Citizens1]]
! 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
|}

Latest revision as of 12:20, 19 February 2012

Not Supported!
This page is about Citizens 1.x, while the current version is Citizens 2.0.2. This page's content may be outdated, and shouldn't be trusted as being correct. See this page's talk page for more information. If you were looking for the 2.0.2 equivalent of this page, try Evil NPCs. If you feel this message was displayed in error, please contact an administrator.

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. Once tamed, they can be toggled to become any NPC type. They just want to fit in! Evil NPCs can be controlled with the evil: node in mobs.yml.

Evil NPCs are included in the core of Citizens and thus so do not require an additional types JAR.

Configuration Nodes

These nodes can be found in mobs.yml.

evil:
  spawn:
    spawn: true   # Whether to spawn evil NPCs. Default is false.
    max: 5        # Number of NPCs to spawn. Default is 2.
    chance: 100   # Chance of NPSs spawning after delay: node setting in mobs.yml.

  items:
    tame-item: 377          # Blaze Powder 
    drops: 260,357,2256,    # List of possible drops for an evil NPC.
                            # Note: Leave a trailing comma.

  misc:
    tame-chance: 50           # Percentage chance Evil NPC will be tamed 
                              # by right-clicking with tame-item.
    names: Bandit,Herobrine,  # Names of the Evil NPCs.
                              # Note: Leave a trailing comma.
    health: 20                # For reference, standard player health is 20
    failed-tame-messages: The blaze powder fails to calm your subject.;POOF! Nothing.

Related Permissions

See Permissions for information on how to use permissions. The listed permission nodes below relate to Mobs.yml and Evil NPCs.

citizens.evils.immune   # Those with this node will not be attacked by Evil NPCs