示例#1
0
        //PostInit is called after all of the plugins have been initialized. At this point you can request features from other plugins.
        public override void PostInit()
        {
            steamcmd                  = features.RequestFeature <Steamcmdhelper>(); //Get a copy of a steamcmd helper.
            steamcmd.CurrentApp       = steamcmd.GetAppInfo(258550);                //Rust dedicated server
            steamcmd.WorkingDirectory = settings.Rust.SteamCMDPath;

            app.PostInit();
        }