mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCEMP-Server.git
synced 2026-05-22 20:25:11 +00:00
Initial commit
This commit is contained in:
12
Commands/StopCommand.cpp
Normal file
12
Commands/StopCommand.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "stdafx.h"
|
||||
#include "StopCommand.h"
|
||||
#include "ServerCommand.h"
|
||||
|
||||
#include "../../Minecraft.Client/MinecraftServer.h"
|
||||
#include "../../Minecraft.Client/ConsoleInputSource.h"
|
||||
|
||||
void StopCommand::execute(const wstring& args, ConsoleInputSource *src, MinecraftServer *server)
|
||||
{
|
||||
ServerCommand::notifyAdmins(src, server, L"Stopping the server");
|
||||
MinecraftServer::HaltServer();
|
||||
}
|
||||
Reference in New Issue
Block a user