Installation
How to install Frozen Poker: dependencies, your license key in cred.lua, and the pokertable item for ESX, QBCore, Qbox or ox_inventory.
On this page
- Make sure the dependencies are installed and start before
frozen_poker. - Put the
frozen_pokerfolder in yourresourcesdirectory. - Add your licence key in
cred.luaby following this tutorial. - Copy
pokertable.pngfrom theINSTALLATIONfolder into your inventory's image folder. - Add the
pokertableitem to your inventory (see below). - Add
ensure frozen_pokerto yourserver.cfg, below your framework and your database resource (oxmysqlormysql-async). - Set up
config.lua(see Configuration) and restart the server.
The pokertables database table is created on first start, so you don't need to import any SQL. frozen_poker.sql is included if you prefer to create it yourself.
In game, use the pokertable item to place a table, then open /pokeradmin as an admin to set its currency, style and blinds.
ESX inventory
INSERT INTO items (name, label, weight, rare, can_remove) VALUES ("pokertable", "Poker Table", 1, 0, 1);QB inventory
In qb-core/shared/items.lua:
['pokertable'] = { ['name'] = 'pokertable', ['label'] = 'Poker Table', ['weight'] = 1, ['type'] = 'item', ['image'] = 'pokertable.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A poker table you can place' },OX inventory (and Qbox)
In ox_inventory/data/items.lua:
['pokertable'] = {
label = 'Poker Table',
weight = 100,
stack = true,
close = true,
},Casino chips (optional)
To let tables play for chips instead of money, add a casino_chips item to your inventory the same way, then pick Casino chips as the table's currency in /pokeradmin. Any other item works too.
Updating from an older version
- Back up your
pokertablesdatabase table, yourconfig.luaand yourcred.lua(it holds your licence key). - Replace the
frozen_pokerfolder with the new one from your Downloads. - Use the new
config.luaand copy your own settings into it. The old file is missing many new options. Put your owncred.luaback, because the one in the download has no key. - Make sure
oxmysqlormysql-asyncis running. - Restart the server. Your existing tables stay: new database columns are added and the stats and tournament history tables are created on their own when the script starts.
Your licence key stays the same, as long as your own cred.lua is back in the folder.
Still stuck?Ask on our Discord