示例#1
0
 private void cmdExport(ConsoleSystem.Arg arg)
 {
     if (arg.connection != null)
     {
         return; // Allow this only from (real) console as the server will most likely hang
     }
     RconUtil.MapExport(arg, oxideDataDir);
 }
示例#2
0
 private void cmdExport(ConsoleSystem.Arg arg)
 {
     if (rustWeb == null)
     {
         arg.ReplyWith("Server isn't initialized yet");
         return;
     }
     if (rustWeb == null || arg.connection != null)
     {
         return; // Allow this only from (real) console as the server will most likely hang
     }
     RconUtil.MapExport(arg, oxideDataDir);
 }