> ## Documentation Index
> Fetch the complete documentation index at: https://docs.humalike.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Publiczny indeks

> Indeks stabilnych convarów, poleceń, eksportów, zdarzeń, dostawców i akcji.

Ta strona to zwięzły indeks. Kontrakty wywołań zwrotnych, przykłady i wskazówki
operacyjne znajdziesz w podlinkowanych przewodnikach.

## Convary

| Obszar                | Publiczne ustawienia                                                                                                                                                            |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Wymagane              | `humalike_license_key`                                                                                                                                                          |
| Diagnostyka           | `humalike_debug`                                                                                                                                                                |
| Dostawcy              | `humalike_player`, `humalike_inventory`, `humalike_dispatch`, `humalike_actions`, `humalike_interaction`                                                                        |
| Interfejs             | `humalike_ui_language`                                                                                                                                                          |
| Etykiety              | `humalike_npc_labels_*`                                                                                                                                                         |
| Rozgrywka medyczna    | `humalike_npc_wounded_*`, `humalike_npc_death_chance`, `humalike_npc_revive_*`, `humalike_npc_mortuary_*`, `humalike_npc_treatment_distance`, `humalike_npc_deceased_retention` |
| Prace i dyspozytornia | `humalike_npc_medic_jobs`, `humalike_npc_police_jobs`, `humalike_npc_medical_dispatch*`                                                                                         |
| Rany                  | `humalike_npc_wounds_enabled`, `humalike_npc_wound_*`, `humalike_npc_max_wounds`                                                                                                |
| Pozy                  | `humalike_npc_pose_abandon_*`, `humalike_npc_pose_threat_*`                                                                                                                     |
| Strojenie świata      | `humalike_world_*` wymienione w [Konfiguracji](/pl/ai-npc/configuration#zaawansowane-strojenie-świata)                                                                          |

Nieudokumentowane convary endpointów, sekretów runtime i autorytetu nie są wspieranym
interfejsem klienta.

## Polecenia

| Strona       | Polecenie            | Cel                                                                      |
| ------------ | -------------------- | ------------------------------------------------------------------------ |
| Serwer       | `humalike_status`    | Status runtime i dostawców.                                              |
| Klient       | `humalike_status`    | Status dostawcy interakcji i informacja, czy ustawienia serwera dotarły. |
| Serwer/gracz | `humalikenpc:status` | Status listy NPC.                                                        |
| Serwer/gracz | `humalikenpc:reload` | Żądanie natychmiastowego odświeżenia listy NPC.                          |
| Klient       | `/voice`             | Status lokalnego połączenia głosowego.                                   |

Narzędzia deweloperskie do spawnowania NPC otoczenia są domyślnie wyłączone. Aby użyć
ich na nieprodukcyjnym serwerze testowym, ustaw `humalike_developer_tools 1` i nadaj ACE
`humalike.developer_tools`. Polecenie to:

```text theme={null}
/humalike_dev ambient <spawn|goto|remove|list> [npc_uuid]
/humalike_dev observe <npc_uuid> <key> [field=value ...]
```

Spawny debugowe są tymczasowe i nie zastępują umiejscowienia NPC zarządzanego
z panelu.

## Eksporty serwera

```lua theme={null}
exports.humalike:RegisterProvider(domain, descriptor)
exports.humalike:UnregisterProvider(domain, name)
exports.humalike:GetProviderStatus()
exports.humalike:ReportPlayerEvent(playerId, event)
exports.humalike:ReportObservation(npcId, playerId, key, fields, options)
exports.humalike:SetNpcStock(npcId, stock)
exports.humalike:PlaceOrder(npcId, playerId, lines)
exports.humalike:BindNpcEntity(npcId, networkId, options)
exports.humalike:UnbindNpcEntity(bindingId)
exports.humalike:DespawnNpc(npcId)
exports.humalike:RespawnNpc(npcId)
exports.humalike:AcquireNpcControl(npcId, options)
exports.humalike:RenewNpcControl(leaseId, ttlMs)
exports.humalike:ReleaseNpcControl(leaseId)
exports.humalike:GetNpcRuntimeState(npcId)
exports.humalike:ListNpcRuntimeStates()
```

Zobacz [API dostawców](/pl/ai-npc/integrations/provider-api),
[Zgłaszanie zdarzeń gracza](/pl/ai-npc/integrations/world-events),
[Akcje zdefiniowane przez serwer](/pl/ai-npc/integrations/custom-actions) oraz
[NPC zewnętrzne](/pl/ai-npc/integrations/external-npcs) oraz
[Sterowanie w czasie działania](/pl/ai-npc/integrations/runtime-control).

## Eksporty klienta

```lua theme={null}
exports.humalike:RegisterInteractionProvider(descriptor)
exports.humalike:UnregisterInteractionProvider(name)
exports.humalike:GetInteractionProviderStatus()
exports.humalike:SetVoiceBusy(reason, active)
```

## Zdarzenia

| Strona          | Zdarzenie                            | Ładunek                        |
| --------------- | ------------------------------------ | ------------------------------ |
| Serwer i klient | `humalike:integration:ready`         | `{ apiVersion, runtimeEpoch }` |
| Serwer          | `humalike:npc:ready`                 | `{ apiVersion, generation }`   |
| Klient          | `humalike:voice:transmittingChanged` | `active: boolean`              |

## Nazwy wbudowanych dostawców

* Gracz: `standalone`, `esx`, `qbcore`, `qbox`.
* Ekwipunek: `esx`, `ox_inventory`, `qb_inventory`.
* Interakcja: `builtin`, `ox_target`, `qb_target`.

## Wbudowane klucze akcji

`wave`, `start_dancing`, `interrupt_animation`, `kneel`, `hands_up`, `punch`,
`stand_up`, `follow_player`, `stop_following`, `hold_position`,
`release_movement`, `enter_vehicle`, `enter_own_vehicle`, `exit_vehicle`, `walk_away`
oraz `run_away`.

`give_item` jest dodawane, gdy dostępny jest dostawca ekwipunku. Wybrany
własny dostawca akcji może ogłaszać dodatkowe klucze.

## Neutralne typy zdarzeń gracza

`rp_action`, `identity_document_shown`, `item_dropped`, `item_picked_up`,
`police_badge_shown`, `ems_badge_shown`, `doj_badge_shown`, `hands_raised` oraz
`hands_lowered`.

## Dalej

* [Przeczytaj pełne kontrakty dostawców](/pl/ai-npc/integrations/provider-api).
* [Zobacz przykłady ładunków zdarzeń](/pl/ai-npc/integrations/world-events).
* [Zdiagnozuj działający serwer](/pl/ai-npc/operations).
