🚨Placeholder

Placeholders
Return

%wfly_fly_remaining%

Return the time left of fly

%wfly_fly_activate%

Return true is player have fly activate

%wfly_fly_remaining_seconds%

Return time left for player in seconds

For %wfly_fly_remaining%, you can manage the format as you want :

#config.yml
format-placeholder:
  seconds: true
  minutes: true
  hours: true
  days: true
  unlimited: Unlimited
  auto-format: true
  remove-null-values:
    enabled: true
    value: '#FFC77A0 seconds'
  format: '%seconds% %minutes% %hours% %days%'
  other-format:
    seconds: '#FFC77A%seconds% #FF9D00seconds'
    minutes: '#FFC77A%minutes% #FF9D00minutes'
    hours: '#FFC77A%hours% #FF9D00hours'
    days: '#FFC77A%days% #FF9D00days'

AUTO FORMAT

If true, all values equals to 0 will remove. And if false, all format set on true will show in the placeholder.

REMOVE NULL VALUES

This part remove the format when equals to 0.

If placeholder return nothing, the plugin will take value.

Last updated