Minecraft wiki entry for ban, associated text: Specifies the IP address to be added to the blacklist. Can also be a name of a online player, which represents the IP of that player.
Must be a string. And it must be in a single word (Allowed characters include: -, +, ., _, A-Z, a-z, and 0-9).