Go To Server.properties And In the Writing That Says online-Mode Do false
Separate names with a comma.