@@ -286,25 +286,25 @@ void OnPlayerReported(BasePlayer reporter, string targetName, string targetId, s
286286 } ) ;
287287 }
288288
289- object OnServerCommand ( ConsoleSystem . Arg arg )
290- {
291- if ( arg . Args == null )
292- {
293- Puts ( "On server command args null" ) ;
294- return null ;
295- }
296- ServerCommand i = new ServerCommand
297- {
298- Timestamp = System . DateTime . Now . ToString ( ) ,
299- Command = arg . cmd . Name ,
300- Arguments = string . Join ( " " , arg . Args )
301- } ;
302- GamingApiMessageQueue . Instance . AddToMessageQueue ( MessageImportance . LOW , ( System . Action success , System . Action failed ) =>
303- {
304- DefaultPluginInformation . GetInstance ( ) . NatsClient . JetStreamPublishToV0RustServersServerIdEventsCommand ( i , DefaultPluginInformation . GetServerId ( ) ) ;
305- } ) ;
306- return null ;
307- }
289+ // object OnServerCommand(ConsoleSystem.Arg arg)
290+ // {
291+ // if(arg.Args == null)
292+ // {
293+ // Puts("On server command args null");
294+ // return null;
295+ // }
296+ // ServerCommand i = new ServerCommand
297+ // {
298+ // Timestamp = System.DateTime.Now.ToString(),
299+ // Command = arg.cmd.Name,
300+ // Arguments = string.Join(" ", arg.Args)
301+ // };
302+ // GamingApiMessageQueue.Instance.AddToMessageQueue(MessageImportance.LOW, (System.Action success, System.Action failed) =>
303+ // {
304+ // DefaultPluginInformation.GetInstance().NatsClient.JetStreamPublishToV0RustServersServerIdEventsCommand(i, DefaultPluginInformation.GetServerId());
305+ // });
306+ // return null;
307+ // }
308308
309309 /**
310310 * When players are damaged
0 commit comments