Exemplo n.º 1
0
 private void cmdDumpObjects(ConsoleSystem.Arg arg)
 {
     if (arg.connection != null)
     {
         return; // Allow this only from (real) console as the server will most likely hang
     }
     RconUtil.MapDumpGameObjects(arg);
 }
Exemplo n.º 2
0
 private void cmdReloadConfig(ConsoleSystem.Arg arg)
 {
     if (arg.connection != null)
     {
         return;
     }
     RconUtil.WebReloadConfig(arg);
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
0
 private void cmdDumpObjects(ConsoleSystem.Arg arg)
 {
     if (rustWeb == null)
     {
         arg.ReplyWith("Server isn't initialized yet");
         return;
     }
     if (arg.connection != null)
     {
         return; // Allow this only from (real) console as the server will most likely hang
     }
     RconUtil.MapDumpGameObjects(arg);
 }
Exemplo n.º 5
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);
 }