Ahmed said Selen

make a fabric mod for 1.21.11 its a combat tag plugin when someone gets combat tagged it should do /player (name) rejoin and give that rejoined players combat tag gets refreshed if combat tag runs out the fake player leaves the game there should be ingame commands to edit combattag duration and disabling it and reenabling it

Kodari AI
KodariWed at 3:55 pm 1
CombatTagSystem
Implements a combat tag system for Minecraft Fabric 1.21.11. When a player enters combat, a fake player is spawned via /player (name) rejoin, and the real player receives a refreshed combat tag. When the tag expires, the fake player automatically leaves. Includes in-game commands to adjust combat tag duration, disable, and re-enable the system.

Which mod provides /player <name> rejoin? Also, should the fake player appear when a combat-tagged player disconnects, then leave when their tag expires?

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code