LuckPerms – Part 3: Entering Data into the Database
- HolyHosting

- Oct 31
- 3 min read
The Story So Far…
If you’ve been following along with Part 2 of this series, you’ve successfully installed, configured, and set up the LuckPerms permissions plugin on your Minecraft server. You’ve also created a MySQL database in your HolyHosting control panel to store the critical information that LuckPerms will need to verify permissions.
Now comes the final step: entering that information into the database. This is likely the most time-consuming part, and unfortunately, it’s also the step that requires the most custom work. Much of the data you enter will be unique to your server, and as the server administrator, you’re the one who decides what is allowed, what isn’t, and how the rules are enforced.
This guide provides a basic framework for entering the data that LuckPerms will use to:
Create groups
Add lists of allowed commands to each group
Assign users to those groups
Outline Groups and Allowed Commands
This was touched on briefly in Part 1. Now it’s time to build the structure of your server’s groups:
How many groups will you have?
What are their names?
What distinguishes them?
What roles do they have?
Which commands are allowed?
Which commands are forbidden?
Which items or blocks are restricted?
Which areas are off-limits?
Every one of these decisions is yours to make. This is where the identity of your server really takes shape.
Assign Permissions to Groups
A key principle of permissions plugins: you’re generally just creating a list of allowed commands for groups and users. Each time a user tries to run a command, LuckPerms checks whether it is on their allowed list.
If it is, the command executes.
If it isn’t, the plugin blocks it.
Remember: the default response is “NO!”You don’t need to list what users cannot do; just list what they can. LuckPerms will politely refuse everything else.
Accessing the Database
There are two ways to access your database:
Through the HolyHosting control panel under the MySQL Database tab
Using the LuckPerms built-in web editor
Accessing Holy MySQL Database
Click the MySQL Database button in your control panel.
Click the blue PHPMyAdmin link next to the "Web-based Admin Panel."
Use the database username and password from the MySQL page to log in.
LuckPerms Built-In Editor
You can also access the database in-game or via the server console using:
/lp editor
This opens a browser-based editor for LuckPerms.
A unique session link will appear in your console, like:
[2018-07-14 21:37:37] [pool-4-thread-1/INFO] [net.minecraft.server.dedicated.DedicatedServer]: https://luckperms.github.io/editor/-identifier-
Click the link to open the editor in your browser.
You’re now connected to your MySQL database and can edit your data directly.

Resources for LuckPerms
There’s a wealth of online material for LuckPerms. Some essential resources include:
IRC: SpigotMC - irc.spi.gt - #luckpermsEsperNet - irc.esper.net - #luckperms
Data Entry Commands
Here are the basic commands to create groups, assign permissions, and add users:
Update Dropdown Menus
/lp tree
Creates dropdown menus in the LuckPerms editor with standard entries.
Menus update as more options are created.
Create a Group
/lp creategroup <group_name>

Assign Permissions to Groups or Users
/lp group <group_name> permission set <permission> <true|false>
/lp user <username> permission set <permission> <true|false>
Add Users to Groups
/lp user <username> parent add <group_name>
Using these commands, you can start building the backbone of your server’s permissions system, giving each group exactly the access you want while keeping everything else securely blocked.
Conclusion
We hope this guide has been helpful! 🚀 Remember, don’t hesitate to ask questions on the HolyHosting Discord or contact our support team.
Follow us on Twitter @HolyHosting to stay up to date.

Stuffy @ HolyHosting


















