Guide 1 Docs 2 Reference 3

Function of Commands

commands.run

Runs a pack's command for player as if they typed it ("/servers"), with their permissions. false when no pack in their room declared it.

commands.run(player: Player, line: string) → boolean

Parameters

playerPlayerrequired
linestringrequired

Returns

boolean

Used in