Go to file
2023-11-02 14:10:24 -03:00
.idea Add webstorm config 2023-11-02 11:14:49 -03:00
servers/home/no-ports Use different template 2023-11-02 14:10:24 -03:00
.gitignore Use different template 2023-11-02 14:10:24 -03:00
build.mjs Use different template 2023-11-02 14:10:24 -03:00
LICENSE Use different template 2023-11-02 14:10:24 -03:00
package-lock.json Use different template 2023-11-02 14:10:24 -03:00
package.json Use different template 2023-11-02 14:10:24 -03:00
README.md Use different template 2023-11-02 14:10:24 -03:00
tsconfig.json Use different template 2023-11-02 14:10:24 -03:00

bb-external-editor

This is a template for using any external editor for Bitburner. This Template supports JSX, TS and TSX out of the box.

How to use

  1. If you dont already have it installed, install NodeJS
  2. Clone this repository
  3. navigate to the template (cd path/to/the/template) inside your console
  4. run npm install in your console to install all dependencies
  5. run npm start in your console to start the RemoteAPI server
  6. open Bitburner and navigate to the settings
  7. open the tab labeled 'Remote API' and enter the port '12525'
  8. press connect

Now any changes made to scripts inside the server folders will automatically be uploaded to Bitburner.

Using React

The React and ReactDOM instance from the game can simply be imported as ESModules

import React from 'react' //and
import ReactDOM from 'react-dom'

For more in-depth details have a look at the plugin powering this template!