Kartik Scripts

Give Permission

/giveracepermission Command

The /giveracepermission command allows admins to grant specific racing permissions to a player.

Syntax

/giveracepermission <player_id> <permission> [category]

Parameters

ParameterTypeDescription
player_idnumberThe ID of the player to grant permission to.
permissionstringrace (host races), track (create/edit tracks), or both (all permissions).
categorystring(Optional) App category: criminal, leo, or ems. Defaults to criminal.

Example Usage

1. Grant a player with ID 12 permission to host races (Criminal category):

/giveracepermission 12 race

2. Grant a player with ID 7 permission to create or edit tracks (LEO category):

/giveracepermission 7 track leo

3. Grant a player with ID 5 both race and track permissions (EMS category):

/giveracepermission 5 both ems

Permissions

  • Only players with admin privileges can use this command (group.admin).
  • The command will fail if the player ID is invalid or the type is incorrect.
  • If the player is not yet in the racing system, this command will automatically register them for the specified category.

On this page