Bedrock Edition Script API addon: every 5 minutes applies a random (often illegal) enchantment to every player's main-hand item, and PvP kills drop enchanted books with 1-3 random enchantments.