Add engine mode 2 and configuration.

This adds the engine mode 2 and configuration to Spigot.

I've tested and it works, but I didn't test whether this patch applies successfully or not.