DocumentationExplore the store
On this page
DocumentationDice Game
THE TDEV RESOURCE GUIDES

Dice Game

Official documentation

This guide explains how to install and configure Dice Game for your FiveM server.

Compatibility

  • ESX

Requirements

  • ox_lib
  • es_extended
  • oxmysql
  • Dice item
  • Tricked dice item if enabled

Installation

  • Download the resource from your Tebex purchases.
  • Extract the folder.
  • Place the resource inside your server resources folder.
  • Import the SQL file if included.
  • Add the dice item to your item system.
  • Add the tricked dice item if enabled.
  • Start ox_lib and oxmysql before the resource.
  • Open the config file.
  • Configure dice settings.
  • Add the resource to your server.cfg.
  • Restart your server.
  • Test regular dice and tricked dice in game.

Server CFG Example

ensure oxmysql

ensure ox_lib

ensure es_extended

ensure tdev-dicegame

Configuration

  • Configure dice item name.
  • Configure tricked dice item name.
  • Configure public roll distance.
  • Configure private roll settings.
  • Configure sound effects.
  • Configure visual effects.
  • Configure notifications.
  • Do not edit encrypted files.

Common Issues

Dice does not roll: Check that the player has the dice item and item names match config.

Tricked dice does not work: Check tricked dice item setup and config.

Other players cannot see the roll: Check roll distance and client errors.

Script does not start: Check ox_lib, oxmysql, and es_extended start order.

Support

If you need help, open a support ticket in the Tdev Scripts Discord.

Provide your order ID, script name, framework, full F8 error, server console error, and a screenshot or video.

Discord: https://discord.gg/5MYzXemM4q

Search Tdev Docs

Find a resource guide or a section on the page you’re reading.

↵ Open resultEsc Close