# Permissions

# Dungeons Permissions

:::caution[In development]
This page describes the current development build (4.4.3).
:::

## Permission Nodes

| Permission | Default | Description |
|---|---|---|
| `ks.dungeon.user.use` | allowed | `/ksdungeon open`, `play`, `leave`, `party` |
| `ks.dungeon.user.map.use` | allowed | `/ksdungeon maps`, `/ksdungeon mapinfo` and using a dungeon map item |
| `ks.dungeon.user.stone.use` | allowed | Applying a crafting stone by right-click |
| `ks.dungeons.admin` | staff only | `/ksdungeon givemap`, `givestone`, `testmap`, `browseprefabs` |

Note the spelling: the player nodes start with `ks.dungeon.`, the admin node is `ks.dungeons.admin`.

The player nodes are allowed unless you set them to `false`. The admin commands also check the node from `permissions.adminPermission` in `config.json` (default `kyuubisoft.dungeons.admin`); that check only blocks players for whom the node is explicitly set to `false`.

## LuckPerms Examples

```bash
# Admins and testers
/lp group admin permission set ks.dungeons.admin true

# Take dungeons away from a group
/lp group spectator permission set ks.dungeon.user.use false
/lp group spectator permission set ks.dungeon.user.map.use false
```