How to stop trees

How can I stop tree from growing can a place like a locker on tree and it’s stop growing?it’s that possible?

If you are on a multiplayer server, I’m afraid there are no methods to stop resources/objects from re-spawning. The game spawns trees and broken objects after a given time, regardless. If you were to place a locker on a tree stump, the tree would essentially grow around it.

If this hasn’t been patched yet, I’m sure that’s a pretty unique way to hide a locker from other players in plain sight, say in a secluded area near the border of the map…

If it is in a local single-player save, yes, there absolutely is a method.
I explained it here on a previous post, in depth below:

Hey, @KoKe! By default, barricades prevent trees and other resources from respawning.

This setting is configurable, and is called “Items Obstruct Tree Respawns” (Items_Obstruct_Tree_Respawns). Some servers may disable this setting, which means that trees can regrow over barricades (such as lockers).

Wait, this is actually a function?

image

Oh dear.