Adds 4 new events: `onPreStart`, `onPostStart`, `onPreStop`, `onPostStop`. `onPreStart` is the same as using the existing `server.after()` method.
Adds 4 new events:
onPreStart,onPostStart,onPreStop,onPostStop.onPreStartis the same as using the existingserver.after()method.