Files
factorio-scenario-ExpCluster/modules/ExpGamingCommands/repair/src/tempban.lua
2018-11-09 17:33:48 +00:00

7 lines
322 B
Lua

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