Kinetix AI Emote Creator for FiveM - Documentation
GitHubDiscord
  • ๐Ÿ–๏ธIntroduction
  • ๐Ÿ‘€Overview
  • ๐Ÿš€Get started
  • ๐Ÿ‘จโ€๐Ÿ’ปDeveloper Portal
    • Game/App Space - Creation
    • Game/App Space - Settings
  • โš™๏ธCore
    • User Creation
    • Emote generation
    • Webhook
    • User bag
    • Sharing emote
    • Validation / Retake process
    • Paywalls
    • File download
    • Playing animations
  • ๐Ÿ–ฅ๏ธInterface
    • Events
      • Server
      • Client
    • Render functions
      • CreateRootMenu()
      • CreateQRCodeAlert(url)
      • CreateMainMenu()
      • CreateEmoteBagMenu(emotes)
      • OpenEmoteBagMenu()
      • CreateProcessValidationMenu(process)
      • CreateEmoteCreatorMenu(processes)
      • CreateErrorMenu(statusCode, error)
      • NotifyProcessUpdate(process)
      • NotifyEmoteReady(data)
      • CreateEmoteWheel(emotes)
  • ๐Ÿ”ŒIntegrations
  • ๐ŸงชLive Demo
  • ๐Ÿ“šVideo recording Guidelines & AI Specs
    • AI Emote Creator - specifications
    • Video recording guidelines
Powered by GitBook
On this page
  1. Interface
  2. Events

Server

PreviousEventsNextClient

Last updated 8 months ago

Here's a description of all registered server network events.

requestInit

Is called to initialize the emote creator menu. The server will attempt to create a user if it does not exist, ensuring that the user will exist before any emote generation attempt.

requestQRCode

Is called when the client request an emote generation. are triggered here. The server should trigger qr_code_response or qr_core_error

requestAvailableEmotes

Is called by the client when requesting the user's emote bag. It should call the necessary route and trigger emotes_response with the API response.

requestConfiguration

Is called by the client when requesting the application's configuration (settings). It is used for example to know how many retakes per process are allowed. It should call the necessary route and trigger config with the API response. Since 0.2 it will also send to the client the list of new cached ycds since last resource restart.

requestValidate

Is called by the client when he wants to validate an emote. It will call the function with refresh and notify.

requestRetake

Is called by the client when he wants to retake an emote. It will trigger retake_process with the API response.

requestEmotePreview

Is called by the client when opening a process in the process list waiting for validation. It will call the GetEmotePreview function and trigger emote_preview with the API response.

deleteEmote

Is called by the client when requesting an emote deletion in the user bag. It will call the DeleteEmote function. After getting the response it will call the GetAvailableEmotes function and trigger both emote_response and reopen_bag to refresh the player's inventory.

renameEmote

Is called by the client when requesting an emote deletion in the user bag. It will call the RenameEmote function. After getting the response it will call the GetAvailableEmotes function and trigger both emote_response and reopen_bag to refresh the player's inventory.

๐Ÿ–ฅ๏ธ
The paywall methods
DownloadYCD