bitburner-src/doc/source/netscript/netscriptfunctions.rst
2023-02-24 14:10:57 +02:00

78 lines
3.5 KiB
ReStructuredText

.. _netscriptfunctions:
Netscript Basic Functions
=========================
This page contains a subset of functions that are available in Bitburner.
For the complete list see https://github.com/bitburner-official/bitburner-src/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>
tFormat() <basicfunctions/tFormat>
nFormat() <basicfunctions/nFormat>
formatNumber() <basicfunctions/formatNumber>
formatPercent() <basicfunctions/formatPercent>
formatRam() <basicfunctions/formatRam>
disableLog() <basicfunctions/disableLog>
enableLog() <basicfunctions/enableLog>
isLogEnabled() <basicfunctions/isLogEnabled>
clearLog() <basicfunctions/clearLog>
tail() <basicfunctions/tail>
closeTail() <basicfunctions/closeTail>
moveTail() <basicfunctions/moveTail>
resizeTail() <basicfunctions/resizeTail>
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>
scriptKill() <basicfunctions/scriptKill>
scriptRunning() <basicfunctions/scriptRunning>
scp() <basicfunctions/scp>
ls() <basicfunctions/ls>
ps() <basicfunctions/ps>
mv() <basicfunctions/mv>
rm() <basicfunctions/rm>
hasRootAccess() <basicfunctions/hasRootAccess>
getHostname() <basicfunctions/getHostname>
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>
purchaseServer() <basicfunctions/purchaseServer>
deleteServer() <basicfunctions/deleteServer>
upgradePurchasedServer() <basicfunctions/upgradePurchasedServer>
renamePurchasedServer() <basicfunctions/renamePurchasedServer>
getPurchasedServers() <basicfunctions/getPurchasedServers>
getPurchasedServerLimit() <basicfunctions/getPurchasedServerLimit>
getPurchasedServerMaxRam() <basicfunctions/getPurchasedServerMaxRam>
getPurchasedServerCost() <basicfunctions/getPurchasedServerCost>
getPurchasedServerUpgradeCost() <basicfunctions/getPurchasedServerUpgradeCost>
getScriptRam() <basicfunctions/getScriptRam>
share() <basicfunctions/share>
getSharePower() <basicfunctions/getSharePower>