Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GroovyScriptNew to Visual Studio Code? Get it now.
GroovyScript

GroovyScript

CleanroomMC

|
1,427 installs
| (0) | Free
GroovyScript language client for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GroovyScript

This is the official VSC extension for the Minecraft 1.12.2 mod GroovyScript. It allows VSC to connect to a running minecraft instance with a groovy folder and provide various tools for writing scripts like auto-completion and hover info.

Versions

  • 1.0.2 requires between GroovyScript 1.0.0 and 1.2.0
  • 1.2.0 requires at least GroovyScript 1.2.0

Getting Started

First you need to start the language server. Then you can connect VSC.

Starting the language Server

There are two ways to do that.

  1. (Automatic) Adding -Dgroovyscript.run_ls=true to the JVM arguments in your preferred launcher and start Minecraft with GroovyScript. You will be able to connect VSC as soon as GroovyScript is in its init load stage.
  2. (Manually) By starting Minecraft and GroovyScript and running /grs runLS command. Obviously you need to load into a world for that.

You can check if the server started by checking for a Starting Language server message in the groovy log.

By default, the language server is started with a port of 25564. It must be the same as the port in the VSC extension, which is configurable.

Connect VSC

  1. Open VSC (skip if already open)
  2. Install GroovyScript extension (skip if already installed)
  3. Open the instance folder or groovy folder of a modpack in VSC
  4. If you just opened VSC, it should auto connect. Otherwise, run the GroovyScript: Reconnect command.
  5. Done

At the bottom right in the status bar is a thumbs up/down emoji. This indicates the server connection status.

That's it. The important part is that Minecraft needs to be running and the language server is started. Note that minecraft has higher memory and cpu usage while the language server is running.

Happy scripting :)

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft