19 lines
460 B
C#
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");
|
|
}
|
|
}
|
|
}
|