mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCEMP-Server.git
synced 2026-05-22 08:07:06 +00:00
11 lines
302 B
C++
11 lines
302 B
C++
#pragma once
|
|
#include "ServerCommand.h"
|
|
|
|
class BanIpCommand : public ServerCommand
|
|
{
|
|
public:
|
|
wstring getName() { return L"ban-ip"; }
|
|
wstring getUsage() { return L"/ban-ip <address|name> - Bans an IP address"; }
|
|
void execute(const wstring& args, ConsoleInputSource *src, MinecraftServer *server);
|
|
};
|