Source code of WorldEffects plugin found on BukkitDev: http://dev.bukkit.org/bukkit-plugins/worldeffects/