Totem Guard System

About

Creates an OP-only enchanted totem that activates permanent NPC guards when placed in the offhand. Spawns 30 Citizens NPCs (29 black-skinned soldiers in maxed Netherite armor plus one elytra-wearing leader) that navigate naturally, follow the owner, and reform when idle. Tracks multiple hostile players simultaneously, assigning guard groups to pursue each target independently. Guards return when targets die or leave visibility range. Totem cannot be dropped or transferred, persists across disconnects, and works for both Java and Bedrock players via Geyser.