first commit
This commit is contained in:
18
NitroxServer/ConsoleCommands/SaveCommand.cs
Normal file
18
NitroxServer/ConsoleCommands/SaveCommand.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user