addPotion

open fun addPotion(type: String, length: Int, amplifier: Int)(source)

Simple method to add a buff to all online members

Parameters

type

the potion type

length

the length of the potion

amplifier

the strength of the potion


open fun addPotion(effect: PotionEffect)(source)