Add support for the player type in commands