You could do like : Code: void OnEntitySpawned(BaseNetworkable entity) { if(entity is "loot.crate") //Change items in crate here } [DOUBLEPOST=1460154336][/DOUBLEPOST]Barrels I cant be to sure about, I think you can change that when the entity is destroyed.