Skip to content

Conditions

milkwalk edited this page Oct 25, 2019 · 3 revisions

Conditions

There are several conditions present in XPBoost, each codition is specific to a certain plugin and only affects experience for that plugin. With conditions you are able to create boosts that affect only certain experiences (e.g. a boost that affects only vanilla and mcmmo experience).

List of conditions

  • VANILLA
  • MCMMO
  • SKILLAPI
  • HEROES
  • JOBS
  • MYPET

How to use conditions?

If you want boost to use conditions add them to the behaviour in your boost configuration, here is an example:

mcmmo_and_vanilla:
  enabled: true
  boost: 1.5
  cost: 500.0
  time: 300
  title: '&4%boost%x Vanilla & MCMMO Boost'
  item_type: SLIME_BALL
  behaviour:
    VANILLA: true
    MCMMO: true

The value of the condition determines, whether its affects are going to be on or off. This section (behaviour) is not mandatory, by default every condition that is not listed or given an explicit value is being handled as true.

Clone this wiki locally