Limit max entities per building?
I just found out the biggest base on my server was 20k entities, obviously this is a problem. I know there are plugins that limit total entities per player, but is there a lag-free way (so not FoundationLimit) to limit the amount of entities a single structure can contain?
eh, technically. it would limit a building to the 20k you're looking for but the config seems like it would be really hard to set up. This would limit it per building (and per player) but a player couldn't have multiple 15k bases around the map...

Maybe scaled decay? Maybe limit the height with https://umod.org/plugins/building-restriction, that might do a little.

I wish the https://umod.org/plugins/building-wrapper worked automatically with ZoneManager, and that ZoneManager had an entity limit flag; that way when people made a base it would automatically get a zone with an entitiy limit.

gl
5d66db4201195.jpg?uid=5d66db72ac9cd RyanFromRust
eh, technically. it would limit a building to the 20k you're looking for but the config seems like it would be really hard to set up. This would limit it per building (and per player) but a player couldn't have multiple 15k bases around the map...

Maybe scaled decay? Maybe limit the height with https://umod.org/plugins/building-restriction, that might do a little.

I wish the https://umod.org/plugins/building-wrapper worked automatically with ZoneManager, and that ZoneManager had an entity limit flag; that way when people made a base it would automatically get a zone with an entitiy limit.

gl

Yeah but it would be unfair that a group of 4 would be allowed to make a base thats 4x as big as a solo could. So limiting it per base would be more handy.

Also thanks for that Building Restriction link. I didn't know that existed and I always thought FoundationLimit was the only plugin that limited a base size per base? But that one wouldn't work without lag on a busy server that allowed for big bases. Is Building Restrictions better in that case?

I've build a private plugin for that, since all the others out there back when we needed it were very laggy...

HINT:

BuildingManager.Building (you can get it from building priv) contains a ListHashSet<BuildingBlock> buildingBlocks that you can simply count... this is a quick and easy way to do what you need. (gotta make sure you have a TC though ;) )