using Pilz.Plugins.Advanced; namespace OwnChar.Server.Commands { public interface IServerCommand { // Shared public const string FeatureCode = "ownchar.server.command"; public IEnumerable Commands => PluginFeatureController.Instance.Features.Get(FeatureCode).Cast().Select(f => (IServerCommand)f.Execute()!); // Interface public string Command { get; } public string Description { get; } } }