| 23 | namespace endstone::core { |
| 24 | |
| 25 | VersionCommand::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 | |
| 33 | bool VersionCommand::execute(CommandSender &sender, const std::vector<std::string> &args) const |
| 34 | { |
nothing calls this directly
no outgoing calls
no test coverage detected