Type “whitelist add username” in your command. For LAN games, there is no need to whitelist players. If you wish to remove a player from your whitelist, you could use “whitelist remove username”