public void Dispose() { CommandRegistrationHelper.Unregister(Name); CommandRegistrationHelper.Unregister(Name + "2"); }
public void Ready() { CommandRegistrationHelper.Register <string>(Name, (name) => tryOrCommandLogError(() => this.Pixi(null, name)), Description); CommandRegistrationHelper.Register <string, string>(Name + "2", this.Pixi, "Import something into Gamecraft using magic. Usage: Pixi \"importer\" \"myfile.png\""); }