how to make a flat world in Minecraft Java Minecraft Servers

how to make a flat world in Minecraft Java