Clean up of attachment and player state handling.
Store player state as Bukkit metadata to avoid potential desynchronization of state between Bukkit and zPermissions.