Files
factorio-scenario-ExpCluster/old/modules/DONE/Commands/repair/src/tempban.lua
2019-04-18 23:20:19 +01: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