Skip to content

Placeholders

Fulminazzo edited this page Mar 26, 2022 · 1 revision

LightFight is compatible with PlaceholderAPI and provides the user a variety of placeholders to use.

Placeholders
lightfight_timer
lightfight_timer_raw
lightfight_timer_seconds
lightfight_in_ct
lightfight_hitters
lightfight_grace
lightfight_grace_time
lightfight_grace_time_raw
lightfight_grace_time_seconds
lightfight_pvp_mode
lightfight_pve_mode
lightfight_timer_mode

lightfight_timer

Displays the current Combat Tag time of the player. If she/he is not in combat, it will display a "0". The output is in a formatted message (using the colors specified in the messages.yml at the timer section).

lightfight_timer_raw

Has the same output as lightfight_timer, but it removes every color applied from the messages.yml.

lightfight_timer_seconds

Displays the CombatTag time of a user in seconds.

lightfight_in_ct

Returns the yes-message in the messages.yml if the player is in Combat Mode, else it outputs the no-message.

lightfight_hitters

Shows the amount of players that hit a target.

lightfight_grace

Returns yes-message (messages.yml) if the player is still in Grace period, else no-message.

lightfight_grace_time

Shows the player remaining Grace time. The output is formatted using the entries found in the messages.yml at the timer section.

lightfight_grace_time_raw

Displays the same result as lightfight_grace_time but removing every color.

lightfight_grace_time_seconds

Shows the amount of seconds left before the end of Grace period.

lightfight_pvp_mode

It outputs enabled or disabled from the messages.yml if the player has her/his PvP mode active or inactive (check toggle command).

lightfight_pve_mode

Works like lightfight_pvp_mode but for PvE mode.

lightfight_timer_mode

Works like lightfight_pvp_mode and lightfight_pve_mode but for timer mode.

Clone this wiki locally