Files
factorio-scenario-ExpCluster/modules/ExpGamingCommands/repair/src/tempban.lua
2018-09-03 19:28:18 +01:00

7 lines
305 B
Lua

-- not_luadoc=true
local temp_ban = require('ExpGamingAdmin.TempBan')
return function(player,entity)
player_return('You have repaired: '..entity.name..' this item is not allowed.',defines.textcolor.crit,player)
temp_ban(player,'<server>','Attempt To Repair A Banned Item')
entity.destroy()
end