Installation
Install the poker resources and configure their database, framework and locale integrations.
Required dependencies
Database support installed and bundled through npm.
Required for dependency installation and compilation.
Required for Lua 5.4 and escrow support.
Framework and database compatibility layer.
Open resource ↗Installation steps
- 01
Extract both resources
Copy the table prop and poker script folders into your server resources directory.
- 02
Install dependencies
Run the included dependency installer.
dev/install_dep.bat - 03
Import the database
Import the included SQL file into your server database.
- 04
Configure locales
Create or modify both the shared and HTML locale files.
- 05
Configure the server
Select your framework and database resource.
server.ts - 06
Configure the client
Select your framework in the client configuration.
client.ts - 07
Start the script
Start the compiled poker script.
ensure PokerTypescript - 08
Start the table
Start the poker table prop resource.
ensure pokerasztal
Important file locations
source-files/src/shared/locales.tsServer- and client-side translations.
html/js/locale.jsBrowser interface translations.
files/sv_config.luaLua-side resource configuration.
Aquiver module configuration
Server module settings
Select the framework, database handler and chip storage method used by the poker resource.
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";