# Set up LuckPerms permissions

> Install LuckPerms, make a default group and a staff group, and give people ranks without handing out op.

Source: https://fadehost.com/docs/luckperms/

LuckPerms is the permissions plugin nearly every plugin server runs: groups, per-player permissions, prefixes, and a web editor.

## Install

1. **Resources**, **Plugins**, search LuckPerms, **Install**. Restart.
2. Optional: a database. LuckPerms works from a file; with several servers or a proxy, point it at a MySQL database (**More for this server**, **Add a database**) in `plugins/LuckPerms/config.yml`. See [Databases](/docs/databases/).

## The first groups

In the **Console**:

```
lp group default permission set essentials.spawn true
lp creategroup moderator
lp group moderator permission set essentials.kick true
lp group moderator permission set essentials.ban true
lp group moderator parent add default
lp user Steve parent add moderator
```

`default` is every player. A permission's name comes from the plugin that provides it; each plugin's page lists them.

## The web editor

```
lp editor
```

The console prints a link; edit groups and permissions in the browser and apply with the command it gives you. Far faster than typing.

## Prefixes

```
lp group moderator meta setprefix "&c[Mod] "
```

A chat plugin such as EssentialsX Chat or a scoreboard plugin displays it.

## Good to know

- Keep operators to the people who may run `stop`; give everyone else a group.
- `lp verbose on` shows which permission a command checks when you are unsure of its name.
- Back up before big permission changes; the file lives in `plugins/LuckPerms`.
