For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation Guide

1

Install (or update) dependencies and optional

Required

Resource
Purpose

oxmysql

Database driver for player data, ranking, and match history. Download oxmysql

Framework

One of: qb-core, qbx_core (QBox), es_extended (ESX Legacy)

Inventory

One of: ox_inventory, qb-inventory, qs-inventory

Optional

Resource
Purpose

ox_lib

Enhanced notifications. Download ox_lib

ox_target or qb-target

Target-based board interaction (alternative to DrawText)

2

Install cdev_citytour and create a new subfolder or extract folder to server's root

Install resource from Portal

After installing, you should get a zip file with the name shown below.

  • cdev_citytour.pack.zip

Create a new subfolder optional step, but is highly recommended.

If you haven’t already, create a new subfolder named [cdev] in your server’s root resources directory. Unzip (extract) this script into the newly created [cdev] subfolder.

3

Add ACE permission

Open your server.cfg and add the following ACE permission:

add_ace group.admin cdev_citytour.admin allow

or

add_ace identifier.license:xxxxxxxxxxxx cdev_citytour.admin allow
4

Update server.cfg & perform a full restart

Once all other steps are completed, open your server.cfg & add ensure cdev_citytour to the very bottom of your resource start list (after oxmysql, your framework, inventory, and target if used). Finally, perform a full server restart. Failure to perform a full restart after installation will cause errors.

Database: tables are created automatically on first start (cdev_citytour_players, cdev_citytour_match_history, cdev_citytour_player_history). No manual SQL import is required. sql/citytour.sql is included if you prefer to create the tables yourself.

5

Add the City Tour board item

Location: ox_inventory → data → items.lua

  1. Open resources/[ox]/ox_inventory/data/items.lua

  2. Add the item inside the return table (with other items):

['citytour_board'] = {
    label = 'City Tour Board',
    weight = 500,
    stack = false,
    close = true,
    consume = 0,
    description = 'Place a City Tour table in the world',
    server = {
        export = 'cdev_citytour.useCityTourBoard',
    },
},
  1. Add the image citytour_board.png you can find inside the folder cdev_citytour /image to your inventory's images folder (e.g. ox_inventory/web/images/).

  2. Save the file and perform a full server restart.

Location: qb-core → shared → items.lua

  1. Open resources/[qb]/qb-core/shared/items.lua

  2. Add the item inside the QBCore.Shared.Items table:

['citytour_board'] = {
    name = 'citytour_board',
    label = 'City Tour Board',
    weight = 500,
    type = 'item',
    image = 'citytour_board.png',
    unique = true,
    useable = true,
    shouldClose = true,
    description = 'Place a City Tour table in the world',
},
  1. Add the image citytour_board.png you can find inside the folder cdev_citytour /image to your inventory's images folder (e.g. qb-inventory/html/images/).

  2. Save the file and perform a full server restart.

Location: depends on your framework:

  • QBCore: qb-core → shared → items.lua

  • ESX: qs-inventory → shared → items.lua

  1. Open the items file for your framework.

  2. Add the City Tour board item in the same format as your other items. Example:

  1. Add citytour_board.png you can find inside the folder cdev_citytour /image to your inventory's images folder.

  2. Save the file and perform a full server restart.

A pack image is included at cdev_citytour/image/citytour_board.png — copy it into your inventory images folder and rename if needed.

6

Stream models checklist

Ensure the resource includes the stream/ folder with the City Tour models and cdev_citygame.ytyp.

Default models:

Prop
Model name

Board

cdev_citygame_board

Dice

cdev_citygame_player_dice_small

Pawns

cdev_citygame_player_red / blue / green / yellow

City houses 1–3

cdev_citygame_regular_house / _2 / _3

Hotel

cdev_citygame_hotel

Beach house

cdev_citygame_beach_house

Furniture uses native GTA props (prop_table_02, prop_chair_02). Cash stacks use prop_cash_pile_02.

7

VIP currency (optional)

Real mode can charge vip as an entry account. Wire it in public/bridge/vip/server.lua:

  • Default: Qbox / QB crypto inside players.money

  • Or set VIP_CFG.Mode = "export" and point at your VIP resource

If you do not use VIP, leave Real accounts as cash / bank only (Modes.Real.Accounts in config).

8

⭐ In-Game Preview

Features Preview

Last updated