pvplives-1.0.0_neoforge-1.21.1.jar
Curse Maven Snippet
What's new
Introduces PvP Lives, a configurable limited-lives system in which players lose lives when killed by other players. Players are eliminated upon reaching zero lives.
Lives System:
- Configurable maximum number of lives per player.
- Configurable option to count self-inflicted deaths.
- Configurable option to count all deaths, including environmental and mob-related deaths.
- Automatically adjusts remaining lives when the maximum number of lives changes.
- Lives persist across sessions and server restarts.
Protection System:
- Prevents the loss of lives during a configurable protection period after respawning or joining a world for the first time.
- Independently configurable initial and respawn protection durations.
- Configurable aggression damage threshold for forfeiting protection.
- Configurable inactivity period after which accumulated aggression resets.
- Killing another player immediately forfeits protection, regardless of accumulated aggression.
- Protection timers pause while players are offline.
Elimination:
- Two configurable elimination modes: Ban and Spectator.
- Eliminated players can be revived by administrators.
- Supports offline player revival.
Interface:
- Displays remaining, lost, and protected lives through a dedicated heart overlay.
- Animated hearts indicate when protection is at risk.
- Displays remaining protection time, with a configurable keybind to toggle its visibility.
- Automatically repositions the overlay to avoid overlapping potion-effect icons.
- Notifies players when protection is forfeited or expires.
Commands:
/pvplives status — Inspect a player's status. /pvplives setlives — Set a player's remaining lives. /pvplives revive — Restore a player's lives. /pvplives eliminate — Eliminate a player. /pvplives setprotection — Set a player's remaining protection duration in ticks. /pvplives unprotect — Remove a player's protection. /pvplives testdeath — Simulate the loss of a PvP life.
Developer API:
- Public Java API for querying and modifying lives, protection, and elimination status.
- Supports third-party add-ons and compatibility integrations.
Localization:
- English
- Mexican Spanish
- Brazilian Portuguese
- Russian
This mod has no additional files