478452433e3fabe7dfa3561090b5233dbb8f3e10
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
- If you dont already have it installed, install NodeJS
- Clone this repository
- navigate to the template (
cd path/to/the/template) inside your console - run
npm installin your console to install all dependencies - run
npm startin your console to start the RemoteAPI server - open Bitburner and navigate to the settings
- open the tab labeled 'Remote API' and enter the port '12525'
- press connect
Now any changes made to scripts inside the server folders will automatically be uploaded to Bitburner. To upload new scripts steps 5-7 will have to be repeated after their creation. (I plan on improving that)
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!
Languages
JavaScript
100%