Skip to content

Permission

Jenya705 edited this page Oct 11, 2021 · 2 revisions

Permission object represents any permission (player permission or bot permission)

Fields

Field name Field description
toggled Is permission toggled
name Permission name
target Permission target

Concepts

Target

Target is uuid used in many ways, like user.send_message permission uses target as uuid player.

Global permission

Permission without target

Target permission

Permission with target

JSON Example

{
    "toggled": true,
    "name": "user.send_message",
    "target": "ca78e928-484b-36ff-bc1e-ade3e86597df"
}
Clone this wiki locally