Query

This page provides information about the query system, which is used to retrieve data from the Top Holder.

Format

The format of a query is as follows:

<holder>;<type>;<args>
  • <holder>: The Top Holder to query.
  • <type>: The type of data to retrieve.
  • <args>: Additional arguments for the query.

If the <type> does not require any arguments, the query can be simplified to:

<holder>;<type>

Types

TypeArgumentDescriptionExampleExplanation
top_name<position>The name of the player at the specified position.money;top_name;1Retrieve the name of the player at the first position in the Top Holder named money
top_key<position>The UUID of the player at the specified position.money;top_key;1Retrieve the UUID of the player at the first position in the Top Holder named money
top_value<position>The value of the player at the specified position.money;top_value;1Retrieve the value of the player at the first position in the Top Holder named money
top_value<position>;<format>The formatted value of the player at the specified position.money;top_value;1;#,###Retrieve the formatted value of the player at the first position in the Top Holder named money
top_value_raw<position>The raw value of the player at the specified position.money;top_value_raw;1Retrieve the raw value of the player at the first position in the Top Holder named money
top_rankThe rank of the player.money;top_rankRetrieve the rank of the player in the Top Holder named money
valueThe value of the player.money;valueRetrieve the value of the player in the Top Holder named money
value<format>The formatted value of the player.money;value;#,###Retrieve the formatted value of the player in the Top Holder named money
value_rawThe raw value of the player.money;value_rawRetrieve the raw value of the player in the Top Holder named money