code: func StartupHooks(serverType string) error {
  	for stype, stypePlugins := range plugins {
  		if stype != "" && stype != serverType {
  			continue
  		}
  
  		for name := range stypePlugins {
  			if stypePlugins[name].StartupHook == nil {
  				continue
  			}
  
  			err := stypePlugins[name].StartupHook()
  			if err != nil {
  				return err
  			}
  		}
  	}
  
  	return nil
  }
docs: // StartupHooks executes the startup hooks defined when the
  // plugins were registered and returns the first error
  // it encounters.