AntiKill script for TES3MP. Its goal is to prevent killing essential or important NPCs (or creatures).
This script requires DataManager by urm!
Use mainalt.lua
if you want to use unique indexes or need a better performance.
Otherwise, use main.lua
.
- Download this repository and extract it into /server/scripts/
- Add this in
customScripts.lua
after DataManager:
require("custom.AntiKill.main")
OR
require("custom.AntiKill.mainalt")
- Configure script.
/antikill <exclude/include/save/list> [NPC ID]
Note: [NPC ID]
is required only when you exclude or include NPC.