Sentry/Configuration: Difference between revisions
From Citizens Wiki
< Sentry
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
#Set the item used by each type of Sentry. Use item name or id #. Remove an entry to disable that attack type. Any other item makes a Brawler. | #Set the item used by each type of Sentry. Use item name or id #. | ||
#Remove an entry to disable that attack type. Any other item makes a Brawler. | |||
AttackTypes: | AttackTypes: | ||
Archer: BOW | Archer: BOW | ||
Line 58: | Line 59: | ||
WitchDoctor: POTION | WitchDoctor: POTION | ||
#The following items will ADD to the sentry's base armor. Decimals are allowed but all minecraft damamge is in integers. You would need 2 items of 0.3 Armor buff to add 1 point of armor. | #The following items will ADD to the sentry's base armor. | ||
#Decimals are allowed but all minecraft damamge is in integers. | |||
#You would need 2 items of 0.3 Armor buff to add 1 point of armor. | |||
ArmorBuffs: | ArmorBuffs: | ||
#- IRON_HELMET 1.0 | #- IRON_HELMET 1.0 | ||
Line 82: | Line 85: | ||
- SNOW_BALL slow:20 | - SNOW_BALL slow:20 | ||
#- GOLD_SWORD poison:60:2 confusion | #- GOLD_SWORD poison:60:2 confusion | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Revision as of 22:35, 13 September 2012
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}}} |