Excl JailBreak gun stacking issue

Does anyone have a clue how to stop a server crashing due to excess stacked guns on a map? The server is fully dedicated and has no lag with 32+ players, however if this glitch is used performance just goes down the drain :frowning:

Many thanks.

What does stacked guns mean?

Players piling guns in a corner and shooting them sending the entities flying everywhere, increasing CPU usage and eventually crashing the server.

[editline]11th August 2017[/editline]

Occurs with around 100+ guns in the corner, the map is jb_new_summer_v2 in the armory just so you know.

You can loop over the number of guns of a certain type every few seconds to check, and remove if it goes over that limit. Make sure to check that GetOwner is invalid to see if it’s a dropped weapon.