Home Server settings Encounters & hordes Clamp enemy numbers when out of resources

Clamp enemy numbers when out of resources

Lets the server make an encounter smaller when no resources are left.

Change only with reason
INI key
scum.EncounterCanClampCharacterNumWhenOutOfResources
Default
On
Type
Yes/No
Section
[World]
scum.EncounterCanClampCharacterNumWhenOutOfResources=True

What does this setting do?

Some encounters are allowed to exceed the usual cap on enemies – special events, for instance. This switch lets the server clamp them anyway when it currently has no resources free. It is on by default and likewise marked experimental.

Together with removing low priority characters it forms the encounter manager's second release valve. One switch tidies up, this one prevents further load being added. Together they let an overloaded server show slightly less content instead of stuttering for everyone.

Turning it off means: the encounter gets its full complement whatever it costs. You might want that when a particular event absolutely has to happen in full – but it is a bet that performance will hold.

Disable both valves and you have no safety net left. The configured enemy counts alone then decide whether the server holds up, and they should be chosen accordingly carefully.

Which value suits my server?

Relaxed PvE

On.

Classic PvP

On.

Hardcore

On. Playability before completeness.

What to watch out for

Do not close both valves at once

Without cleanup and without clamping the server has no way left to relieve itself. That reliably ends in a tick rate collapse.

Marked experimental by the developers

Behaviour may change with an update. Check briefly after updates.

Related settings

← Encounters & hordes