To disable the nether, you have to go to the server.properties file and set the allow-nether option in line 7 to false
To disable the end, you have to go to the bukkit.yml file and set the allow-end option in line 16 to false
Then, restart the server and delete the worlds world_nether and world_the_end