landsandboat/scripts/commands/crash.lua

18 lines
318 B
Lua

-----------------------------------
-- func: crash
-- desc: force the server process to crash
-----------------------------------
---@type TCommand
local commandObj = {}
commandObj.cmdprops =
{
permission = 5,
parameters = ''
}
commandObj.onTrigger = function(player)
ForceCrash()
end
return commandObj