static void EnsureFilesExist() { EnsureDirectoryExists("properties"); EnsureDirectoryExists("levels"); EnsureDirectoryExists("bots"); EnsureDirectoryExists("text"); EnsureDirectoryExists("ranks"); RankInfo.EnsureExists(); Ban.EnsureExists(); PlayerDB.EnsureDirectoriesExist(); EnsureDirectoryExists("extra"); EnsureDirectoryExists(Paths.WaypointsDir); EnsureDirectoryExists("extra/bots"); EnsureDirectoryExists(Paths.ImportsDir); EnsureDirectoryExists("blockdefs"); EnsureDirectoryExists(IScripting.DllDir); EnsureDirectoryExists(MCGalaxy.Modules.Compiling.ICompiler.SOURCE_DIR_COMMANDS); // TODO move to compiling module EnsureDirectoryExists("text/discord"); // TODO move to discord plugin }
static void EnsureFilesExist() { EnsureDirectoryExists("properties"); EnsureDirectoryExists("levels"); EnsureDirectoryExists("bots"); EnsureDirectoryExists("text"); EnsureDirectoryExists("ranks"); RankInfo.EnsureExists(); Ban.EnsureExists(); PlayerDB.EnsureDirectoriesExist(); EnsureDirectoryExists("extra"); EnsureDirectoryExists(Paths.WaypointsDir); EnsureDirectoryExists("extra/bots"); EnsureDirectoryExists(Paths.ImportsDir); EnsureDirectoryExists("blockdefs"); EnsureDirectoryExists(IScripting.DllDir); EnsureDirectoryExists(ICompiler.SourceDir); EnsureDirectoryExists("text/discord"); // TODO move to discord plugin }