public static void RegisterServerListeners(Extension extension)
 {
     serverListeners.AddRange(extension.ServerEvents.Select(e => new Listener(e, extension)));
 }
 public static void RegisterClientListeners(Extension extension)
 {
     clientListeners.AddRange(extension.ClientEvents.Select(e => new Listener(e, extension)));
 }