Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Placeholder API

Caden Kriese edited this page May 27, 2017 · 2 revisions

Thirst has had support for PlaceholderAPI since version 1.0.1.

Placeholder prefix

The placeholder prefix has changed throughout versions, here are all the prefixes based on versions. Incase you don't know what a placeholder prefix is it is the text that comes before the placeholder for instance in version 1.4.1 to get a players thirst you would do %gkthirst_thirstpercent% Vs. in version 1.2.1 you would do %thirst_thirstpercent%. Also keep in mind that versions 1.0.1-1.3.1 do not have support for Featherboard.

1.4.1: gkthirst 1.3.2: thrst 1.0.1-1.3.1: thirst

Placeholders

As of the latest version we have 4 placeholders, but feel free to suggest more in the discussion.

  • %gkthirst_thirstmessage% || Displays the thirst message defined in the config.
  • %gkthirst_thirstbar% || Displays the players thirstbar.
  • %gkthirst_thirstpercent% || Displays the percent of thirst the player has left with color codes.
  • %gkthirst_thirstremovalspeed% || Displays the speed at which a players thirst is being removed in seconds.
  • %gkthirst_thirstremovalamount% || Displays the amount of thirst that is removed every thirstremovalspeed.

MVDWPlaceholderAPI

As of version 1.8.1 MVDWPlaceholderAPI is also supported with the same placeholders as PlaceholderAPI just with {} surrounding them instead of %%.

Clone this wiki locally