Detects when a player pops a custom totem named "Totem of Null" via the used_totem advancement trigger, executes a function that kills all online players on team Null, and revokes the advancement for reuse. Includes the exact 1.21 component give command for the custom totem with a vanishing curse enchantment.
About
Adds a craftable Enchanted Ender Pearl (gold ingots with center pearl) that when thrown at any entity teleports the player into that entity's head, creating a 100x100 void dimension box. The pearl has Unbreaking 10000 and a custom texture. Players can sleep only at night in the overworld, set spawnpoint in the head, respawn there on death, and build/break everything except barriers. Works in singleplayer and multiplayer.