mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Implement Realms support (#1533)
Resolve #51 * Realms: update to new API; fix HTTP Get * Realms: suggested changes Co-authored-by: ORelio <ORelio@users.noreply.github.com> * Realms: suggested changes Co-authored-by: ORelio <ORelio@users.noreply.github.com> * Add negative number support for JSON parser * Nice print realms worlds result * Option to join Realms world with world ID * Suggested changes Co-authored-by: ORelio <ORelio@users.noreply.github.com> * Failure handle Co-authored-by: ORelio <ORelio@users.noreply.github.com> * world id paired with index * fix text * Clean up the code a bit * Add setting for displaying Realms worlds * Rename Realms worlds setting * Put messages into translation file Co-authored-by: Zizhen Lian <zizhlian@umd.edu> Co-authored-by: ORelio <ORelio@users.noreply.github.com> Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
This commit is contained in:
parent
d7089c534f
commit
621e5e2200
6 changed files with 129 additions and 11 deletions
|
|
@ -99,6 +99,7 @@ namespace MinecraftClient
|
|||
public static bool ResolveSrvRecordsShortTimeout = true;
|
||||
public static bool EntityHandling = false;
|
||||
public static bool AutoRespawn = false;
|
||||
public static bool MinecraftRealmsEnabled = true;
|
||||
|
||||
// Logging
|
||||
public enum FilterModeEnum { Blacklist, Whitelist }
|
||||
|
|
@ -308,6 +309,7 @@ namespace MinecraftClient
|
|||
case "autorespawn": AutoRespawn = str2bool(argValue); break;
|
||||
// Backward compatible so people can still enable debug with old config format
|
||||
case "debugmessages": DebugMessages = str2bool(argValue); break;
|
||||
case "minecraftrealms": MinecraftRealmsEnabled = str2bool(argValue); break;
|
||||
|
||||
case "botowners":
|
||||
Bots_Owners.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue