> For the complete documentation index, see [llms.txt](https://flare-studio.gitbook.io/exe-6/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flare-studio.gitbook.io/exe-6/custom-commands/attributes.md).

# Attributes

Learn about the basics of Custom Commands and how to set them up.

Custom Commands can be personalized with Attributes, Some of them are necesary to get your command working

## Alias

The **Alias** is the name that is Displayed on the **Command List.** If the alias is not configured, The name of the command will be the same as the name registered on the function `RegisterCommand().`

```lua
MyCommand.Alias = "Night Time"
```

## Description

The **Description** is made to give context of how the command works in a short paragraph, If the description is not configured, No description will be shown.

```lua
MyCommand.Description = "Set the Time at 00:00"
```

## Icon

The **Icon** is the icon displayed on your command as a visual representation of the functionality of your command.

```lua
MyCommand.Icon = "rbxassetid://1234567890"
```

## Event

The **Event** is a **`Remote Event`** that will be fired when the command is executed. You will learn how to connect them later.

{% hint style="danger" %}
If the event isn't configured, The command will be locked and it wont allow you to execute it.
{% endhint %}

```lua
MyCommand.Event = RemoteEvent
```

## Access

**Access** allows you to choose which roles on your game can execute a command. If a certain role isn't allowed to execute a command, It won't be visible to them.

{% hint style="info" %}
You can put {"Team"} to allow every person with access to the panel execute the command.
{% endhint %}

```lua
MyCommand.Access = {"Owner"}
```

## Example

After everything you have done, Your code should look like this.

```lua
local players = game:GetService("Players")
local replicated_storage = game:GetService("ReplicatedStorage")

local client = players.LocalPlayer

local storage = replicated_storage:WaitForChild("EXE6_STORAGE")
local events = storage.events

local CustomCommands = require(storage.modules.CustomCommands)

--// REGISTERED CUSTOM COMMANDS

local MyCommand = CustomCommands:RegisterCommand("CC")
MyCommand.Alias = "Custom Command"
MyCommand.Description = "Amazing Description goes here..."
MyCommand.Icon = "rbxassetid://11419714821"
MyCommand.Event = nil --// Replace with event
MyCommand.Access = {"Owner"}
```

<figure><img src="https://2544013832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9bK8pux8ECQEv3nGxVN%2Fuploads%2F30sWF7ituiuSELBXyKAq%2Fupscalemedia-transformed.png?alt=media&amp;token=f2bd09dc-b0ed-4d03-b46a-f37da55c2474" alt=""><figcaption></figcaption></figure>

Now, Lets go through parameters and how they work.
