Team (12)
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
Useful for canceling team invitation acceptation.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.acceptinvite of Assembly-CSharp.dll.
Useful for canceling team creation.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.trycreateteam of Assembly-CSharp.dll.
Called after a team was created.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.trycreateteam of Assembly-CSharp.dll.
This hook requires OnTeamCreate, which loads alongside OnTeamCreated.
Useful for canceling team disbandment.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.DisbandTeam of Assembly-CSharp.dll.
Called when the team was disbanded.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.DisbandTeam of Assembly-CSharp.dll.
This hook requires OnTeamDisband, which loads alongside OnTeamDisbanded.
Useful for canceling an invitation.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.sendinvite of Assembly-CSharp.dll.
Useful for canceling kick of the player from the team.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.kickmember of Assembly-CSharp.dll.
Useful for canceling the leave from the team.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.leaveteam of Assembly-CSharp.dll.
Useful for canceling player's promotion in the team.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.promote of Assembly-CSharp.dll.
Useful for canceling the invitation rejection.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RelationshipManager.rejectinvite of Assembly-CSharp.dll.
Called when player's team is updated.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BasePlayer.UpdateTeam of Assembly-CSharp.dll.
Called before sending team info to player.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BasePlayer.TeamUpdate of Assembly-CSharp.dll.