Roblox API Reference

CommandService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (3)

Type Member History
Variant Execute (string name, Variant params)
CommandInstance RegisterCommand (Plugin plugin, string name, string context, CommandPermission permission = LocalUser) 490 492 496
CommandExecuting (string name, Variant params)
57 members inherited from Instance

History

Members

CommandExecuting On DevHub

Name Type Default
name string none
params Variant none

Execute On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
name string none
params Variant none

Tags: [Yields]

RegisterCommand On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
plugin Plugin none
name string none
context string none
permission CommandPermission LocalUser

History

Tags: [Yields]

Relevant classes (2)

Relevant enums (1)