MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / StatusCommand

Method StatusCommand

src/endstone/core/command/defaults/status_command.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace endstone::core {
22
23StatusCommand::StatusCommand() : EndstoneCommand("status")
24{
25 setDescription("Gets the status of the server.");
26 setUsages("/status");
27 setPermissions("endstone.command.status");
28}
29
30bool StatusCommand::execute(CommandSender &sender, const std::vector<std::string> &args) const
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected