Cuxial Domino needs no SQL import and no inventory items. It creates its own database tables on first start, and the domino tables are placed in game.
Check the dependencies
These resources must be installed and working before you add the script:
ox_liboxmysqlcuxial_bridge, with one of the supported frameworks: QBox, QBCore or ESXsleepless_interact
Without sleepless_interact the resource does not start. It provides the "Sit down" interaction on the chairs.
Copy the resource
Place the cuxial_domino folder inside your resources directory. Keep the folder name as it is.
The table and tile models come inside the resource, in its stream folder. There is nothing else to install.
Start the resource
Start it after its dependencies and after your framework:
ensure ox_lib
ensure oxmysql
# your framework here (qbx_core, qb-core or es_extended)
ensure cuxial_bridge
ensure sleepless_interact
ensure cuxial_dominoNo SQL to run. The resource creates cuxial_domino_tables and cuxial_domino_pots when it starts.
Give staff the permission
The admin tablet opens with /domino_admin. The command is restricted: a player needs the ACE command.domino_admin. When the resource starts, it is granted to group.admin, the default of admin.ace. You can also grant it yourself:
add_ace group.admin command.domino_admin allowServers that already grant every command to their admin group with add_ace group.admin command allow do not need this line.
More detail in Commands & permissions.
Check that it works
- Join the server and run
/domino_admin. The tablet opens. - In the Create tab choose a style, the number of players and the game type, then create the table. It appears in front of you.
- Walk up to a chair and use the "Sit down" interaction. After the sit animation the table menu opens.
- On a 1 player table, press Start Game. The AI joins and the round begins.
- Restart the resource. The table is still there.
Next: adjust the rules and bets in Configuration.
