Пример #1
0
        private void AddServer(string Username, string ServerName, string StartFile, string ServerArgs)
        {
            ServerModifier serverModifier = new ServerModifier(MoonResource.ServerIP, MoonResource.ServerPort);

            serverModifier.CreateServer(Username, ServerName);
            serverModifier.WriteSetting(Username, ServerName, "STARTFILE", StartFile);
            serverModifier.WriteSetting(Username, ServerName, "SERVERARGS", ServerArgs);
        }
Пример #2
0
 private void button11_Click(object sender, EventArgs e)
 {
     Console.WriteLine(mod.WriteSetting(Username, Server, "TE", "est"));
 }