Switch to using PacketType in the built-in commands.

The format is now as follows:
    /packet add server play 0-255.
    
It may be possible to look up packet types by name later.