05-13-2015, 11:33 PM
Certainly, with a bad plugin:
function Initialize(a_Plugin)
cPluginManager:BindConsoleCommand("crash",
function()
local InvalidObj = tolua.cast(a_Plugin, "cChunkDesc")
InvalidObj:FillBlocks(0, 0) -- Overwrite the current plugin's C++ data with all zeroes.
end,
"Crashes the server on purpose"
)
return true
end
This gives you a consoel command "crash" that crashes the server on demand

