Short and simple data pack that clears a player's inventory 3 seconds after initial spawn. Will not clear a players inventory again after the first join.
Useful for modpack makers that have found themselves buried in a pile of items and tutorial books that the player spawns with.
Extract the zip file inside of your chosen world's datapack folder (in saves).
Uploaded to CurseForge for convenience.