Skip to content
ChanceSD edited this page Aug 6, 2024 · 29 revisions

You can use PvPManager placeholders in other plugins since it 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 true 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 true if pvp enabled, false 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 true if the player has newbie protection
%pvpmanager_newbie_timeleft% Seconds until newbie protection expires
%pvpmanager_newbie_timeleft_formatted% Newbie protection time but formatted like 3 minutes 5 seconds X
%pvpmanager_grant_timeleft% Seconds until temp PvP protection ends X
%pvpmanager_has_override% Returns true if the player has override enabled
%pvpmanager_has_respawn_prot% Returns true if the player has respawn protection
%pvpmanager_has_teleport_prot% Returns true 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
%pvpmanager_global_pvp_status% Returns true if global PvP is enabled

If there's anything you would like added as a placeholder, feel free to ask, preferably in discord or the spigot thread!

Clone this wiki locally