If you own an original Captain Coconut pedal, this is the wrong adaptor. You need the version that has a 2.1mm plug. Available on the Foxrox Accessories page.
Note: If you are wiring your own adapter, there is no need to address polarity. With AC, there is no "center ground" or "center positive".