RelCon Expansion
A PlaceholderAPI expansion that allows you to display "hidden" text for players with a specific permission you set in the placeholder itself. It only provides relation placeholders, so the plugin you'll use them in should be supporting relation placeholders from PlaceholderAPI.
Placeholders
%rel_relcon_<player/viewer>_<permission>_<text1>_[text2]%
<player/viewer> (Required field)
This field is to pick who should have the permission to display the text.
player is the first player (the sender).
viewer is the second player (the viewer).
<permission> (Required field)
The permission that the second player should have to be able to see the text you set.
Supports any PlaceholderAPI placeholder to be used here, but the placeholder should be inside {} instead of %% .
<text1> (Required field)
The text that will be displayed if the second player has the permission.
Supports any PlaceholderAPI placeholder to be used here, but the placeholder should be inside {} instead of %% it also supports new lines, just add {nl} to add a new line.
[text2] (Optional field)
The text that will be displayed if the second player doesn't have the permission.
Supports any PlaceholderAPI placeholder to be used here, but the placeholder should be inside {} instead of %% it also supports new lines, just add {nl} to add a new line. If no value is set, it will return the value in PlaceholderAPI config file.
Default value: &cYou don't have permission to see this
Example
This expansion is made specificly to add hidden tooltips for DeluxeChat plugin but as mentioned above, it will work with any plugin that supports relation placeholders.
Eaxmple of use in DeluxeChat:
%rel_relcon_viewer_tooltip.staff_{nl}&8&l&m {nl}&6&lJailed &8&l» &7{essentials_jailed}_ %

As aBooDyy is the second player (the viewer), it picked him to check if he has the permission or not since we picked viewer in the placeholder. If we picked player it will check if Bot1 has the permission.
Download
You download it automatically using PAPI download commands:
/papi ecloud download RelCon
/papi reload
Or you can download it manually from here and put it in the expansions folder (Path: /plugins/PlaceholderAPI/expansions/ )
Something went wrong with it? Open a new issue in GitHub and we will figure it out!
Feel free to leave a review about this expansion.
Review section isn't for support.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta