LabAPI
LabAPI copied to clipboard
[BUG] Player.PermissionsGroupName is null
public override void OnPlayerLeft(PlayerLeftEventArgs ev)
{
Logger.Info(ev.Player.PermissionsGroupName); // empty (Tested player with group)
}
How are you assigning the group to the user?
Player.PermissionsGroupName is remoteadmin configs to read the groups and members I set myself as an owner:
Members:
- MYID: owner
Even with command setgroup <id> moderator will show me as an owner since my original group is owner.