Edit your Minecraft server scripts directly in VS Code — powered by the Coder GWI Editor Cloudflare Worker.
Features
| Feature | Details |
|---|---|
| Live file sync | Files load from the server on connect and save back on Ctrl+S |
| Full explorer | Folder tree in the activity bar — click to open any file |
| Create / Rename / Delete | Right-click files or folders in the tree |
| Execute scripts | Run .java, .py, .lua files directly on the server |
| Auth flow | Mirrors the browser editor — request access, operator approves in-game |
Virtual FS (gwi://) |
Files open with full VS Code language support, IntelliSense, and extensions |
Getting Started
1. Install the extension
Install from the VS Code marketplace or via .vsix.
2. Start a GWI session in-game
/coder editor start
This generates a session token shown in chat.
3. Connect from VS Code
- Click the ⚡ Coder GWI icon in the activity bar
- Click Connect to Session
- Paste your token
- Enter your display name
- Approve the request in-game (
/coder editor approve <name>)
4. Edit files
Your server files appear in the Files tree. Click any file to open it in the editor. Save with Ctrl+S — changes are pushed to the server instantly.
Commands
| Command | Description |
|---|---|
Coder GWI: Connect to Session |
Start the connection flow |
Coder GWI: Disconnect |
Close the session |
Coder GWI: Refresh File List |
Re-fetch all files from the server |
Coder GWI: New File |
Create a new file |
Coder GWI: New Folder |
Create a new folder |
Coder GWI: Rename |
Rename a file or folder |
Coder GWI: Delete |
Delete a file or folder |
Coder GWI: Execute File ▶ |
Queue a script for execution (.java / .py / .lua) |
Settings
| Setting | Default | Description |
|---|---|---|
coderGWI.workerUrl |
https://coder-gwieditor.firesmasher.workers.dev |
The GWI Cloudflare Worker URL |
coderGWI.sessionToken |
(empty) | Pre-fill your session token |
coderGWI.browserUser |
(empty) | Pre-fill your display name |
coderGWI.pollIntervalMs |
2000 |
Auth poll interval (ms) |
How It Works
The extension talks to the Coder GWI Cloudflare Worker using the same REST API as the browser editor:
VS Code ←→ Cloudflare Worker ←→ Minecraft Plugin (Coder)
Files are stored in Firestore during the session and synced in real time.
Sessions expire after ~30 minutes of inactivity.
Requirements
- Coder plugin ≥ v2.3 installed on your Minecraft server
- A running GWI session (started with
/coder editor start)
License
MIT — created by FireSmasher