public ConsoleCommand Register(ConsoleCommand command) { Commands.Add(Commands.Count, command); return command; }
public ConsoleCommand Register(string command) { if (String.IsNullOrEmpty(command)) return null; ConsoleCommand cc = new ConsoleCommand(command); cc.plugin = plugin; return Register(cc); }