Files
Server/OwnChar.Server/Commands/CmdSave.cs

18 lines
523 B
C#

using Pilz.Plugins.Advanced;
namespace OwnChar.Server.Commands
{
public class CmdSave() : PluginFunction(IServerCommand.FeatureCode, "ownchar.save"), IPluginFeatureProvider<CmdSave>, IServerCommand
{
public static CmdSave Instance { get; } = new();
public string Command => "save";
public string Description => "Saves the current state to disk.";
protected override object? ExecuteFunction(PluginFunctionParameter? @params)
{
return this;
}
}
}