OnGroupRankSet
OxideCarbonPermissionsCalled when a group's rank value is changed.
void OnGroupRankSet(string group, int rank)Parameters
- group
- string
- rank
- int
Return value
voidThe return value is ignored — the hook only notifies.
Example
private void OnGroupRankSet(string group, int rank)
{
Puts("OnGroupRankSet");
}Works in both Oxide and Carbon: Carbon loads Oxide plugins as is.
Injection point
Carbon
Oxide.Core.Libraries.Permission.SetGroupRank
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.