Skip to content

PlaceholderAPI

The plugin provides a PlaceholderAPI placeholder to allow you to query data from the Top Holder.

%topper_<query>%

Check the Query section for more information about how to set the <query>.

The name of the Holder used in examples

The position used in examples

  • Format:
    • %topper_money;top_name;1%
  • Description: The name of the player at the specified position.
  • Argument:
    • <holder>: The name of the Holder
    • <position>: The position of the player in the Holder
  • Example:
    • %topper_money;top_name;1%
      • Retrieve the name of the player at position 1 in the Holder named money
  • Format:
    • %topper_<holder>;top_key;<position>%
  • Description: The UUID of the player at the specified position.
  • Argument:
    • <holder>: The name of the Holder
    • <position>: The position of the player in the Holder
  • Example:
    • %topper_money;top_key;1%
      • Retrieve the UUID of the player at position 1 in the Holder named money
  • Format:
    • %topper_<holder>;top_value;<position>%
    • %topper_<holder>;top_value;<position>;<format>%
  • Description: The value of the player at the specified position.
  • Argument:
    • <holder>: The name of the Holder
    • <position>: The position of the player in the Holder
    • <format>: A number format pattern, see Value Display for more details on how to apply a format
  • Example:
    • %topper_money;top_value;1%
      • Retrieve the value of the player at position 1 in the Holder named money
    • %topper_money;top_value;1;#,###%
      • Retrieve the formatted value of the player at position 1 in the Holder named money, in the format of #,###
  • Format:
    • %topper_<holder>;top_value_raw;<position>%
  • Description: The raw value of the player at the specified position.
  • Argument:
    • <holder>: The name of the Holder
    • <position>: The position of the player in the Holder
  • Example:
    • %topper_money;top_value_raw;1%
      • Retrieve the raw value of the player at position 1 in the Holder named money
  • Format:
    • %topper_<holder>;top_rank%
    • %topper_<holder>;top_rank;<format>%
  • Description: The player’s rank (position number) in the specified Holder.
  • Argument:
    • <holder>: The name of the Holder
    • <format>: A number format pattern, see Value Display for more details on how to apply a format
  • Example:
    • %topper_money;top_rank%
      • Retrieve the rank of the player in the Holder named money
    • %topper_money;top_rank;#,###%
      • Retrieve the formatted rank of the player in the Holder named money
  • Format:
    • %topper_<holder>;top_size%
  • Description: The amount of entries in the Holder.
  • Argument:
    • <holder>: The name of the Holder
  • Example:
    • %topper_money;top_size%
      • Retrieve the amount of entries in the Holder named money
  • Format:
    • %topper_<holder>;value%
    • %topper_<holder>;value;<format>%
  • Description: The value of the player.
  • Argument:
    • <holder>: The name of the Holder
    • <format>: A number format pattern, see Value Display for more details on how to apply a format
  • Example:
    • %topper_money;value%
      • Retrieve the value of the player in the Holder named money`
    • %topper_money;value;#,###%
      • Retrieve the formatted value of the player in the Holder named money
  • Format:
    • %topper_<holder>;value_raw%
  • Description: The raw value of the player.
  • Argument:
    • <holder>: The name of the Holder
  • Example:
    • %topper_money;value_raw%
      • Retrieve the raw value of the player in the Holder named money