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

Method VersionCommand

src/endstone/core/command/defaults/version_command.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace endstone::core {
24
25VersionCommand::VersionCommand() : EndstoneCommand("version")
26{
27 setDescription("Gets the version of this server including any plugins in use.");
28 setUsages("/version", "/version ()[plugin: PluginName]");
29 setAliases("ver", "about");
30 setPermissions("endstone.command.version");
31}
32
33bool VersionCommand::execute(CommandSender &sender, const std::vector<std::string> &args) const
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected