I’m playing in Solo SkyWars a lot, and during the pvp me or my opponent can just open chest and die, it’s so annoying.
You can make that when player 1 hit player 2, they join in PvP status and both can’t loot chests. If one of players don’t get hits or don’t hit anyone for 5 seconds, this player quit from PvP status. If anyone hit player when them is already in PvP status, their PvP status time will refresh. You can make time counter in XP bar for players can understand when they will can loot chests.
You can make that when player 1 hit player 2, they join in PvP status and both can’t loot chests. If one of players don’t get hits or don’t hit anyone for 5 seconds, this player quit from PvP status. If anyone hit player when them is already in PvP status, their PvP status time will refresh. You can make time counter in XP bar for players can understand when they will can loot chests.