Ejemplo n.º 1
0
 public TSConfig()
 {
     commands = new TSCommand[] { new TSCommand("Rules", "/rules", "Rules\\rules.txt", new Dictionary<string, string> { { "vip", "Rules\\vip-rules.txt" } }),
                                  new TSCommand("Help", "/help", "Help\\help.txt", new Dictionary<string, string> { { "admin", "Help\\admin-help.txt" }, { "trustedadmin", "Help\\tadmin-help.txt" } }) };
     motd_enabled = false;
     motd = new TSMotds("Motd\\motd.txt", new Dictionary<string, string> { { "guest", "Motd\\guest-motd.txt" }, { "vip", "Motd\\vip-motd.txt" } });
     pagination_header_format = "%150,255,150%%commandname - Page %current of %count | %command <page>";
     news_file = "news.txt";
     news_lines = 1;
     disclude_from_playerswg = new string[] { "superadmin" };
 }
Ejemplo n.º 2
0
 public TSConfig()
 {
     commands = new TSCommand[] { new TSCommand("Rules", "/rules", "Rules\\rules.txt", new Dictionary <string, string> {
             { "vip", "Rules\\vip-rules.txt" }
         }),
                                  new TSCommand("Help", "/help", "Help\\help.txt", new Dictionary <string, string> {
             { "admin", "Help\\admin-help.txt" }, { "trustedadmin", "Help\\tadmin-help.txt" }
         }) };
     motd_enabled = false;
     motd         = new TSMotds("Motd\\motd.txt", new Dictionary <string, string> {
         { "guest", "Motd\\guest-motd.txt" }, { "vip", "Motd\\vip-motd.txt" }
     });
     pagination_header_format = "%150,255,150%%commandname - Page %current of %count | %command <page>";
     news_file  = "news.txt";
     news_lines = 1;
     disclude_from_playerswg = new string[] { "superadmin" };
 }