Sentry/Configuration: Difference between revisions
From Citizens Wiki
< Sentry
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
#but will decrease Sentries responsiveness and maximum rate of fire. | #but will decrease Sentries responsiveness and maximum rate of fire. | ||
LogicTicks: 10 | LogicTicks: 10 | ||
#Whether or not Sentries in bodyguard mode always deal damage regardless of other protection plugins. | |||
BodyguardsObeyProtection: true | |||
#Whether or not Sentries are immune to damage from entites on their ignore list. Immunity to damage also prevents retaliation. | |||
IgnoreListInvincibility: true | |||
#Default stats for new Sentries | #Default stats for new Sentries | ||
DefaultStats: | DefaultStats: | ||
Line 31: | Line 35: | ||
WarningRange: 0 | WarningRange: 0 | ||
Respawn: 10 | Respawn: 10 | ||
FollowDistance: 4 | |||
#Default options for new Sentries | #Default options for new Sentries | ||
DefaultOptions: | DefaultOptions: | ||
Drops: false | Drops: false | ||
KillDrops: true | |||
Criticals: true | Criticals: true | ||
Invincible: false | Invincible: false | ||
Line 47: | Line 53: | ||
#Default target list for new Sentries. | #Default target list for new Sentries. | ||
DefaultTargets: | DefaultTargets: | ||
#- entity:monster | #- "entity:monster" | ||
#Default ignore list for new Sentries | #Default ignore list for new Sentries | ||
DefaultIgnores: | DefaultIgnores: | ||
#- entity:owner | #- "entity:owner" | ||
#Configurable messages used by all Sentries. You can use <NPC>, <PLAYER>, <ITEM>, and <AMOUNT> as placeholders. Remove a message or set it to "" to prevent it from displaying at all. | |||
GlobalTexts: | |||
Miss: "&7*** You MISS <NPC>." | |||
Hit: "&f*** You hit <NPC> for <AMOUNT> damage." | |||
Crit1: "&e*** You injure <NPC> for <AMOUNT> damage." | |||
Crit2: "&6*** You MAIM <NPC> with your <ITEM> for <AMOUNT> damage." | |||
Crit3: "&c*** You DISEMBOWEL <NPC> with your <ITEM> for <AMOUNT> damage." | |||
Block: "&7*** You fail to penetrate <NPC>'s armor." | |||
Glance: "&7*** Your blow glances off <NPC> for <AMOUNT> damage." | |||
#These are the percentage chancees of doing a certain damage to a Sentry if Criticals is turned on. Whole numbers only. Remove or Set to 0 to disable a hit type. | |||
HitChances: | |||
Miss: 4 | |||
Glance: 4 | |||
Crit1: 6 | |||
Crit2: 4 | |||
Crit3: 2 | |||
#Set the item used by each type of Sentry. Use item name or id #. | #Set the item used by each type of Sentry. Use item name or id #. | ||
Line 70: | Line 94: | ||
WitchDoctor: POTION | WitchDoctor: POTION | ||
Warlock1: ENDER_PEARL | Warlock1: ENDER_PEARL | ||
Warlock2: SKULL_ITEM | |||
#The following items will ADD to the sentry's base armor. | #The following items will ADD to the sentry's base armor. | ||
#Decimals are allowed but all minecraft | #Decimals are allowed but all minecraft damge is in integers. | ||
#You would need 2 items of 0.3 Armor buff to add 1 point of armor. | #You would need 2 items of 0.3 Armor buff to add 1 point of armor. | ||
ArmorBuffs: | ArmorBuffs: | ||
Line 136: | Line 161: | ||
- DIAMOND_BOOTS | - DIAMOND_BOOTS | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 03:15, 3 July 2013
The first time you load Sentry it will create /Sentry/config.yml. This file can be used to adjust server-wide options for Sentry. After changing this file call /sentry Reload to reload it.
New versions of Sentry will NOT make a new file if it exists already, so keep an eye on this page in case more options are added or changed.
Note: all Items can be matched by name or id. I know some users would like to match on data value and/or enchantment value. This will be added in the future.
Code: Sentry config.yml |
{{{2}}} |