Write scripts in JavaScript to automate gameplay, learn skills, play minigames, solve puzzles, and more in this cyberpunk text-based incremental RPG. test.js will not be pushed to the game as it is a level above the configured 'script root'.īitburner is a programming-based incremental game. out/folder/subfolder/script.js will push to Home:~/folder/subfolder/script.js in game. out/folder/script.js will push to Home:~/folder/script.js in game. out/script.js will push to Home:~/script.js in game. With the the following configuration scriptRoot: "./out/". Behaviourįiles that are pushed to the game will be done so relative to the 'Script Root' (See configuration: bitburner.scriptRoot), respecting any folders from that root to your scripts location. NOTE: You can only watch paths within the workspace VSCode has open. This setting will not work if set in user settings, it must be set at the workspace or folder level. You can enable the fileWatcher by default with the setting within the plugin configuration. You can change the directory being watching with the bitburner.scriptRoot setting within the plugin configuration, open VSCode preferences to modify the value - default as.
script extension within your currently open folder/workspace - Respecting any folders that you may have them in. This is currently disabled by default (but can be overwritten in Workspace/Folder preferences), the behaviour is - It will push all files that have a.
The directory that the File Watcher (if enabled) uses as the 'root' directory to watch.Ī configuration option that is only read from the Workspace or Folder configurations, a way to enable the File Watcher by default. Use at your own risk! Remember to backup your save and scripts! Extension Configuration Configuration This is an early WIP with a few hours gone in to both the extension and the game functionality, a lot is subject to change. Note: The extension currently works with the 'dev' branch of the game. The game provides a variety of mechanics and systems that can be changed through coding and solved or automated in whatever way you find suitable.This extension allows for you to have all of your scripts on your host machine and push them to the running game client! Inspired by games like Else Heart.break(), Hacknet, Uplink, and Deus Ex, Bitburner is a programming-based idle incremental RPG where you, the player, take the role of an unknown hacker in a dark, dystopian world. After 5 years of development, contributions from hundreds of developers, the critically acclaimed open source programming hacking sim is available on Steam.