Skip to main content

Introduction

Luarmor also has a Discord bot ready for you to invite to your server. The bot allows you to manage your script, whitelist users, and more. It also allows users to manage their key.

Inviting the bot

After inviting the bot, you must run /login [API KEY] within the first 15 minutes, otherwise bot will automatically leave the server.
An image showing the login slash command

/login command

You can view all of the discord bot invite links here, each one is identical. The reason for having many bots is because Discord limits the amount of servers a bot can be in.

Setting up permissions

People with manager role can run basic management command like /whitelist and /force-resethwid. This role will be used in the next section.
This is optional.
This role is automatically assigned to users when:
  • a manager whitelists them
  • user redeems a key via the panel
  • user gets their role via the panel
It gives them access to the script via the panel and the ability to reset their HWID. This role may be used in the next section.

Advanced permissions

You can make more advanced permissions and roles that only allow specific people to use specific commands. This is done built-in through Discord’s permission system. You can go to Server Settings > Integrations > Luarmor and set the permissions for each command there.

Create a panel

You can only have one panel / one loader script per server.
Do not make your loader script too long. Discord has a limit on the size of files that can be sent. An alternative is to redirect your users to a #script channel where you can upload the entire script manually and make the loader_script point to that channel.
This is the script users will recieve when they press “Get Script” on the panel, which will be configured in the next step.
A notepad file showing the example loader script which only contains the Luarmor loadstring

An example loader script

The panel creation is all handled through the /setpanel command which creates a new panel in the current channel. It must be given a loader_script and a manager_role, but optionally can also be given a buyer_role.
An image showing the panel in Discord

An example panel

Whitelisting users

If days is not specified, then the user will be whitelisted indefinitely.
Users can be whitelisted and unwhitelisted through the /whitelist and /unwhitelist commands by managers.
If you already have users with a specific role, you can easily mass whitelist every single one of them with one command. This is done through the /mass-whitelist command, which asks for the role and, optionally, the number of days.
Total failed means their discord IDs are already registered, so in order to avoid duplicated entries, it will skip them.
An image showing the list of users in Discord

List of users in Discord

An image showing the mass whitelist command in Discord

Mass whitelist command

An image showing the result of the mass whitelist command in Discord

Mass whitelist result

Luarmor logs

You can setup logs via Discord webhooks. This is done through the /setlogs command. This will log all Discord Luarmor command and button usage.

Manager commands

All of the following commands can only be ran by people with the manager role.
If days is not provided, then the user will be blacklisted indefinitely.
This command blacklists a specific Discord user from the project. You can optionally give a reason to show to the user and the amount of days.
This command add a specified amount of days to everyone’s keys in the project. Example usage of this command may be when your script was patched and you want to compensate your users.
This ignores any cooldowns you have set.
This command resets the HWID of a specific user.
This has been covered here.
This command logs out the bot from the server.
This has been covered here.
This has been covered here.
This has been covered here.
This has been covered here.
I