When I use /undo on one of our large raid bases, it flood-kicks all players.
I've reduced the undo batch size to 2 and increased the undo delay, but it still happens specifically on undo.
Looking at UndoLoop, IItemContainerEntity entities appear to be removed/killed in a separate loop before the normal batched/yielded undo loop. Since AutoTurrets are item container entities, turret-heavy raid bases may therefore bypass UndoBatchSize / UndoBatchDelay and all get destroyed in one burst.
It looks like container/turret removal bypasses UndoBatchSize and UndoBatchDelay.
{
"Amount of entities to paste per batch. Use to tweak performance impact of pasting": 2,
"Amount of entities to copy per batch. Use to tweak performance impact of copying": 100,
"Amount of entities to undo per batch. Use to tweak performance impact of undoing": 2,
"Loop Execution": {
"Mode: (1=timed delay [safest], 2=per-frame [balanced], 3=instant [lag])": 1,
"Timed delay between paste batches, in seconds": 0.095,
"Timed delay between copy batches, in seconds": 0.095,
"Timed delay between undo batches, in seconds": 0.095
},
"Prevent These Prefabs From Spawning": [],
"Enable data saving feature": true,
"Copy Options": {
"Check radius from each entity (true/false)": true,
"Share (true/false)": false,
"Tree (true/false)": false,
"Default radius to look for entities from block": 3.0
},
"Paste Options": {
"Auth (true/false)": true,
"Deployables (true/false)": true,
"Inventories (true/false)": true,
"Vending Machines (true/false)": true,
"Stability (true/false)": false,
"EntityOwner (true/false)": false,
"DLC items and deployables (true/false)": true,
"Skins (0=no skins, 1=all, 2=no paid skins, 3=allow specified only, 4=block specified only)": 1,
"When an entity fails to paste: (1=stop, 2=undo pasted, 3=continue)": 1,
"Specified Skins (skin id, like 2601577757, or item shortname for redirected skins, like hazmatsuit.spacesuit)": []
}
}