-
Notifications
You must be signed in to change notification settings - Fork 46
PlaceHolderAPI
ChanceSD edited this page Sep 21, 2023
·
34 revisions
You can use PvPManager placeholders in other plugins since it now hooks into PlaceholderAPI
If you have both PvPManager and PlaceholderAPI in your server you should be able to see a list of all available placeholders by simply running the command /papi info pvpmanager
The third column indicates placeholders exclusive to the premium version.
To change the yes
and no
to your own liking, go to PlaceholderAPI's config file and edit them under the Boolean
section
Placeholder | Description | Premium |
---|---|---|
%pvpmanager_in_combat% | Returns yes if the player is in combat |
|
%pvpmanager_combat_timeleft% | Seconds left until out of combat | |
%pvpmanager_combat_prefix% | The player's nametag prefix when in combat, empty otherwise | |
%pvpmanager_pvp_status% | Returns yes if pvp enabled, no otherwise |
|
%pvpmanager_pvp_status_prefix% | PvP On prefix or PvP Off prefix depending on PvP status | X |
%pvpmanager_pvp_command_timeleft% | Seconds until player can use /pvp again | |
%pvpmanager_is_newbie% | Returns yes if the player has newbie protection |
|
%pvpmanager_newbie_timeleft% | Seconds until newbie protection expires | |
%pvpmanager_grant_timeleft% | Seconds until temp PvP protection ends | X |
%pvpmanager_has_override% | Returns yes if the player has override enabled |
|
%pvpmanager_has_respawn_prot% | Returns yes if the player has respawn protection |
|
%pvpmanager_has_teleport_prot% | Returns yes if the player has teleport protection |
X |
%pvpmanager_current_enemy% | Shows the last attacker/tagger of the player | |
%pvpmanager_current_enemy_health% | Shows the health of the enemy player |
**If there's anything you would like added as a placeholder, feel free to ask, preferably in discord or the spigot thread!**