Added player inventory clear

This commit is contained in:
Cooldude2606
2020-05-25 20:05:20 +01:00
parent 8b9e538540
commit d5db186dc6
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
--- Config to control when players items are removed, this is a list of event names that will trigger inventory clear
-- @config inventory_clear
local events = defines.events
return {
events.on_player_banned,
events.on_player_kicked,
--events.on_player_left_game
}