I need a /fly command for my plugin, and I want to know if setAllowFlight(true) gives players the ability to fly in any gamemode. If not, how can I put players in fly mode (give them the ability to fly in survival)?
Yes it gives the player you call it on it ability to fly like in creative, but in any gamemode. (fyi, setting it to false in Creative works too) No, that function has nothing to do with the server.properties setting.