Separate names with a comma.
Comments in 'Plugin Development' started by AndrewBit, Apr 24, 2016.
I didn't see any function that do that.
How I can set the server whitelisted?
There's no direct function for it. Use Server::setConfigString("white-list", "on"). https://github.com/PocketMine/PocketMine-MP/blob/master/src/pocketmine/Server.php#L1186
Maybe you can use dispatchConsoleCommandSender and sends the command whitelist on