19 lines
496 B
C#
19 lines
496 B
C#
using NitroxModel.DataStructures.GameLogic;
|
|
using NitroxServer.ConsoleCommands.Abstract;
|
|
|
|
namespace NitroxServer.ConsoleCommands
|
|
{
|
|
internal class BackupCommand : Command
|
|
{
|
|
public BackupCommand() : base("backup", Perms.ADMIN, "Creates a backup of the save")
|
|
{
|
|
}
|
|
|
|
protected override void Execute(CallArgs args)
|
|
{
|
|
Server.Instance.BackUp();
|
|
SendMessageToPlayer(args.Sender, "World has been backed up");
|
|
}
|
|
}
|
|
}
|