Skip to main content
Texas Holdem Poker

Installation

Install the poker resources and configure their database, framework and locale integrations.

Required dependencies

MySQL

Database support installed and bundled through npm.

Node.js

Required for dependency installation and compilation.

FiveM artifact 4752+

Required for Lua 5.4 and escrow support.

Installation steps

  1. 01

    Extract both resources

    Copy the table prop and poker script folders into your server resources directory.

  2. 02

    Install dependencies

    Run the included dependency installer.

    dev/install_dep.bat
  3. 03

    Import the database

    Import the included SQL file into your server database.

  4. 04

    Configure locales

    Create or modify both the shared and HTML locale files.

  5. 05

    Configure the server

    Select your framework and database resource.

    server.ts
  6. 06

    Configure the client

    Select your framework in the client configuration.

    client.ts
  7. 07

    Start the script

    Start the compiled poker script.

    ensure PokerTypescript
  8. 08

    Start the table

    Start the poker table prop resource.

    ensure pokerasztal

Important file locations

Shared locales
source-files/src/shared/locales.ts

Server- and client-side translations.

HTML locales
html/js/locale.js

Browser interface translations.

Lua config
files/sv_config.lua

Lua-side resource configuration.

Aquiver module configuration

Framework bridge

Server module settings

Select the framework, database handler and chip storage method used by the poker resource.

server.ts
import * as Aquiver from '@freamee/server';

Aquiver.Config.Framework = 'ESX_LEGACY';
Aquiver.Config.SqlDebug = false;
/** Select your MySQL resource handler. */
Aquiver.Config.sqlResource = 'oxmysql';
/** Set this to false to use accounts such as bank or black_money. */
Aquiver.Config.ResourceExtra.useItems = true;
/** Selected account type. Leave this unchanged when using the resource with items. */
Aquiver.Config.ResourceExtra.selectedAccount = "bank";
/** Selected item type. Leave this unchanged when using the resource with accounts. */
Aquiver.Config.ResourceExtra.selectedItem = "chips";