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

# ZonelyCoreFiveM

> FiveM ソースと HTTP スクリプト接続を用意します。

ZonelyCoreFiveM は、サイトを通じて送信されたコマンドの 5M ソースで動作します。 サーバーアドレス、HTTP ポート、および共通 API キーは、パネル録画で使用されます。

## ソースを配置する

[プロジェクトファイル](https://github.com/zonely-gen-tr/ZonelyCoreFiveM) **resources/zonelycorefivem/** フォルダに置く。 **フリックスマニフェスト.ルーア**、**Server.js** と **config.json** は、このフォルダに直接する必要があります。 ソースを追加して、ファイルを開始します。

```text title="server.cfg・リソース起動" theme={"theme":"css-variables"}
ensure zonelycorefivem
```

## キーと権限の編集

```json title="config.json と関連フィールド" theme={"theme":"css-variables"}
{
  "apiKey": "KENDI_UZUN_BENZERSIZ_ANAHTARIN",
  "allowedOrigins": ["https://siteadresin.example"],
  "ipWhitelist": ["203.0.113.10"],
  "whitelist": ["say", "add_principal", "remove_principal"],
  "logCommands": true
}
```

**apiKey**は、パネルのAPIキー領域で値に一致させます。 **免責事項**サイトアドレス、Webサーバーの**ipWhitelist** IPアドレス、**whitelist**は、許可されたコマンドを決定します。 サンプルIPではなく、独自のサーバーのIP情報を使用してください。

## HTTPリンクを追加

管理パネル **ストア → サーバー** は、その部分を開きます。 新しいサーバーを追加したり、対応するレコードを編集したりします。 **ゾーンリーコアFiveM** 選択します。 外部からアクセスされた FiveM の TCP/HTTP ポートを入力します。 ソース **設定HttpHandler** を使用します。 初期設定のポート FiveM **endpoint\_add\_tcp** とリダイレクトをホスティングすることによって決定されます。

[![Server IP Address, Add-on Port, API Key](https://mintcdn.com/zonely-a8cd49e7/48qkn-UhPOPy1-Dl/images/panel/payments-connections-site-guide-20261027/conn-fivem-ja.png?fit=max\&auto=format\&n=48qkn-UhPOPy1-Dl\&q=85\&s=6ecba7d69cc7a451e3c5f17e2894ae15)](https://docs.zonely.gen.tr/images/panel/payments-connections-site-guide-20261027/conn-fivem-ja.png)

> [card] 1. サーバーIPアドレス
>
> サーバ設定のカウンターネスを入力します。

> [card] 2. アドオンポート
>
> サーバ設定のカウンターネスを入力します。

> [card] 3. APIキー
>
> サーバ設定のカウンターネスを入力します。

ソースを再起動し、対応するサーバーレコードに製品を接続します。製品コマンドの最初の単語は、ソースで許可されているコマンドの中であるはずです。

## エラーを取ら

401 応答で API キーとサーバークロックをチェックします。 IP、原点、コマンドのパーミッションは 403 応答でチェックします。 ソースフォルダー名とソースは 404 応答で始まります。 外部の TCP へのアクセスを参照してください。

[溶接構成](https://github.com/zonely-gen-tr/ZonelyCoreFiveM/blob/main/config.json) · [サーバー](https://docs.zonely.gen.tr/ja/guides/servers.md#zonelycorefivem) · [接続とツール](https://docs.zonely.gen.tr/ja/integrations/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.