Following on from the positive potion effects in the last update, version 1.2.3 now includes 6 potion effects that will be applied to unwanted visitors.
Hunger (EFFECT_HUNGER_NONALLOWED) - Adds Hunger III
Weakness (EFFECT_WEAKNESS_NONALLOWED) - Adds Weakness III
Confusion (EFFECT_CONFUSION_NONALLOWED) - Adds Confusion III
Blindness (EFFECT_BLINDNESS_NONALLOWED) - Adds Blindness I
Slow Digging (EFFECT_SLOW_DIGGING_NONALLOWED) - Adds Slow Digging I
Wither Effect (EFFECT_WITHER_NONALLOWED) - Adds Wither I
These are applied to anyone who enters the field that is not allowed.
If not a new install, add the following to your flags.yml:
Code (YAML):
EFFECT_HUNGER_NONALLOWED:
name: "&bHunger" lore: "&fApplies Hunger potion effect to a|&fplayer not allowed to the field" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
EFFECT_WEAKNESS_NONALLOWED:
name: "&bWeakness" lore: "&fApplies Weakness potion effect to a|&fplayer not allowed to the field" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
EFFECT_CONFUSION_NONALLOWED:
name: "&bConfusion" lore: "&fApplies Confusion potion effect to a|&fplayer not allowed to the field" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
EFFECT_BLINDNESS_NONALLOWED:
name: "&bBlindness" lore: "&fApplies Blindness potion effect to a|&fplayer not allowed to the field" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
EFFECT_SLOW_DIGGING_NONALLOWED:
name: "&bSlow Digging" lore: "&fApplies Slow Digging potion effect to a|&fplayer not allowed to the field" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
EFFECT_WITHER_NONALLOWED:
name: "&bWither Effect" lore: "&fApplies Wither potion effect to a|&fplayer not allowed to the field" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false