Terminal Hacker - Minigame
Step by step installation guide, common issues & solutions, troubleshooting guide, code snippets, common error codes, config previews, locales previews and changelogs; all in 1 easily accessible place
Buy Here

Translate

START HERE

1. Unzip the cd_terminalhacker.zip folder and place this folder in your servers resource folder.
2. Add the resource to your server start config: ensure cd_terminalhacker. The name of the folder must not be changed or the script will not function correctly.
3. WARNING do not edit the encrypted files in any way.

INSTALLATION GUIDE

Step 1 - Configure the resource

You MUST read all of the configurable options inside the config.lua 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 sections are the options under the Framework and Important sections at the top of the config.lua. Everything else is optional.

Step 2 - Integrate into your 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 who is the best hacker.
The code below can only be placed inside a client.lua file, not a server.lua file.
1
local example = exports['cd_terminalhacker']:StartTerminalHacking()
2
if example.success then
3
print('im a winner')
4
print(example.time) --Returns the amount of time taken to complete (in seconds).
5
print(example.score) --Returns the score. (You gain a higher score from downloading more optional files).
6
else
7
print('i suck so bad')
8
end
Copied!

About the game

The point of the hacking game is to find 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 which are 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 own actions based on time and score.

INFORMATION

Chat commands

All of these chat commands can be renamed and disabled/enabled in the config/code.
Command
Description
/terminalhacker
(Test Command) This is a test command which opens the terminal hacker UI.

SCRIPT NOT WORKING?

Common Issues

🔔 Folder Name Make sure the name of the folder is cd_terminalhacker.

Common Error Codes

Server
Client
N/A
N/A

Troubleshooting

1. Check if the script has authorized correctly. Check the server console to make sure there are no errors saying You lack the required entitlement? and check for 2 client-sided prints saying Loaded Successfully!.
2. Check for obvious error prints in the server console and the client F8 console. If you don't see any obvious errors make sure to restart the script while the server is live and check again.
3. Enable the test command in the config, restart the script and see if it works. If it works it means you have not installed/configured it correctly.
4. If none of the above worked, have a second read through the installation guide above, you may have missed something - you are only human.
If all else fails, contact the Codesign Team in the Codesign Discord.

CHANGELOG

Files Changed: Not every update requires you to replace the whole folder. We do this because we understand it's a pain to redo the configs for every update.
  • All Files - This means you should delete your old cd_terminalhacker folder, download and add in the latest version, reconfigure the configs folder and restart your server.
  • Specific Files - This means you can simply copy and paste the SPECIFIC new files over the old ones and restart the server.
Update Type: On rare occasions, you are forced to update to the latest version. Mostly due to authentication updates where the old versions will no longer work.
  • Mandatory - This means you MUST update to this new version or the old versions will no longer work.
  • Optional - This means its completely your choice whether you wish to update to the latest version. But we do not offer support for old versions for obvious reasons; they are old.
v3.0.0
v4.0.0
v4.0.1

26/12/2020 - 21/06/2021

v3.0.0 - v3.0.4
Files Changed:
  • All files
  • Specific Files
Update Type:
  • Mandatory
  • Optional
Changelog:
Fix
  • Fixed random server error on server start.
  • Fixed a login bug fix.
  • Temporary fix for the canary issue until the new Tebex FiveM license system is ready to launch, when this is released we will be fully switching over to the new system.
  • Fix for terminalhacker not properly resetting after exiting.

02/11/2021

Files Changed:
  • All files
  • Specific Files
Update Type:
  • Mandatory
  • Optional
Changelog:
Authentication
  • We are now using the official Authentication System provided by FiveM. The old auth system will be taken offline 1 week from now (give or take a few days if needed).

08/11/2021

Files Changed:
  • All files
  • Specific Files
1
fxmanifest.lua - (IMPORTANT)
2
server/main/server.lua - (IMPORTANT)
3
client/main/client.lua - (IMPORTANT)
4
html (FULL FOLDER) - (IMPORTANT)
Copied!
Update Type:
  • Mandatory
  • Optional
Changelog:
Authentication
  • Small authentication update to ensure stability.
Last modified 10d ago