Plunger-type wavemakers are used in ocean engineering laboratories globally. However, the wave-making theories remain incomplete due to the complex geometries of the plungers. This work derives the motion equations for an arbitrary-geometry plunger to generate second-order Stokes waves, along with the generic constraints on wave parameters. Taking wedge-shaped and cylinder-shaped plungers as examples, the motion equations and constraints are detailed. Subsequently, a smoothed particle hydrodynamics (SPH) model for the plunger-induced waves is established and validated by accurately reproducing published experimental results. Finally, the SPH model is applied to simulate the wave generation by the two plungers. The computed wave profiles, water pressures, and flow velocities are compared with their analytical solutions in terms of spatial distribution and time history. Additionally, the wave field stability and the wave generation process are evaluated. The results demonstrate that second-order Stokes waves with target waveforms can be precisely generated using an arbitrary-geometry plunger-type wavemaker within a short transition distance and time, thereby verifying the reliability of the proposed wavemaker theory.