Do you have random players that keep joining and griefing your server? Do they keep joining and try to use the nuker hack on your server to delete your amazing spawn? If your server is friends only, and you want to stop these players from randomly joining your server, you should set up “Whitelisting”. This article will cover how to use Whitelisting.
Getting Started
Open your server.properties file, and locate the white-list setting. Changing this from false to true will stop people from joining your server unless they are in the whitelist (See below for instructions). This is one of two ways you can go about setting up whitelists. You may also enable and disable the whitelist from the console by using the command whitelist on
. Disabling the whitelist can be done by swapping out the “on” for "off.
Additional Commands
Adding players - /whitelist add <PLAYERNAME>
Remove players - /whitelist remove <PLAYERNAME>
Listing all players on the whitelist - /whitelist list
Reloading the whitelist files (If players are added via the white-list.json file) - /whitelist reload