Table of Contents

Enum RoleData.Authority

Namespace
Exiled.API.Structs
Assembly
Exiled.API.dll

Represents flags for how Exiled should handle edge cases.

[Flags]
public enum RoleData.Authority
Extension Methods

Fields

None = 0

Indicates Exiled should only fake the role of the target of this RoleData in ideal conditions.

Override = 1

Indicates that Exiled should attempt to override other plugins fake role attempts if they exist.

This is not guaranteed to always work.

Always = 2

Indicates that the fake role should always be sent without checking if the player is dead, etc...

Persist = 4

Indicates that Exiled should not reset the fake role if the target of this RoleData dies.

AffectSelf = 8

Indicates that this RoleData can make a player view themselves as a different role.

AffectNPCs = 16

Indicates that this RoleData can affect dummies.

Remarks

Simply having an authority does not make a direct impact. This enum largely exists to constrict possibly unwanted behavior, so make sure your RoleData actually does what behavior you want. (I. E. AffectSelf will not make a RoleData affect the viewer UNLESS they are the target of an existing RoleData).