Title pretty much says it all, I am trying to create, Load a config so you can enable and disable the recipes http://pastebin.com/8F57hiAh Code:java public class Main extends JavaPlugin { <- That bracket is errored (Red) Code:java } if (getConfig().getBoolean("villagespawner")) { ShapedRecipe villagespawner = new ShapedRecipe(new ItemStack(Material.MOB_SPAWNER,3, (short) 120)); villagespawner.shape(new String[]{"OOO","EEE","OOO"}).setIngredient('O', Material.OBSIDIAN).setIngredient('E', Material.EMERALD); Bukkit.getServer().addRecipe(villagespawner); }{ } <- That one is also red
Check your opening and closing brackets. You made an error with the brackets and most likely copied and pasted the error in multiple sections of your code, thus making it break.
The_FrosTy_Clan There is a lot of nesting going on there, which shouldn't even be there. That aside, you have a lot of misplaced/missing braces.
I rather have you do it yourself, since you will have to write a lot of brackets when writing Java. It will be good practice .