placeholders.yml

All placeholders
"%random-value%"
"%plugin-current-version%"
"%plugin-latest-version%"
"%plugin-update-link%"
"%target-name%"
"%target-uuid%"
"%player-name%"
"%player-uuid%"
"%player-balance-money%"
"%item-name%"
"%item-amount%"
"%item-durability%"
"%bypass-status%"
"%protection-damage-amount%"
"%consumable-has-effect%"
"%consumable-heal-amount%"
"%consumable-fuel-amount%"
"%tool-damage-amount%"
"%protection-too-close%"
"%protection-invite-id%"
"%protection-name%"
"%protection-type%"
"%protection-status%"
"%protection-owner-name%"
"%protection-current-tick%"
"%protection-current-tick-formatted%"
"%protection-health-amount%"
"%protection-health-capacity%"
"%protection-regen-amount%"
"%protection-regen-interval%"
"%protection-regen-interval-formatted%"
"%protection-regen-damage-delay%"
"%protection-range%"
"%protection-range-infinite%"
"%protection-generator-stored-money%"
"%protection-generator-stored-items%"
"%protection-generator-stored-items-formatted%"
"%protection-generator-stored-items-total%"
"%protection-generator-money-amount%"
"%protection-generator-money-capacity%"
"%protection-generator-money-interval%"
"%protection-generator-money-interval-formatted%"
"%protection-generator-money-timer%"
"%protection-generator-money-timer-formatted%"
"%protection-generator-item-interval%"
"%protection-generator-item-interval-formatted%"
"%protection-generator-item-timer%"
"%protection-generator-item-timer-formatted%"
"%protection-generator-slot-capacity%"
"%protection-storage-slot-capacity%"
"%protection-fuel%"
"%protection-fuel-timer-current%"
"%protection-fuel-timer-total%"
"%protection-fuel-capacity%"
"%protection-fuel-consume-interval%"
"%protection-fuel-consume-interval-formatted%"
"%protection-fuel-consume-interval-capacity%"
"%protection-fuel-consume-interval-capacity-formatted%"
"%protection-decay-timer%"
"%protection-decay-timer-formatted%"
"%protection-defense-amount%"
"%protection-defense-capacity%"
"%protection-generator-collect-money%"
"%protection-generator-collect-items%"
"%protection-fuel-price-money%"
"%permission-toggled%"
"%upgrade-price-money%"
"%upgrade-price-items%"
"%upgrade-progress-amount%"
"%upgrade-progress-capacity%"
"%upgrade-requirements%"
"%upgrade-value-health-capacity%"
"%upgrade-value-regen-amount%"
"%upgrade-value-regen-interval%"
"%upgrade-value-regen-interval-formatted%"
"%upgrade-value-range-amount%"
"%upgrade-value-generator-money-amount%"
"%upgrade-value-generator-money-interval%"
"%upgrade-value-generator-money-interval-formatted%"
"%upgrade-value-generator-money-capacity%"
"%upgrade-value-generator-items-chance%"
"%upgrade-value-generator-items-interval%"
"%upgrade-value-generator-items-interval-formatted%"
"%upgrade-value-generator-items-capacity%"
"%upgrade-value-storage-slot-capacity%"
"%upgrade-value-fuel-capacity%"
"%upgrade-value-fuel-interval%"
"%upgrade-value-fuel-interval-formatted%"
"%upgrade-value-decay-interval%"
"%upgrade-value-decay-interval-formatted%"
"%upgrade-value-decay-money-cost-modifier%"
"%upgrade-value-decay-money-cost-multiplier%"
"%upgrade-value-decay-items-cost-modifier%"
"%upgrade-value-decay-items-cost-multiplier%"
"%upgrade-value-defense-amount%"
"%upgrade-value-defense-capacity%"
"%upgrade-value-defense-scaling-factor%"
"%clicked-protection%"
"%clicked-own-protection%"
"%clicked-other-protection%"
"%clicked-protection%"
"%clicked-own-protection%"
"%clicked-other-protection%"
"%member-name%"
"%member-uuid%"
"%member-online-status%"
"%member-rank-current%"
"%member-rank-next%"
"%member-rank-previous%"
"%limit-world-min-x%"
"%limit-world-max-x%"
"%limit-world-min-y%"
"%limit-world-max-y%"
"%limit-world-min-z%"
"%limit-world-max-z%"
"%has-price%"
"%has-price-money%"
"%has-price-item%"
"%price-money%"
"%price-items%"
"%price-name%"
"%price-amount%"

