Fixed master address, admin cheats (money, needs, goto/bring), docs page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 21:56:17 +02:00
co-authored by Claude Opus 5.5
parent bf01651ccd
commit b408be7559
8 changed files with 158 additions and 19 deletions
+1 -6
View File
@@ -13,10 +13,9 @@ namespace MSCO
"disconnect - leave the server / game\n" +
"host [port] / join <ip> [port] - direct LAN game (no Steam)\n" +
"save - save the game (host / singleplayer)\n" +
"/admin - admin menu (kick / ban)\n" +
"/admin - admin menu (kick / ban / teleport / cheats)\n" +
"vehicles | rig - debug info about vehicles / player models\n" +
"debug - toggle sync debug output\n" +
"master [url] - show / change the server list address\n" +
"clear - clear this console";
public static void Execute(string[] args, Action<string> print)
@@ -59,10 +58,6 @@ namespace MSCO
mp.JoinServer(host, serverPort);
break;
}
case "master":
if (args.Length > 1) ServerBrowser.MasterUrl = args[1];
print("Master server: " + ServerBrowser.MasterUrl);
break;
case "save":
mp.SaveGame();
break;