Search Results for

    Show / Hide Table of Contents

    Class Permissions

    Inheritance
    System.Object
    Permissions
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.Permissions.Extensions
    Assembly: Exiled.Permissions.dll
    Syntax
    public static class Permissions

    Properties

    | Improve this Doc View Source

    DefaultGroup

    Gets the default group.

    Declaration
    public static Group DefaultGroup { get; }
    Property Value
    Type Description
    Group
    | Improve this Doc View Source

    Groups

    Gets groups list.

    Declaration
    public static Dictionary<string, Group> Groups { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, Group>

    Methods

    | Improve this Doc View Source

    CheckPermission(CommandSender, String)

    Checks a sender's permission.

    Declaration
    public static bool CheckPermission(this CommandSender sender, string permission)
    Parameters
    Type Name Description
    CommandSender sender

    The sender to be checked.

    System.String permission

    The permission to be checked.

    Returns
    Type Description
    System.Boolean

    Returns a value indicating whether the user has the permission or not.

    | Improve this Doc View Source

    CheckPermission(ICommandSender, String)

    Checks a sender's permission.

    Declaration
    public static bool CheckPermission(this ICommandSender sender, string permission)
    Parameters
    Type Name Description
    CommandSystem.ICommandSender sender

    The sender to be checked.

    System.String permission

    The permission to be checked.

    Returns
    Type Description
    System.Boolean

    Returns a value indicating whether the user has the permission or not.

    | Improve this Doc View Source

    CheckPermission(Player, PlayerPermissions[])

    Checks a player's permission.

    Declaration
    public static bool CheckPermission(this Player player, params PlayerPermissions[] permissions)
    Parameters
    Type Name Description
    Player player

    The player to be checked.

    PlayerPermissions[] permissions

    The permission for checking.

    Returns
    Type Description
    System.Boolean

    Returns a value indicating whether the user has the permission or not.

    | Improve this Doc View Source

    CheckPermission(Player, String)

    Checks a player's permission.

    Declaration
    public static bool CheckPermission(this Player player, string permission)
    Parameters
    Type Name Description
    Player player

    The player to be checked.

    System.String permission

    The permission to be checked.

    Returns
    Type Description
    System.Boolean

    true if the player's current or native group has permissions; otherwise, false.

    | Improve this Doc View Source

    Create()

    Create permissions.

    Declaration
    public static void Create()
    | Improve this Doc View Source

    Reload()

    Reloads permissions.

    Declaration
    public static void Reload()
    | Improve this Doc View Source

    Save()

    Save permissions.

    Declaration
    public static void Save()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX