> For the complete documentation index, see [llms.txt](https://shift-studios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shift-studios.gitbook.io/docs/new/editor-38.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# Counterfeit Money

Transform Your Server With Shift Studios — Powerful, Optimized, And Reliable Resources Built To Improve Every Experience.

<figure><img src="https://4062160621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgqh3gjuJzDAWNXTD9sEE%2Fuploads%2FqdeKGM3TE3PBhrIOQ0ZK%2Fcounterfeit_money_thumbnail.png?alt=media&amp;token=121d9eb5-8352-4805-9fd2-af423d2d4c33" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Counterfit Money

Read Everything Below To Install
{% endstep %}

{% step %}

### Drag & Drop

Drag & Drop The Resource Into Your FiveM Server
{% endstep %}

{% step %}

### Ensure The Resource

Make Sure To Ensure shift-counterfit In Your Server CFG.&#x20;
{% endstep %}

{% step %}

### Install The SQL Table

{% code expandable="true" %}

```sql
CREATE TABLE IF NOT EXISTS `shift_counterfit_machines` (
  `id` int NOT NULL AUTO_INCREMENT,
  `owner_identifier` varchar(80) NOT NULL,
  `machine_type` varchar(20) NOT NULL,
  `x` double NOT NULL,
  `y` double NOT NULL,
  `z` double NOT NULL,
  `heading` float NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
);

```

{% endcode %}
{% endstep %}

{% step %}

### Install The Items & Images

```
Images Are Located Inside The Install Folder
```

{% code expandable="true" %}

```lua
["shift_counterfit_sheet"] = {
    label = "Money Sheet",
    weight = 1,
    stack = true,
    close = true,
},

["shift_counterfit_cotton"] = {
    label = "Cotton",
    weight = 1,
    stack = true,
    close = true,
},

["shift_counterfit_fibers"] = {
    label = "Fibers",
    weight = 1,
    stack = true,
    close = true,
},

["shift_counterfit_linen"] = {
    label = "Linen",
    weight = 1,
    stack = true,
    close = true,
},

["shift_counterfit_money"] = {
    label = "Money",
    weight = 1,
    stack = true,
    close = true,
},

["shift_counterfit_printer"] = {
    label = "Counterfeit Printer",
    weight = 1,
    stack = false,
    close = true,
    consume = 0,
    client = {
        export = "shift-counterfit.useCounterfitPrinter"
    }
},

["shift_counterfit_cutter"] = {
    label = "Money Cutter",
    weight = 1,
    stack = false,
    close = true,
    consume = 0,
    client = {
        export = "shift-counterfit.useCounterfitCutter"
    }
},
```

{% endcode %}
{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

{% code expandable="true" %}

```lua
-- ⚫ ███████╗██╗  ██╗██╗███████╗████████╗    ███████╗████████╗██╗   ██╗██████╗ ██╗ ██████╗ ███████╗ ⚫
-- ⬛ ██╔════╝██║  ██║██║██╔════╝╚══██╔══╝    ██╔════╝╚══██╔══╝██║   ██║██╔══██╗██║██╔═══██╗██╔════╝ ⬛
-- ⚫ ███████╗███████║██║█████╗     ██║       ███████╗   ██║   ██║   ██║██║  ██║██║██║   ██║███████╗ ⚫
-- ⬛ ╚════██║██╔══██║██║██╔══╝     ██║       ╚════██║   ██║   ██║   ██║██║  ██║██║██║   ██║╚════██║ ⬛
-- ⚫ ███████║██║  ██║██║██║        ██║       ███████║   ██║   ╚██████╔╝██████╔╝██║╚██████╔╝███████║ ⚫
-- ⬛ ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝       ╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ⬛

Config = {}

Config.Debug = false

Config.Framework = 'auto'

Config.Inventory = 'auto'

Config.Target = 'auto'

Config.Notification = 'auto'

Config.NotificationPosition = 'center-left'

Config.TextUI = 'nui'


Config.InteractDistance = 2.0
Config.MinDistanceBetweenMachines = 1.5

Config.OnlyOwnerCanPickup = true
Config.AllowAnyonePickupIfOwnerOffline = true

Config.TargetIcons = {
    printerUse = 'fa-solid fa-print',
    cutterUse = 'fa-solid fa-scissors',
    pickup = 'fa-solid fa-hand'
}

Config.Placement = {
    defaultDistance = 1.2,
    minDistance = 0.6,
    maxDistance = 3.0,
    distanceStep = 0.02,
    rotateStep = 1.5,
    previewAlpha = 180,

    heightStep = 0.02,
    minHeightOffset = -0.75,
    maxHeightOffset = 1.75
}

Config.CustomMinigames = {
    timeout = 90000, -- Timeout for printer / cutter minigames (ms)
    minimumElapsed = 900 -- Server-side minimum minigame duration (ms)
}

Config.Objects = {
    printer = {
        item = 'shift_counterfit_printer',
        label = 'Counterfeit Printer',
        prop = 'gr_prop_gr_lathe_01c',
        headingOffset = 0.0
    },

    cutter = {
        item = 'shift_counterfit_cutter',
        label = 'Money Cutter',
        prop = 'bkr_prop_fakeid_papercutter',
        headingOffset = 0.0
    }
}

Config.Printer = {
    targetLabel = 'Print Money Sheet',
    progressLabel = 'Printing Money Sheet...',
    duration = 7000,

    ingredients = {
        { item = 'shift_counterfit_linen', amount = 25, label = 'Linen' },
        { item = 'shift_counterfit_cotton', amount = 75, label = 'Cotton' },
        { item = 'shift_counterfit_fibers', amount = 1, label = 'Fibers' }
    },

    output = {
        item = 'shift_counterfit_sheet',
        amount = 1,
        label = 'Money Sheet'
    }
}

Config.Cutter = {
    targetLabel = 'Cut Fake Money',
    progressLabel = 'Cutting Fake Money...',
    duration = 5500,

    ingredients = {
        { item = 'shift_counterfit_sheet', amount = 1, label = 'Money Sheet' }
    },

    output = {
        item = 'shift_counterfit_money',
        amount = 250,
        label = 'Fake Money'
    }
}

Config.Notifications = {
    placingPrinter = {
        title = 'Counterfeit Printer',
        description = 'Placement Mode Started',
        type = 'inform'
    },

    placingCutter = {
        title = 'Money Cutter',
        description = 'Placement Mode Started',
        type = 'inform'
    },

    placedPrinter = {
        title = 'Counterfeit Printer',
        description = 'You Placed The Printer',
        type = 'success'
    },

    placedCutter = {
        title = 'Money Cutter',
        description = 'You Placed The Cutter',
        type = 'success'
    },

    startPrinter = {
        title = 'Counterfeit Printer',
        description = 'You Started Printing Money Sheet',
        type = 'inform'
    },

    startCutter = {
        title = 'Money Cutter',
        description = 'You Started Cutting Fake Money',
        type = 'inform'
    },

    minigameFailed = {
        title = 'Counterfit',
        description = 'You Failed The Minigame',
        type = 'error'
    },

    cancelled = {
        title = 'Counterfit',
        description = 'You Cancelled The Task',
        type = 'error'
    },

    noItem = {
        title = 'Counterfit',
        description = 'You Do Not Have The Items Needed',
        type = 'error'
    },

    tooFar = {
        title = 'Counterfit',
        description = 'You Are Too Far From The Equipment',
        type = 'error'
    },

    busy = {
        title = 'Counterfit',
        description = 'This Machine Is Already In Use',
        type = 'error'
    },

    pickedUp = {
        title = 'Counterfit',
        description = 'You Picked The Machine Back Up',
        type = 'success'
    },

    noSpace = {
        title = 'Counterfit',
        description = 'You Dont Have Enough Space',
        type = 'error'
    },

    placementCancelled = {
        title = 'Counterfit',
        description = 'Placement Cancelled',
        type = 'error'
    },

    placeTooClose = {
        title = 'Counterfit',
        description = 'That Is Too Close To The Other Machine',
        type = 'error'
    },

    notOwner = {
        title = 'Counterfit',
        description = 'You Cannot Pick Up This Machine',
        type = 'error'
    }
}
```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

Ensure Everything Is Working Well & Enjoy !!
{% endstep %}
{% endstepper %}
