
#Bitburner functions update
If an update made a workaround script obsolete, it was not added. If a script was posted as needing fixing, it was not added to this database. I encourage you to make edits, additions, and supply constructive criticism.Īdded scripts are verified to be able to run without a runtime error. I've compiled every script that was ever mentioned in a post on the BitBurner subreddit, and placed them into folders for convenience.

Even though Bitburner is set in a dystopian future where you work alone in front of a green tinted monitor, that doesn't mean we can't create a thriving community to help each other out! Prints a raw value or a variable to the Terminal.įormat a string with an array of arguments.For inspiration, assistance, and discussion around the amazing cyperpunk-themed incremental RPG, Bitburner. Prints one or more values or variables to the Terminal. Queue a toast (bottom-right notification). Terminate current script and start another in 10 seconds. Returns a boolean denoting whether or not the specified server exists. Get the list of servers connected to a server.Ĭheck if any script with a filename is running. Start another script on the current server. Prints a formatted string to the script’s logs. Prints one or more values or variables to the script’s logs. Get a copy of the data from a port without popping it. Returns whether the player has access to the darkweb.Ĭhecks the status of the logging for the given function. Get the security increase for a number of threads.Ĭheck if you have root access on a server. Get the chance of successfully hacking a server. Get the part of money stolen with a single thread. GrowthAnalyzeSecurity(threads, hostname, cores)Ĭalculate the security increase for a number of threads. Spoof money in a server's bank account, increasing the amount available.Ĭalculate the number of grow threads needed to grow a server by a certain multiplier. Get the execution time of a weaken() call. Returns the amount of time in milliseconds that have passed since you last installed Augmentations.

Returns the required hacking level of the target server.Ĭalculate your share power. Returns the number of open ports required to successfully run NUKE.exe on the specified server. Returns the minimum security level of the target server. Get the maximum amount of RAM on a server. Get the maximum money available on a server. Defaults to the running script's server if host is not specified. Returns a server object for the given server. GetRunningScript(filename, hostname, args) Get an array of recently killed scripts across all servers. Get cost of upgrading a purchased server to the given ram. GetPurchasedServerUpgradeCost(hostname, ram) Returns an array with the hostnames of all of the servers you have purchased. Returns the maximum RAM that a purchased server can have. Returns the maximum number of servers you can purchase. Get information about the sources of income for this run.

Returns a string with the hostname of the server that the script is running on. Returns the player’s current hacking level. Returns the amount of Faction favor required to be able to donate to a faction. Terminates the current script immediately. You should prefer 'sleep' over 'asleep' except when doing very complex UI work.Īdd callback function when the script dies
