Skip to content

Commit

Permalink
Disable Redis check.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNexusAvenger committed Mar 2, 2021
1 parent 186b159 commit 230c261
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions NLUL.Core/Server/Emulator/UchuServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,20 @@ private void CreateConfig()
{"ScriptDllSource","../../../../Uchu.StandardScripts/bin/Debug/" + this.GetDotNetVersion() + "/Uchu.StandardScripts.dll"},
};
}

if (!this.state.ConfigOverrides.ContainsKey("Networking"))
{
this.state.ConfigOverrides["Networking"] = new Dictionary<string,object>()
{
{"WorldPort",new List<int>() {2003,2004,2005,2006,2007,2008,2009,2010,2011,2012}},
};
}
if (!this.state.ConfigOverrides.ContainsKey("Cache"))
{
this.state.ConfigOverrides["Cache"] = new Dictionary<string,object>()
{
{"UseService","false"},
};
}

// Write and re-read the state to ensure the objects are consistent.
this.WriteState();
Expand All @@ -233,9 +239,6 @@ public List<IPrerequisite> GetPrerequisites()
new DotNet5(Path.Combine(this.serverInfo.ServerFileLocation,"Tools")),
new UnpackedLegoUniverseClient(this.serverInfo.SystemInfo),
};

// TODO: Detect PostgresSQL install
// TODO: Redis support?
}

/*
Expand Down

0 comments on commit 230c261

Please sign in to comment.