This mod adds compatibility between PlayerRevive, TaCZ, and SuperbWarfare mods. It ensures that player revival mechanics work correctly when using advanced combat systems from these mods. In addition, the update fixes several issues with hitboxes, improving accuracy and consistency of damage detection across different player states. A new mechanic was also added: when a player is downed (after falling or being incapacitated), their weapons are temporarily disabled, preventing any firing until the player is revived.
All Versions
+ Add Version### Added
- Support for Superb Warfare 0.8.9.
- Automatic mixin selection for SBW 0.8.8 and 0.8.9+.
- Periodic PlayerRevive state synchronization.
- Configurable synchronization interval via stateSyncIntervalTicks.
- Vanilla /team integration: a downed player dies immediately if no other team members are online.
- killDownedPlayerWithoutOnlineTeammates configuration option.
### Fixed
- Reviving overlay getting stuck on screen.
- Players being unable to shoot after being revived.
- TaCZ and SBW client handlers now correctly respect canShootWhenDowned.
- Mixin loading errors caused by SBW 0.8.9 changing static handlers to instance methods.
- Removed SBW 0.8.9 ClickHandler no longer causes loading issues.
### Configuration
File: config/playerrevive_compat-common.toml
[general]
canShootWhenDowned = false
killDownedPlayerWithoutOnlineTeammates = true
stateSyncIntervalTicks = 100
Screen flickering while downed is not addressed by this release because it originates in the parent SBW mod.