bitburner-src/doc/source/netscript/netscriptfunctions.rst

78 lines
3.5 KiB
ReStructuredText
Raw Normal View History

2018-12-04 02:20:58 +01:00
.. _netscriptfunctions:
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/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>
2023-02-24 13:10:57 +01:00
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>
2023-01-06 13:43:09 +01:00
upgradePurchasedServer() <basicfunctions/upgradePurchasedServer>
renamePurchasedServer() <basicfunctions/renamePurchasedServer>
getPurchasedServers() <basicfunctions/getPurchasedServers>
getPurchasedServerLimit() <basicfunctions/getPurchasedServerLimit>
getPurchasedServerMaxRam() <basicfunctions/getPurchasedServerMaxRam>
getPurchasedServerCost() <basicfunctions/getPurchasedServerCost>
2023-01-06 13:43:09 +01:00
getPurchasedServerUpgradeCost() <basicfunctions/getPurchasedServerUpgradeCost>
getScriptRam() <basicfunctions/getScriptRam>
share() <basicfunctions/share>
getSharePower() <basicfunctions/getSharePower>