Download a server pack for the same version of minecraft your pack uses. Delete the config/mods folders and replace them with the ones from your pack. Now delete any client side only mod, things like inventory tweaks, minimaps, optifine, etc. Run the bat/sh and there you go.