Terminal Hacker
INSTALLATION GUIDE
Step 0 - First Steps
1. Download your resource from FiveM's Keymaster.
2. Unzip the cd_terminalhacker.zip folder and place this folder in your server's resource folder.
3. Add the resource to your server start config (server.cfg): ensure cd_terminalhacker.
Step 1 - Configure Resource
You MUST read all configurable options inside the [cd_terminalhacker/configs/config.lua] file and configure them to suit your server's needs. Please read the commented out help text at the end of each line so you can understand what each config option does.
The most important section is the options under the Importantsection at the top of the config.lua. Everything else is optional.
Step 2 - Integrate Into Your Robbery Resources
This works like any other hacking mini-game for FiveM, just more interactive. You would place the export (as seen below) in a robbery script, for example, and if the player completes the hack, you can either reward the player or allow them to progress to the next stage. The scoreboard allows players to compete for the bragging rights of the best hacker.
The code below can only be placed inside a client.lua file, not a server.lua file.
local example = exports['cd_terminalhacker']:StartTerminalHacking()
if example.success then
print('im a winner')
print(example.time) --Returns the amount of time taken to complete (in seconds).
print(example.score) --Returns the score. (You gain a higher score from downloading more optional files).
else
print('i suck so bad')
endINFORMATION
Chat Commands
These chat commands can be renamed and/or disabled in the Keys and Commands section of the [configs/config.lua].
The exact usage for each command will be displayed in the chat suggestions when using the commands in-game.
| Command | Description |
|---|---|
/terminalhacker | (Test Command) This is a test command which opens the terminal hacker UI. |
About The Game
The hacking game's point is finding the proper .exe file somewhere in a remote PC's directory. Some .exe files are corrupted and will set you back. (You need to figure out which is which). Along your search path, you are supposed to download additional files from the file system and gain a score. Score and time taken to determine the leader board placement, and the server owner can set their actions based on time and score.
COMMON ISSUES
Please check out our Troubleshooting Guide before contacting our support.
Folder Name Make sure the folder name is cd_terminalhacker.
Encrypted Files Do not edit the encrypted files in any way.
ERROR CODES
If you see an error code not listed below, please open a script support ticket in the Codesign Discord.
CHANGELOG
Files Changed
Not every update requires replacing the entire folder. To avoid redoing your configs, use the option that applies
| Key | Meaning |
|---|---|
| Full Re-Download Required | Delete the old folder and replace it with the latest version. Reuse your config.lua unless told otherwise. |
| Update Specific Files | Only the files listed below need to be replaced. |
| Config Update Required | Your config.lua must be updated for this version. |
| Requires Auto SQL Enabled | Enable Config.AutoInsertSQL in config.lua to apply required database updates. |
Skipping Updates
If you’ve skipped previous updates, it’s recommended to update all files to avoid issues.
For example, if you're on v4.0.1, skipped v4.0.2, and are updating to v4.0.3, use the Full Download option.