🚨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: false #you can disable format like that
  unlimited: "#FFC77AUnlimited" #need permission wfly.infinite.fly
  auto-format: true
  remove-null-values:
    enabled: true
    value: "#FFC77A0s"
  format: "#FFC77A%seconds%#FF9D00%seconds_suffixe% #FFC77A%minutes%#FF9D00%minutes_suffixe% #FFC77A%hours%#FF9D00%hours_suffixe% #FFC77A%days%#FF9D00%days_suffixe%"
  other-format:
    seconds_suffixe: "seconds"
    minutes_suffixe: "minutes"
    hours_suffixe: "hours"
    days_suffixe: "days"

AUTO FORMAT

auto-format: true

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

  remove-null-values:
    enabled: true
    value: "#FFC77A0s"

This part remove the format when equals to 0.

If placeholder return nothing, the plugin will take value.

Last updated