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.
OnTeamAcceptInvite
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.
OnTeamCreate
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.
OnTeamCreated
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.
OnTeamDisband
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.
OnTeamDisbanded
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.
OnTeamInvite
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.
OnTeamKick
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.
OnTeamLeave
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.
OnTeamPromote
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.
OnTeamUpdate
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.
Last updated