DUXPLIMA Documentation

Basic Concepts

The combat tag, how a fight ends, safe zones, modules and how files and permissions work.

Almost every part of uxmPVPCore reacts to one thing: whether a player is tagged. Read this page once and the rest of the docs follow from it.

The combat tag

A player is tagged when another player hurts them, by hand or with a projectile they shot: an arrow, a trident, a snowball, a wind charge. Both players are tagged, the attacker and the victim, and every new hit starts the countdown again. Mobs, fall damage, lava and TNT tag nobody.

TermMeaning
Tagged, in combatThe player has hit or been hit by a player in the last 15 seconds (combatDuration)
AttackerThe last player who hit this player. They get the kill if the player dies or logs out
EnemyA player this player is fighting. A tagged player can have several
Damage entriesEvery hit of the fight: who, with what, how much, how far, critical or not. They feed the battle log and the rating

A hit tags only if it really happens. A hit another plugin cancels, such as one inside a claim or a WorldGuard region with PvP off, tags nobody. Each player is checked on their own: in a world listed in disabledWorlds, in a region where the combat-tag flag is denied, or with the bypass permission, that player is not tagged, while the other one still is.

See Combat Tag.

How a tag ends

EndWhenWhat follows
EXPIREDNobody hit the player for 15 seconds, or the server stoppedThe player is free again. The fight is saved in the battle log only if saveExpired is on
DEATHThe player died while taggedThe last attacker gets a kill and rating, the player a death. A battle log is saved, the head may drop and a kill message is shown
LOGOUTThe player left the server while taggedThe combat log punishments run, by default the player is killed. The last attacker gets the kill
MANUAL_REMOVE, ADMINA staff member removed the tag with /combattag untag or the menuNothing is counted

When a tagged player dies, their drops can be locked for the killer for a few seconds, see Combat Logging.

What a tag changes

While a player is tagged, the combat modules apply. Each has its own file in configs/combattag/ and can be turned off on its own.

ModuleWhile tagged
BarrierThe player cannot walk or teleport into a safe zone
TeleportTeleports are refused, ender pearls only within 1000 blocks
FlyFlying and elytra gliding are refused
CommandsOnly the commands on the list work
ItemsPicking up and dropping items are refused
BuildingBreaking and placing blocks are refused or give no drops
Item cooldownsItems can have a combat cooldown different from the normal one
Combat loggingLogging out is punished

Safe zones

A safe zone is a place where PvP is off. uxmPVPCore asks the protection plugins that are installed:

PluginSafe zone
WorldGuardA region whose pvp flag is set to deny
GriefPreventionInside any claim
uxmClaimsInside any claim

The barrier keeps tagged players out of safe zones, so a player cannot run into spawn or their claim to escape a fight. Answers are cached for 5 minutes per block; see hooks.yml.

Modules and extensions

Every part of the plugin is a module: Combat Tag, Barrier, Statistic, Battle Logs and so on. Each reads its own file, and /pvpcore reload <module> reads that file again without a restart. Modules depend on each other: Combat Logging needs Combat Tag, and Head Drops and Kill Messages need Battle Logs. See Configuration.

Extensions are optional jars put into plugins/uxmPVPCore/modules/: FFA, BlockRegen, BlockLocker and GP Expiration. See Extensions.

Statistics and rating

Kills and deaths are counted when a tag ends with a death or a logout, never from a vanilla death message. A player killed by a mob or by falling while not tagged loses nothing; a tagged player who dies the same way still gives the kill to their last attacker. With the Advanced Statistic module, every counted kill also moves rating, adds to kill streaks and can change a rank. See Statistics and Rating.

Files, messages and permissions

TopicHow it works
FilesMade from the plugin's defaults. Missing keys are added on start; a wrong value keeps its default and is reported in the console
MessagesIn the file of the module they belong to, not in one language file. Written in MiniMessage, such as <red> and <#FF635F>. Each message carries its own label, there is no shared prefix
Placeholders{token} placeholders inside messages, and PlaceholderAPI placeholders for other plugins. See Placeholders
CommandsEach module has a commands.yml with the name, aliases, permission and description of its commands
PermissionsAll uxmpvpcore.* nodes are for ops until granted. See Permissions

Related: Installation, Features