> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# NLogin

> Match account columns and password format with nLogin.

The user name, password and auxiliary account areas are set according to the same table structure in the nLogin connection. Zonely **Newslist** Prepare the columns that nLogin needs when using the table.

## Install Distribution

[nLogin from the installation guide](https://docs.nickuc.com/nlogin/) Select the package that fits your server or proxy structure. Stop the server after you create the settings files. On one server **plug-in/nLogin/config.yml** file is editable; for proxy layout [proxy installation](https://docs.nickuc.com/nlogin/proxy/setup/) Follow.

## Connect the account table

Zonely panel **Settings → Database** open the part. Get the address, port, name and access information of your own database. Available **database** Match the link and table columns in the section:

```yaml title="nLogin config.yml · database and field mapping" theme={"theme":"css-variables"}
database:
  type: MySQL
  remote:
    hostname: 'DATABASE_HOST:3306'
    database: 'DATABASE_NAME'
    username: 'DATABASE_USER'
    password: 'DATABASE_PASSWORD'
    properties:
      useUnicode: true
      characterEncoding: 'utf8'
  pool-settings:
    maximum-pool-size: 10
    minimum-idle: 10
    maximum-lifetime: 1800000
    connection-timeout: 5000
  table:
    account:
      table-name: 'userslist'
      columns:
        ai: 'ai'
        last-name: 'nick'
        unique-id: 'unique_id'
        mojang-id: 'mojang_id'
        bedrock-id: 'bedrock_id'
        password: 'password'
        premium: 'premium'
        last-ip: 'last_ip'
        last-seen: 'last_seen'
        creation-date: 'creation_date'
        email: 'email'
        discord: 'discord'
        settings: 'settings'
    data:
      table-name: 'nlogin_data'
      columns:
        id: 'id'
        key: 'key'
        value: 'value'
```

Player name **nick**, password **password** read from the field. Sample **ai**The UUID and nLogin auxiliary columns should be with the types of plugin expected in your table. If the table structure is different, prepare the columns according to your existing scheme; do not create a second chart in the same name.

## Make password setting

BCRYPT produces standard bcrypt on the site using **M2A** Use the option in the configuration structure of your own nLogin version.

```yaml title="Setting for versions with a root passwords section" theme={"theme":"css-variables"}
passwords:
  hashing:
    algorithm: 'BCRYPT2A'
    bcrypt:
      rounds: 10
```

The SHA256 output of another plugin with the older AuthMe SHA records of the site may not be the same way. Match the password format according to existing accounts. Save the configuration and restart the server.

## View account flow

Table and **nick** check the hash setting if the map is not accepted. Use registration, login and password change in the same account layout.

[nLogin configuration](https://docs.nickuc.com/nlogin/config/template/) · [Database](https://docs.zonely.gen.tr/en/guides/database.md) · [Connections and tools](https://docs.zonely.gen.tr/en/integrations/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.