Permission Members (Effect) — skript-luckperms

Addon: skript-luckperms · Category: Effect · Since: 1.0

Syntax

set %-~objects% to (all|all of the) [luckperm[s]] (users|players) with perm[ission] %string%

Description

Returns a list of UUIDS of users who have the specified permission. Should be relatively fast depending on how many users have said permission.

Examples

function search():
    get the users with perm "example" and store it in {_lp::*}
    set {_lp::*} to all luckperms users with permission "example"
    send "%size of {_lp::*}% have 'example' permission!" to all ops

View source