World (3)
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.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches TerrainGenerator.CreateTerrain of Assembly-CSharp.dll.
Example
Called after the terrain generation process has completed.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches TerrainMeta.PostSetupComponents of Assembly-CSharp.dll.
Example
Called when a world prefab was spawned.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches World.SpawnPrefab of Assembly-CSharp.dll.
Example
Last updated