Envi Scripts Documentation
  • 👋Introduction
  • 🌉Envi-Bridge
  • ⚙️Compatibility
  • 🖨️Licensing
  • 📒Premium Scripts
    • ❔FAQ / COMMON ISSUES
    • ‼️FIRST STEPS (READ FIRST)
    • ⭐Useful Resources
    • 👀Envi FiveM Showcase Server
    • 📸Envi-Camera
      • ❗First Steps
      • Inventory Setup
      • Editable Functionality
      • Complete Lens Kit
      • Printing Photos
      • Ped Reactions
      • Exports
      • Config File
    • 🪚Envi-ChopShop
      • Inventory Setup
      • How to Chop
      • Props for AntiCheats
      • Editable Functionality
      • Config File
    • 🪣Envi-Dumpsters
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Exports
      • Exclusive Zones
      • Survival Items
      • Shopping Carts
      • Hobo Bowling
      • Hobo Taxi
      • Rats and Racoons
      • Config File
      • V2 Config
    • 💺Envi-Ejector-Seats
      • Inventory Setup
      • How to Eject
      • Editable Functionality
      • Config File
    • 🔥Envi-Flamethrower (Standalone)
      • Common Issues
      • Inventory Setup
      • Refueling
      • Editable Functionality
      • Config File
    • 🪽Envi-Flight-Suits
      • Inventory Setup
      • Flight Suits
      • Config File
    • 🍜Envi-Food-Truck
      • ❗VooDoo Required
      • Common Issues
      • Inventory Setup
      • Adding Additional Grill Items
      • Unique Shops with Liveries
      • Spawning the Trucks
      • Using the Trucks
      • Exports
      • Config File
    • 💍Envi-Forever-Rings
      • Inventory Setup
      • Editable Functionality
      • Ring Shop MLO
      • Config File
    • 💻Envi-Hack-Minigames (Standalone)
      • The Worm
      • Password
      • Firewall
      • Node Runner
      • Config File
    • 🎞️Envi-HUD
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Adding Custom Weapons
      • Change Logo
      • Custom Fonts
      • Converting Notifications
      • Converting Progress Bars
      • Editable Functionality
      • Settings Save Location
      • Exports and Events
      • Commands
      • Vehicle Control
      • Anti Muscle Spasm
      • Ragdoll
      • Config File
    • 🎇Envi-Items
      • Inventory Setup
      • Config File
    • 🚑Envi-Medic
      • Common Issues
      • Fully Disable Transport to Hospital
      • Failsafe
      • Ambulance Scripts
      • Vehicle Fuel
      • Vehicle Keys
      • Exports
      • Config File
    • ☄️Envi-MethVan
      • Common Issues
      • Inventory Setup
      • Cooking Process
      • Editable Functionality
      • Adding a Vehicle
      • Config File
    • 🍃Envi-Megablower9000 (Standalone)
      • Inventory Setup
      • Config File
    • 👯Envi-Population (Standalone)
      • ❗Initial Setup
      • Common Issues
      • Config File
    • 🗒️Envi-Prescriptions
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Config File
    • 🔧Envi-Sabotage
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Exports
    • 🛒Envi-Shops
      • Common Issues
      • Inventory Setup
      • Exports
      • Editable Functionality
      • Config File
    • 📱Envi-Trap-Phone
      • Common Issues
      • Inventory Setup
      • Commands
      • Exports
      • Adding Custom Drugs
      • Using the Phone
      • Disabling Extra Services
      • Config Files
        • config.lua
        • dialogueSettings.lua
        • extraServices.lua
        • gangZoneSettings.lua
        • personalitySettings.lua
        • specialContactSettings.lua
    • 👰Envi-Weddings
      • Inventory Setup
      • Starting Info
      • Manually Removing Data
      • Commands
      • Config File
    • 🎅Envi Xmas-Weapons (Standalone)
      • Inventory Setup
      • Config File
    • 🗡️Envi-Zombie-Weapons (Standalone)
      • Inventory Setup
    • 🧟‍♂️Envi-Zombies
Powered by GitBook
On this page
  • Basic Information
  • Exports (client side only)
  • Default Settings
  • Custom Settings
  • Getting Defaults
  1. Premium Scripts
  2. Envi-Hack-Minigames (Standalone)

Password

PreviousThe WormNextFirewall

Last updated 25 days ago


Basic Information

  • Preset word lists in config for each difficulty level

  • UI Automatically adjusts based on size of word

  • Ability to pass in a custom word list through the export

  • Supports custom preset lists of words as well

    • For Example you can create a computerPassword list that could contain unique words used for computer hacking exclusively


Exports (client side only)

Default Settings

-- Using preset difficulty of 'hard'
exports['envi-hack-minigames']:StartPasswordHack('hard', function(success)
    if success then
        print('Worm hack completed successfully!')
    else
        print('Worm hack failed!')
    end
end)

Custom Settings

Using Custom List

local customWords = {
    "LOGIN", "ADMIN", "SERVER", "DATABASE", "PASSWORD", "SECURITY",
    "CAT", "DOG", "RUN", "FLY", "JUMP", "CODE", "HACK", "BYTE", "DISK",
    "SYSTEM", "NETWORK", "FIREWALL", "ROUTER", "SWITCH", "PROTOCOL",
    "ENCRYPTION", "DECRYPTION", "ALGORITHM", "FUNCTION", "VARIABLE",
    "KEY", "API", "GUI", "CPU", "RAM", "SSD", "USB", "VPN", "WIFI",
    "BLUETOOTH", "MALWARE", "RANSOMWARE", "PHISHING", "BACKDOOR",
    "AUTHENTICATION", "AUTHORIZATION", "CYBERSECURITY", "VULNERABILITY",
    "BUG", "FIX", "PATCH", "UPDATE", "DOWNLOAD", "UPLOAD", "CLOUD",
    "PROGRAMMING", "DEVELOPMENT", "IMPLEMENTATION", "CONFIGURATION"
}

exports['envi-hack-minigames']:StartPasswordHack({
    timeLimit = 180,
    words = customWords,
}, function(success)
    if success then
        print('Worm hack completed successfully!')
    else
        print('Worm hack failed!')
    end
end)

Using Difficulty Number

exports['envi-hack-minigames']:StartPasswordHack({
    timeLimit = 180,
    difficulty = 2,
}, function(success)
    if success then
        print('Worm hack completed successfully!')
    else
        print('Worm hack failed!')
    end
end)

Getting Defaults

-- Get default settings for difficulty
local hackType = 'password'
local difficultyPreset = 'medium'
local defaults = exports['envi-hack-minigames']:GetHackDefaults(hackType, difficultyPreset)

-- Adjust difficulty
-- Can be adjusted however you wish based on whatever parameters you decide
defaults.difficuly = defaults.difficuly - 1

-- Start the hack with the adjusted default settings
exports['envi-hack-minigames']:StartPasswordHack(defaults, function(success)
    if success then
        print('Hack Success!')
    else
        print('Hack Failed!')
    end
end)
📒
💻