Files
Nitrox/NitroxServer/ConsoleCommands/SaveCommand.cs
2025-07-06 00:23:46 +02:00

19 lines
460 B
C#

using NitroxModel.DataStructures.GameLogic;
using NitroxServer.ConsoleCommands.Abstract;
namespace NitroxServer.ConsoleCommands
{
internal class SaveCommand : Command
{
public SaveCommand() : base("save", Perms.MODERATOR, "Saves the map")
{
}
protected override void Execute(CallArgs args)
{
Server.Instance.Save();
SendMessageToPlayer(args.Sender, "World saved");
}
}
}