feat: shutdown command (#1780)

This commit is contained in:
David Markowitz
2025-04-24 13:41:26 -07:00
committed by GitHub
parent 1cc1782b35
commit b31f9670d1
4 changed files with 17 additions and 0 deletions

View File

@@ -1444,4 +1444,13 @@ void SlashCommandHandler::Startup() {
.requiredLevel = eGameMasterLevel::CIVILIAN
};
RegisterCommand(removeIgnoreCommand);
Command shutdownCommand{
.help = "Shuts this world down",
.info = "Shuts this world down",
.aliases = {"shutdown"},
.handle = DEVGMCommands::Shutdown,
.requiredLevel = eGameMasterLevel::DEVELOPER
};
RegisterCommand(shutdownCommand);
}