ConditionalText
PluginMIT

ConditionalText

Conditional placeholder output based on other placeholders.

102
Downloads
1
Followers
1 years ago
Updated
📦
1
Versions

📖About ConditionalText

Conditional Text

Ever wanted to display a text in a hologram, scoreboard, menu or in tablist based on a player statistic, amount of currency he has, or... anything else?

This plugin is made just for that, it takes PlaceholderAPI placeholders and based on the value outputs a text into another placeholder! Simple enough, isn't it?!

Example usage

Display a message in scoreboard based on players health. If the player is under 3 health, display You're about to die!, when he's above three, but below 6, display You're still fiiine.., when he's above 6, display Healthy as ever! Got it? Good.

setting-one:
  placeholder: '%player_health%'
  rules:
    - "<3;&cYou're about to die!"
    - "<6;&eYou're fiiiine you crybaby!"
    - "&aHealthy as ever!"

Configuration

Thorough usage description here.

Getting help

Either reach out on Discord or create an issue on Github.