Addon to disallow big props from being spawned

I’ve been searching all over the web for a addon that disallows huge props from being spawned. But unfortunately, i couldn’t find any.
If you happen to know a addon that does exactly that, please contribute.

Thank you

This is a simple blacklist you can put in lua/autorun/server. I’m assuming you’re using sandbox or something, if you’re using darkrp just use its blacklist.



BlockedModels = {
"some_dir.mdl",
"some_dir2.mdl",
"some_dir3.mdl"
}

function BlackList(ply, model)
 if table.HasValue(BlockedModels, model) then
  ply:ChatPrint("[Server] That prop is blacklisted!")
  return false
 end
end
hook.Add("PlayerSpawnProp", "SomeCoolName", BlackList)