Skip to content

Potion Restrict potion-restrict

This feature allows you to restrict players getting certain potion effects.

Config

potions

This section defines all potion effect restrictions. A potion effect restriction is defined as:

    block-str3:
      type: STRENGTH
      amplifier: 2 # Can be left out to ENTIRELY prevent strength
      message: '&cStrength 3 is disabled on the server!'
Where block-str3 is an arbitrary identifier.

type

This is the type of potion effect to apply to. Refer to XPotion Documentation for a list of potion effects.

amplifier

This is optional. If included it will block this level and up of potions. Otherwise, all levels of the potion are blocked.

message

This is optional. If included this message will be sent to players who would have broken the potion rule.

Command

There is no command for this feature.

Permissions

  • Base Level - Nothing.
  • Admin Level - Bypass potion restrictions.