# Basic Linking Options

You can enable some basic options to execute when someone links their account

There are 2 types of basic options:

1. **Change Discord Name**: When someone links their account, the bot will change the discord name to the one used in Minecraft. For example, if my in-game name is "Rexigamer666", when linked, the bot will change my discord name on the server to it

<figure><img src="https://3022143657-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn9QnsFBMMFPC1J3WMiUJ%2Fuploads%2FYWbqh77RUc9irAITxC20%2Fimage.png?alt=media&#x26;token=c31272e1-426b-4f0f-a573-2e4a0d5a37b5" alt=""><figcaption></figcaption></figure>

{% code title="config.yml" %}

```yaml
link:
  change_discord_name: false
```

{% endcode %}

2. **Give Role**: When someone links their account, the bot will give them a special role. For example "Linked" and will be removed when someone unlinks. For this one to work, you will have to copy the role id (similar of how to [copy the guild tag](https://rexi666-plugins.gitbook.io/rexi666/discord-bridge-velocity/linking-configuration/set-guild-tag), but by right-clicking the role instead)

<figure><img src="https://3022143657-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn9QnsFBMMFPC1J3WMiUJ%2Fuploads%2FqxEKFdvzRCc1GVhfd1VK%2Fimage.png?alt=media&#x26;token=4590e230-947c-40c9-a091-9f6ccec25f40" alt=""><figcaption></figcaption></figure>

{% code title="config.yml" %}

```yaml
link:
  give_role:
    enabled: false
    role_id: "123456789123456789" # Change with the role ID
```

{% endcode %}
