Files
factorio-expcluster/old/modules/ExpGamingCommands/repair/src/tempban.lua
T
2019-03-01 20:24:23 +00:00

7 lines
306 B
Lua

-- not_luadoc=true
local temp_ban = require('ExpGamingAdmin').temp_ban
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