.. _netscriptfunctions:

Netscript Basic Functions
=========================

This page contains a subset of functions that are available in Bitburner.
For the complete list see https://github.com/danielyxie/bitburner/tree/dev/markdown
This includes information such as function signatures, what they do, and their return values.

.. toctree::
    :caption: Functions:

    hack() <basicfunctions/hack>
    grow() <basicfunctions/grow>
    weaken() <basicfunctions/weaken>
    sleep() <basicfunctions/sleep>
    print() <basicfunctions/print>
    tprint() <basicfunctions/tprint>
    disableLog() <basicfunctions/disableLog>
    enableLog() <basicfunctions/enableLog>
    isLogEnabled() <basicfunctions/isLogEnabled>
    scan() <basicfunctions/scan>
    nuke() <basicfunctions/nuke>
    brutessh() <basicfunctions/brutessh>
    ftpcrack() <basicfunctions/ftpcrack>
    relaysmtp() <basicfunctions/relaysmtp>
    httpworm() <basicfunctions/httpworm>
    sqlinject() <basicfunctions/sqlinject>
    run() <basicfunctions/run>
    exec() <basicfunctions/exec>
    spawn() <basicfunctions/spawn>
    kill() <basicfunctions/kill>
    killall() <basicfunctions/killall>
    scp() <basicfunctions/scp>
    ls() <basicfunctions/ls>
    ps() <basicfunctions/ps>
    hasRootAccess() <basicfunctions/hasRootAccess>
    getHackingLevel() <basicfunctions/getHackingLevel>
    getHackingMultipliers() <basicfunctions/getHackingMultipliers>
    getHacknetMultipliers() <basicfunctions/getHacknetMultipliers>
    getServerMoneyAvailable() <basicfunctions/getServerMoneyAvailable>
    getServerMaxMoney() <basicfunctions/getServerMaxMoney>
    getServerSecurityLevel() <basicfunctions/getServerSecurityLevel>
    getServerMinSecurityLevel() <basicfunctions/getServerMinSecurityLevel>
    getServerRequiredHackingLevel() <basicfunctions/getServerRequiredHackingLevel>
    getServerNumPortsRequired() <basicfunctions/getServerNumPortsRequired>
    getServerMaxRam() <basicfunctions/getServerMaxRam>
    getServerUsedRam() <basicfunctions/getServerUsedRam>
    serverExists() <basicfunctions/serverExists>
    fileExists() <basicfunctions/fileExists>
    isRunning() <basicfunctions/isRunning>
    getPurchasedServerCost() <basicfunctions/getPurchasedServerCost>
    purchaseServer() <basicfunctions/purchaseServer>
    deleteServer() <basicfunctions/deleteServer>
    getPurchasedServers() <basicfunctions/getPurchasedServers>
    getPurchasedServerLimit() <basicfunctions/getPurchasedServerLimit>
    getPurchasedServerMaxRam() <basicfunctions/getPurchasedServerMaxRam>
    scriptRunning() <basicfunctions/scriptRunning>
    scriptKill() <basicfunctions/scriptKill>
    getScriptRam() <basicfunctions/getScriptRam>