mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-26 17:07:55 +00:00
Notably also adds some metadata files for NixOS * add support for linux clang cross compiles * add linux clang instructions * un-capitalize Mob.horse.* * update the description in flake.nix --------- Co-authored-by: Loki <lokirautio@gmail.com>
21 lines
666 B
C++
21 lines
666 B
C++
#pragma once
|
|
|
|
#include "../IServerCliCommand.h"
|
|
|
|
namespace ServerRuntime
|
|
{
|
|
/**
|
|
* Applies a dedicated-server player ban using Java Edition style syntax and Access-backed persistence
|
|
* Java Edition 風の ban コマンドで永続プレイヤーBANを行う
|
|
*/
|
|
class CliCommandBan : public IServerCliCommand
|
|
{
|
|
public:
|
|
virtual const char *Name() const;
|
|
virtual const char *Usage() const;
|
|
virtual const char *Description() const;
|
|
virtual bool Execute(const ServerCliParsedLine &line, ServerCliEngine *engine);
|
|
virtual void Complete(const ServerCliCompletionContext &context, const ServerCliEngine *engine, std::vector<std::string> *out) const;
|
|
};
|
|
}
|