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

# Getting Started

The **Custom Commands** system is a modular framework designed to allow developers to create and register interactive, event-driven commands directly into EXE 6.

Each custom command can be configured with a bunch of parameters that are 100% customizable and easy to understand.

## Getting the module

Before creating your very first command, You need to get the module for it! Here is the code of how to quickly get to it.

<pre class="language-lua"><code class="lang-lua"><strong>--// Getting the module
</strong><strong>local ReplicatedStorage = game:GetService("ReplicatedStorage")
</strong>local Storage = ReplicatedStorage:WaitForChild("EXE6_STORAGE")

<strong>local CustomCommands = require(storage.modules.CustomCommands)
</strong></code></pre>

## Creating your first Command

After getting the module, You can create your very first command with `RegisterCommand("Name")`

```lua
--// Registering the Command
local MyCommand = CustomCommands:RegisterCommand("Night")
```

{% hint style="warning" %}
Make sure to register your Custom Commands under the `custom_command` folder inside the `EXE6` ScreenGui. This will circumvent replacements and reset upon updating.\
\
`game.ServerScriptService.EXE6_SERVER.Components.EXE6.custom_commands`
{% endhint %}

<div><figure><img src="https://2544013832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9bK8pux8ECQEv3nGxVN%2Fuploads%2FkD5BGvyCZOfMsC6eRZaz%2Fimage%20(2).png?alt=media&#x26;token=03eb55fb-fcda-4431-a528-d3084a7672b9" alt=""><figcaption></figcaption></figure> <figure><img src="https://2544013832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9bK8pux8ECQEv3nGxVN%2Fuploads%2FYaexTMr7zznePSZXbXMy%2FDise%C3%B1o%20sin%20t%C3%ADtulo%20(11).png?alt=media&#x26;token=347dd188-7b56-4f6a-b476-9b125db8e942" alt=""><figcaption></figcaption></figure></div>

Now, You need to know the **Attributes** of your command, Check them on the next page!
