2018-12-04 02:20:58 +01:00
|
|
|
.. _netscriptfunctions:
|
|
|
|
|
2018-01-09 21:48:06 +01:00
|
|
|
Netscript Basic Functions
|
|
|
|
=========================
|
|
|
|
|
2021-12-19 06:43:58 +01:00
|
|
|
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
|
2018-01-09 21:48:06 +01:00
|
|
|
This includes information such as function signatures, what they do, and their return values.
|
|
|
|
|
2019-03-03 04:08:54 +01:00
|
|
|
.. 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>
|
2021-05-03 07:07:46 +02:00
|
|
|
getServerMaxRam() <basicfunctions/getServerMaxRam>
|
|
|
|
getServerUsedRam() <basicfunctions/getServerUsedRam>
|
2019-03-03 04:08:54 +01:00
|
|
|
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>
|
2021-11-18 01:56:17 +01:00
|
|
|
getScriptRam() <basicfunctions/getScriptRam>
|