promotional bannermobile promotional banner
header
PotionEffectSwords avatar

PotionEffectSwords

Join the discord for help and to stay up to date!

 

 

 

Allows you to make swords have potion effects, all configurable from a file.

Example config:

#Enabled weapons MUST be here otherwise they will not work
#Put the display name here
enabled:
- 'Poison'

Poison:
  #Potion effect types are:
  #ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, GLOWING, HARM, HEAL, 
  #HEALTH_BOOST, HUNGER, INCREASE_DAMAGE, INVISIBILITY, JUMP, LEVITATION, LUCK, NIGHT_VISION, POISON, 
  #REGENERATION, SATURATION, SLOW, SLOW_DIGGING, SPEED, UNLUCK, WATER_BREATHING, WEAKNESS, WITHER
  #If effect is wrong it will NOT work
  effect: 'POISON'
  #Level of the effect
  level: 2
  #Duration in seconds
  duration: 5
  displayName: '&cPoison'