
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! The game can be played via Steam or via the Web with any browser that supports and has Javascript enabled.For inspiration, assistance, and discussion around the amazing cyperpunk-themed incremental RPG, Bitburner. 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.


When the game is started for the first time, it generates an 'Auth Token' that can be used by third party programs/applications/scripts to push files to the game. The auth token that the game generates, needed for you to be able to push files in to your game client.


If true, this will show a notification/toast whenever the File Watcher is enabled and/or the extension configuration scriptRoot has changed. Errors will always show.īitburner.showFileWatcherEnabledNotification If true, this will show a notification/toast when a file has been successfully pushed to the game. 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. This extension allows for you to have all of your scripts on your host machine and push them to the running game client!
