Variables
Plugin Internal Variables:
PrtMineTreasures has default internal variables that are more optimized and start with '@' to differentiate them from the placeholders used by the PlaceholderAPI plugin.
Block Event:
Variables that store values related to the block-breaking event.
VARIABLE
RETURN
@event_x
X location of the broken block.
@event_y
Y location of the broken block.
@event_z
Z location of the broken block.
@event_w
Name of the world where the block was broken.
Player Event:
Variables that store values related to the player's location and information.
VARIABLE
RETURN
@player_x
X location of the player.
@player_y
Y location of the player.
@player_z
Z location of the player.
@player_w
Name of the world where the player is located.
@player
Player's name.
Reward Event:
Variables that store values related to rewards. These variables are populated during the delivery of the reward to the player.
VARIABLE
RETURN
@item_amount
Quantity of the item to be delivered to the player.
@item_name
Name of the item to be delivered to the player.
@item_material
Material of the item to be delivered to the player.
@item_data
Data of the item to be delivered to the player.
@money
Amount of money to be given to the player.
@exp
Amount of experience to be given to the player.
Crate:
Variables that store values related to the generated crate.
VARIABLE
RETURN
@crate_left
Time in seconds until disappearance
@crate_left_hour
Remaining hours format "00", "01"
@crate_left_min
Remaining minutes format "00", "01"
@crate_left_sec
Remaining seconds format "00", "01"
Last updated