How to Whitelist Players:

In order to whitelist players you must first enable whitelist on your server.

Enabling the whitelist:
Type /whitelist on or /whitelist off to disable the whitelist.

Adding a player:
Type /whitelist add (username)

Removing a player:
Type /whitelist remove (username)