Config



# ╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
# β•‘                                                    TEXT FORMAT                                                   β•‘
# β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

format:
  color-format: "adventure" # "adventure" / "legacy" / "both"
  # adventure - uses "<gray> (https://webui.advntr.dev)" --- ! RECOMMENDED ! ---
  # legacy - uses "&7" (gray)
  # both - Combines the legacy format with the adventure format in an ungodly way ----- !!! WARNINGS - CAUSES MORE LAG !!! -----
  time:
    # Add color codes for each value or modify its name
    # " <yellow> " You can add spaces before and after the value to format it even more, or any text you want
    weeks: "w" # How the number type (weeks, days, hours, etc.) will look like, example: "<gold><b>Weeks"
    days: "d"
    hours: "h"
    minutes: "m"
    seconds: "s"
    milliseconds: "ms"
  money:
    prefix: "<green>"
    suffix: "$"
  list:
    prefix: "<dark_gray>- <gray>"
    suffix: ""
  map:
    prefix: "<dark_gray>- <gray>"
    suffix: " <gray>(%map-value-amount%x)"



# ╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
# β•‘                                             PLACEHOLDER REPLACEMENTS                                             β•‘
# β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

    # NOTE
    # If you don't plan to add special rules for a placeholder you can comment it out,
    #  adding rules consumes slightly more performance. <- This applies if the placeholder is used a lot, otherwise go wild.

placeholders: # Replacements / Values
  default-null-replacement: # SPECIAL DEFAULT CASE // Fallback
    # Commenting this out will result in every null placeholder value to be "null"
    # This will apply to every placeholder that does not have its own case, see bellow
    replacements:
      null: "<yellow>Unknown"

  random-value: # Placeholder name
    replacements: # Replace the value with X if the value equals the replacement
      null:
        text: "<yellow>N/A" # Replacement
        remove-whole-line: false # If the value matches, remove the line
        remove-empty-line: false # If the value matches AND the line does not have any other text on it, remove the line
      '0':
        text: "<yellow>None"
        remove-whole-line: false
        remove-empty-line: false
  # Add as many as you want here

  bypass-status:
    replacements:
      null:
        text: "Unknown"

  protection-name:
    replacements:
      null:
        text: "N/A"

  protection-status:
    replacements:
      null:
        text: "N/A"

  protection-health-capacity:
    replacements:
      '-1':
        text: "Uncapped"

  protection-defense-capacity:
    replacements:
      '-1':
        text: "Uncapped"

  clicked-protection:
    replacements:
      null:
        text: "false"

  clicked-own-protection:
    replacements:
      null:
        text: "false"

  clicked-other-protection:
    replacements:
      null:
        text: "false"

  member-rank-current:
    replacements:
      null:
        text: "N/A"

  member-rank-next:
    replacements:
      null:
        text: "<green>None"

  member-rank-previous:
    replacements:
      null:
        text: "<red>None"

  has-price:
    replacements:
      null:
        text: "false"

  has-price-money:
    replacements:
      null:
        text: "false"

  has-price-item:
    replacements:
      null:
        text: "false"

  price-money:
    replacements:
      null:
        text: ""
        remove-whole-line: true
        remove-empty-line: false
      '0':
        text: ""
        remove-whole-line: true
        remove-empty-line: false
  price-items:
    replacements:
      null:
        text: ""
        remove-whole-line: true
        remove-empty-line: false

  protection-generator-collect-money:
    replacements:
      null:
        text: ""
        remove-whole-line: true
        remove-empty-line: false
      '0':
        text: ""
        remove-whole-line: true
        remove-empty-line: false
  protection-generator-collect-items:
    replacements:
      null:
        text: ""
        remove-whole-line: true
        remove-empty-line: false
  protection-generator-stored-items:
    replacements:
      null:
        text: ""
        remove-whole-line: true
        remove-empty-line: false
  protection-generator-stored-items-formatted:
    replacements:
      null:
        text: ""
        remove-whole-line: true
        remove-empty-line: false

  upgrade-progress-amount:
    replacements:
      null:
        text: "0"
        remove-whole-line: false
        remove-empty-line: false

  upgrade-requirements:
    replacements:
      null:
        text: "<dark_gray>- <green>None!"
        remove-whole-line: false
        remove-empty-line: false

Last updated