Updated 2026-09-11 258 views

Levlix Invite Tracking Guide

The Levlix Invites module tracks which members invited whom. This data feeds into the activity tracking, milestone, and leaderboard systems.

Creating a Tracked Invite

/invites create max_uses: <0-unlimited> duration: <hours> temporary: <true/false>

Create a custom invite link with full control over its behavior:

Parameter Description Default
max_uses Maximum number of times the link can be used (0 = unlimited) 0
duration How many hours the link stays active (0 = never expires) 24
temporary If true, members who join via this link lose their roles if they disconnect false

Levlix automatically tracks who created each invite and how many times it was used.

By default, /invites create makes an invite for the channel the command is run in. If you would rather have every member share one fixed link to a channel of your choice, for example a hidden verification channel, switch the server to personal invite links:

  1. Open the server in the dashboard and go to Invites.
  2. Under Personal Invite Links, pick the destination channel. The setting saves immediately.

While a destination channel is set:

  • /invites create always creates a permanent, unlimited invite to that channel. The max_uses, duration and temporary options are ignored.
  • Each member gets exactly one link. Running the command again returns the same link.
  • Members need no invite permission at all, and they do not need to see the destination channel. Decide who may run the command with Discord's command permissions (Server Settings, Integrations, Levlix, /invites), for example only your verified role.
  • You can remove Create Invite from every role so Levlix links are the only way into the server.
  • Levlix needs View Channel and Create Instant Invite in the destination channel.

Clear the channel in the dashboard to go back to per-channel invites. Existing personal links keep working until you delete them in Discord.

Note
Discord allows at most 1,000 active invites per server. On a very large server, one permanent link per member can reach that limit.

Admin Commands

Update Invites

/invites updateinvites

Manually refresh the invite tracking data. This scans all existing invites and fills in any missing creator attribution. Useful after migrating the bot or recovering from issues.

Invite Statistics

/invites invitestats

View detailed invite statistics for the entire server, including top inviters and invite usage over time.

How Tracking Works

Levlix monitors Discord's invite events in real time:

  • When a member joins, Levlix checks which invite code was used and credits the invite creator.
  • Invite data is stored in the database and contributes to the user's activity profile.
  • Invite counts appear in /activity mystats, /leaderboard, and the milestone system.
The invite tracking view, attributing joins to the invite that brought them in
The invite tracking view, attributing joins to the invite that brought them in

Was this article helpful?

Thanks for your feedback! Your vote helps us improve the documentation.

Your vote could not be saved. Please reload the page and try again.

Share this guide

Your Privacy

We use essential cookies to operate this site and optionally Google Analytics to improve our services. You can accept all, reject all, or choose which categories you allow.

Privacy Policy

Cookie Preferences

Choose which categories of cookies you want to allow. You can change this at any time.

Essential Cookies

Required

Session, CSRF protection, login state.

Analytics Cookies

Optional

Google Analytics 4 with anonymized IP, used to understand aggregate usage.