Exe 6
  • What's Exe 6?
  • Get Started
    • Purchasing
  • Installation
  • Authentication
  • Roles
  • Configuration
  • Custom Commands
    • Getting Started
    • Attributes
    • Parameters
      • Player Parameter
      • Slider Parameter
      • Text Box parameter
      • Boolean Parameter
      • Enum Parameter
    • Receiving Events
    • Demostration
  • APPS
    • Introduction to Apps
    • Prepare
    • Publish
    • Submit
    • Update
    • App Guidelines
Powered by GitBook
On this page
  • Getting the module
  • Creating your first Command
  1. Custom Commands

Getting Started

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

PreviousConfigurationNextAttributes

Last updated 1 month ago

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.

--// Getting the module
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Storage = ReplicatedStorage:WaitForChild("EXE6_STORAGE")

local CustomCommands = require(storage.modules.CustomCommands)

Creating your first Command

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

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

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

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