RustTip

OnGroupDeleted

OxideCarbonPermissions

Called when a permission group is deleted.

void OnGroupDeleted(string group)

Parameters

group
string

Return value

voidThe return value is ignored — the hook only notifies.

Example

private void OnGroupDeleted(string group)
{
    Puts("OnGroupDeleted");
}

Works in both Oxide and Carbon: Carbon loads Oxide plugins as is.

Injection point

Carbon
Oxide.Core.Libraries.Permission.RemoveGroup
Inside CarbonCarbon.Common

Sources: Rust.opj from OxideMod/Oxide.Rust (MIT) and hook metadata of the Carbon documentation (MIT). Method code is decompiled from this branch's server.