Files
factorio-scenario-ExpCluster/modules/ExpGamingCommands/repair/src/tempban.lua
2018-12-23 16:37:01 +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