TPチケット / Teleport Ticket
概要 / Overview
`LC_TPticket` は、ox_inventoryのチケットアイテムを使用し、メニューから行き先を選んで移動できるQBCore向けリソースです。
イベント報酬、初心者支援、ファストトラベルなど、アイテム消費型の移動システムとして利用できます。
`LC_TPticket` is a QBCore resource that lets players use a ticket item in ox_inventory and select a configured teleport destination.
It can be used for event rewards, new-player support, fast travel, or other item-based travel systems.
主な機能 / Key Features
- ox_libメニューによる行き先選択
- 行き先・座標・向き・表示名をConfigで設定
- 行き先・所持数・チケット消費をサーバー側で確認
- フェードアウト・フェードイン付きテレポート
- サーバーコンソールへの使用ログ
- 管理者専用 `/giveticket` コマンド
- Destination selection through an ox_lib menu
- Configurable destinations, coordinates, headings, and labels
- Server-side destination, ownership, and ticket-consumption checks
- Fade-out and fade-in teleport transition
- Usage log in the server console
- Admin-only `/giveticket` command
必要環境 / Requirements
- QBCore
- ox_inventory
- ox_lib
購入前に / Before You Buy
同梱READMEに従い、`tp_ticket` のitem定義と画像をox_inventoryへ追加してください。ゲーム内メニューと通知の初期言語は日本語です。
Add the `tp_ticket` item definition and image to ox_inventory by following the included README. The default in-game menu and notifications are in Japanese.