コード例 #1
0
        public void AssetsReady()
        {
            Vars.conLog.Info("====");
            Vars.conLog.Info("Cerionn's Rust Essentials v" + Vars.currentVersion + " loaded!");
            Vars.conLog.Info("----");

            getVersion();
            getAssembly();
            Vars.conLog.startLogging();
            Vars.conLog.startLoggingChat();
            _load.loadConfig();
            Vars.conLog.deleteLogs();
            Vars.conLog.deleteChatLogs();
            _load.loadRanks();
            _load.loadCommands();
            _load.loadBans();
            _load.loadPrefixes();
            Whitelist.Start();
            _load.loadKits();
            _load.loadMOTD();
            _load.loadWarps();
            Vars.loadItems();
            _load.loadController();
            Vars.cycleMOTD();
            Vars.onceMOTD();
            Vars.readDoorData();
            Vars.readFactionData();
            Vars.readCooldownData();
            Vars.readZoneData();
            Vars.readRequestData();
            Vars.readRequestAllData();
            Vars.readAlliesData();
            Vars.loopKitSaving();
            Vars.zoneTimer();
            Vars.loopRequestSaving();
            Vars.loopNudity();
            Vars.loopItems();
            Vars.originalLootTables = DatablockDictionary._lootSpawnLists;
            _load.loadTables();

            Vars.conLog.Info("====");
        }