Skip to main content
Before integrating your website with LuckPerms, ensure you are using the latest official version. You can download the newest LuckPerms release here: Download Link: https://luckperms.net/download/ Using Zonely, you can assign time-limited or permanent roles that automatically sync to the game. You can add timed roles to products and define other roles effortlessly. When a player joins the server, their assigned permissions will automatically apply to their account.

1. Connect the plugin to the database

First, open the /plugins/LuckPerms/config.yml file in your server’s main directory. Edit the database configuration section as shown below:
data:
  address: DATABASE_HOST:DATABASE_PORT
  database: DATABASE_NAME
  username: DATABASE_USERNAME
  password: 'DATABASE_PASSWORD'
  pool-settings:
    maximum-pool-size: 10
    minimum-idle: 10
    maximum-lifetime: 1800000
    keepalive-time: 0
    connection-timeout: 5000
    properties:
      useUnicode: true
      characterEncoding: utf8
  table-prefix: 'zonely_perms_' # Required for compatibility with the website.
  mongodb-collection-prefix: ''
  mongodb-connection-uri: ''
Replace all placeholder values with your actual database credentials.
If database credentials are incorrect or incompatible with other systems, the plugin may fail to work or cause server errors.
LuckPerms setup completed successfully. Congratulations!