> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Use LuckPerms - Minecraft


### What is LuckPerms?

LuckPerms gives you powerful control over player permissions, roles, and server access. It’s one of the most trusted permission plugins, offering a flexible and user-friendly way to manage ranks and commands. Whether you're running a small friends-only server or a large public hub, LuckPerms helps keep everything organized and secure.

In this guide, we'll show you how to use LuckPerms Minecraft in its latest version with simple steps.

With LuckPerms, you can:

* Create and manage custom ranks
    
* Set detailed permission nodes for each group
    
* Assign temporary or timed permissions
    
* Use an in-game editor or web interface

Let’s break down how to install, configure, and get the most out of LuckPerms on your server instead of just playing on a default server.

Don't already host with us? 10,000+ server owners trust Sparked Host for lag-free Minecraft worlds. [Claim your server savings](https://sparkedhost.com/minecraft-server-hosting?utm_source=referral&utm_medium=knowledge_base&utm_campaign=kb_redirect&utm_content=intro) to get higher performance at less $ per month.

## Installing LuckPerms

Make sure to use the compatible server version with the LuckPerms plugin. Check out our guide on [how to change your server's version](https://help.sparkedhost.com/en/article/how-to-change-a-minecraft-server-version-127uv7i/) for more information.

To install LuckPerms on a Minecraft server: 

* Download the [LuckPerms Plugin](https://luckperms.net/download) onto your computer. 
    
* Open the **File Manager** and open the **plugins** folder
    
    ![](https://images.surferseo.art/075306fa-5c9a-44ae-ac45-78603d479f07.png)
* Upload the LuckPerms plugin into your plugins folder
    
    ![](https://images.surferseo.art/afda9bb4-916f-43c2-936b-2c6f2c872b37.png)

Now, start or restart your server for the plugin to work. 

### Connecting MySQL Database (Optional Step)

If you are handling a large amount of data, we recommend setting up a database for this plugin.

To create a database, click “Databases” on the left-hand side of the Apollo panel.

![](https://images.surferseo.art/50d65191-5c4c-4fe5-92c1-03e5d2e224cb.png)

Click “New Database” on the top right-hand side corner.

Fill out the required database info on-screen, which includes the following:

* Database Name
    
* Allowed Connections (Where the connections come from)
    
* Database Location
    
    ![](https://images.surferseo.art/3c97ce8d-f2fc-4d86-8ba0-9d413188d8d6.png)

Once created, copy the database name.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/dbname_1y8jqy0.png)

To view the database details, right-click and click on "Details" to view the database details

![](https://images.surferseo.art/83f79cb5-2497-41c7-af94-1fe8bdeb12c1.png)

Head over to the LuckPerms folder and find the `config.yml` file in the file manager.

![](https://images.surferseo.art/361e549d-be92-44d7-a86b-f949bc4f907c.png)

Edit the following and replace the values with your values. Remember to change the storage method from `h2` to mysql`

![](https://images.surferseo.art/cbe45730-0d5a-4cf8-9026-5354a02fe0a1.png)

In this instance, It would look like this:

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/configdone_tb4haj.png)

## Configuring LuckPerms

To configure LuckPerms on your Minecraft server:

In the server console, do the following command. Replace <username> with the administrator username of choice, which will allow server admins to control what features players can use.

`lp user <username> permission set luckperms.*`

Example Usage: `lp user justgreg permission set luckperms.*`

This will assign permissions to the user

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/console1_1esddzu.png)

2. To create groups, you can do the following command in-game or on the console. Replace <Group Name> with the name of the group

`lp creategroup <Group Name>`

Example Usage: `lp creategroup admin`

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/console2_177u1k8.png)

3. To add a user to a group, you are able to do the following command in-game or on the console. Replace <username> with the username of choice and <Group Name> with the name of the group

`lp user <username> parent set <Group Name>`

Example Usage: `lp user justgreg parent set admin`

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/console3_1xujp1a.png)

4. To add permissions to a group, you are able to do the following command in-game or on the console. Replace <Group Name> with the name of the group and <Permission> with the permission value

`lp group <Group Name> permission set <Permission> true`

Example Usage: `lp group admin permission set essentials.ban true`

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/console4_18odqvh.png)

5. To add a prefix to a group, you are able to do the following command in-game or on the console. Replace <Group Name> with the name of the group, <Weight> with the weight, and <Prefix> with the name of the prefix.

`lp group <Group Name> meta addprefix <Weight> “<Prefix>”`

`Example usage: lp group admin meta addprefix 100 “&c[Admin]”`

Make sure to include the quotation marks (“) in the prefix! YELLELOW BOX

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/console5_167yytz.png)

6. To edit a prefix to a group, you can do the following command in-game or on the console. Replace <Group Name> with the name of the group and <Weight> with the weight

`lp group <Group Name> meta removeprefix <Weight>`

Example Usage: `lp group admin meta removeprefix 100`

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/console6_f725mz.png)

Once you have done this, continue to add prefixes to groups as needed.

## Still have some questions about setting up LuckPerms?

You can create a ticket [here](https://billing.sparkedhost.com/submitticket.php), after creating the ticket, we'll respond right away