Resource (26)
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
Last updated
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
Last updated
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches CoalingTower.EmptyTenPercent of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches CoalingTower.RPC_Unload of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches CollectibleEntity.DoPickup of Assembly-CSharp.dll.
This hook requires OnCollectiblePickup, which loads alongside OnCollectiblePickedup.
Called when the player collects an item.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches CollectibleEntity.DoPickup of Assembly-CSharp.dll.
Called before the player is given a bonus item for gathering.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ResourceDispenser.AssignFinishBonus of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches ResourceDispenser.AssignFinishBonus of Assembly-CSharp.dll.
This hook requires OnDispenserBonus, which loads alongside OnDispenserBonusReceived.
Called before the player is given items from a resource.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ResourceDispenser.GiveResourceFromItem of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches ResourceDispenser.GiveResourceFromItem of Assembly-CSharp.dll.
This hook requires OnDispenserGather, which loads alongside OnDispenserGathered.
Called right before moving gathered resource to container.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ExcavatorArm.ProduceResources of Assembly-CSharp.dll.
Called when excavator mining arm is toggled.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ExcavatorArm.BeginMining of Assembly-CSharp.dll.
Called when excavator mining arm is toggled.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ExcavatorArm.StopMining of Assembly-CSharp.dll.
Called when a player is trying to set a new resource target.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ExcavatorArm.RPC_SetResourceTarget of Assembly-CSharp.dll.
Called when the player gathers a growable entity.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches GrowableEntity.PickFruit of Assembly-CSharp.dll.
Called before the player receives an item from gathering a growable entity.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches GrowableEntity.GiveFruit of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches GrowableEntity.ChangeState of Assembly-CSharp.dll.
Called when loot spawns in a container.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches LootContainer.SpawnLoot of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches MiningQuarry.FuelCheck of Assembly-CSharp.dll.
Called before items are gathered from a quarry.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches MiningQuarry.ProcessResources of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches EngineSwitch.StartEngine of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches EngineSwitch.StopEngine of Assembly-CSharp.dll.
Called when a quarry has just been toggled.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches EngineSwitch.StopEngine of Assembly-CSharp.dll.
This hook requires OnQuarryToggle [off], which loads alongside OnQuarryToggled.
Called when a quarry has just been toggled.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches EngineSwitch.StartEngine of Assembly-CSharp.dll.
This hook requires OnQuarryToggle [on], which loads alongside OnQuarryToggled.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RandomItemDispenser.TryAward of Assembly-CSharp.dll.
Called when a player is trying to harvest a dying growable entity.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches GrowableEntity.RemoveDying of Assembly-CSharp.dll.
Called when a resource deposit has been created.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ResourceDepositManager.CreateFromPosition of Assembly-CSharp.dll.
Called before items are gathered from a survey charge.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches SurveyCharge.Explode of Assembly-CSharp.dll.