Sentry/Configuration: Difference between revisions
From Citizens Wiki
< Sentry
No edit summary |
No edit summary |
||
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 32: | Line 36: | ||
Respawn: 10 | Respawn: 10 | ||
FollowDistance: 4 | FollowDistance: 4 | ||
#Default options for new Sentries | #Default options for new Sentries | ||
DefaultOptions: | DefaultOptions: | ||
Line 49: | 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. | #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: | GlobalTexts: | ||
Miss: "&7*** You MISS <NPC>." | Miss: "&7*** You MISS <NPC>." | ||
Line 67: | Line 71: | ||
Glance: "&7*** Your blow glances off <NPC> for <AMOUNT> damage." | 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. | #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: | HitChances: | ||
Miss: 4 | Miss: 4 | ||
Line 156: | Line 160: | ||
- IRON_BOOTS | - IRON_BOOTS | ||
- 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}}} |