So as far as i am aware, the server forces new entities to spawn, when the count of those items falls to the min value of that item. For the most part, this works great but there is one edge case that is not considered, since official dayz does not make use of that edge case.
For the sake of explaining, i will make a hypothetical example.
When i want to make the M4 really rare, i set the nominal value to 1 and the min value to 0. So that there is only one of it on the ground on the whole server.
Now if i wanted to make it even more rare, i would want to set the restock timer to something above 0. So that the M4 is not always at a spawnpoint somewhere on the map. But sadly, the restock timer in this set up is irrelevant, because the server will spawn a new M4 as soon as the only other one gets picked up or despawns by it self.
2 solutions would be possible here:
- either change the economy to only force spawn items, when the number of entities falls below the min value instead of at the min value
- or allow the min value in the types.xml file to be a negative 1 so that the entity count simply can never reach that min value