# Commands & controls

> Find player commands, administrator tests and the main controls for Sky Activities.

## Commands

These are the shipped names. Administrators can change them in `config/config.lua`.

<table>
<thead>
  <tr>
    <th>
      Command
    </th>
    
    <th>
      Access
    </th>
    
    <th>
      Action
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        /activities
      </code>
    </td>
    
    <td>
      Players
    </td>
    
    <td>
      Open the current session's menu; outside a session, open a nearby activity interaction
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /leaveactivity
      </code>
    </td>
    
    <td>
      Players
    </td>
    
    <td>
      Leave the current activity or private test
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /activitiesconfig
      </code>
    </td>
    
    <td>
      Administrators
    </td>
    
    <td>
      Manage activities and global operator settings
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /activitytest
      </code>
    </td>
    
    <td>
      Administrators
    </td>
    
    <td>
      Start a private test using the arguments below
    </td>
  </tr>
</tbody>
</table>

Outside a session, `/activities` requires a nearby interaction point within 2.5 metres. It is not a remote browser for every activity on the server.

## Administrator tests

```text [Examples]
/activitytest paintball 1 3
/activitytest lasertag 2 3
/activitytest karting 2 3
/activitytest minigolf 1
/activitytest minigolf 2
```

For combat and karting, the numbers select the map and the number of local test peds. The editor also offers active/stationary test behavior. Minigolf tests start private solo training without peds. `/leaveactivity` ends the test.

The optional `monitor` argument, such as `/activitytest karting 2 3 monitor`, records a short local test sequence and returns to the spectator television to play it. This diagnostic recording is not a second player's live spectator feed.

Access uses the configured admin groups or `sky.activities.admin` ACE permission. See [Installation](../setup/installation).

## Main controls

<table>
<thead>
  <tr>
    <th>
      Context
    </th>
    
    <th>
      Action
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Activity interaction
    </td>
    
    <td>
      Use the displayed interaction key; E is the standard prompt
    </td>
  </tr>
  
  <tr>
    <td>
      Combat
    </td>
    
    <td>
      GTA fire/aim inputs and weapon selection; Z is the default paint-grenade binding
    </td>
  </tr>
  
  <tr>
    <td>
      Karting
    </td>
    
    <td>
      Vehicle controls; R is the default reset; use the displayed Battle ability binding
    </td>
  </tr>
  
  <tr>
    <td>
      Minigolf
    </td>
    
    <td>
      Interact at your ball, hold left mouse, pull back and release; right-click cancels
    </td>
  </tr>
  
  <tr>
    <td>
      Bowling
    </td>
    
    <td>
      Interact at the rack/approach; A/D position and Q/E spin before dragging; left mouse drag/release and right-click cancel
    </td>
  </tr>
  
  <tr>
    <td>
      Table sports
    </td>
    
    <td>
      Follow that sport's HUD; Escape opens the session menu
    </td>
  </tr>
  
  <tr>
    <td>
      Editor placement
    </td>
    
    <td>
      Enter confirms a point; Backspace finishes a series; use the placement overlay for adjustment controls
    </td>
  </tr>
</tbody>
</table>

The HUD reads current GTA/FiveM bindings for supported actions, including paint grenades and kart abilities. If a player changes those bindings, use the current hint rather than assuming the default key.
