Added item restrictions function and player spawning commands