- Download the compiled
.jar
file from the latest release matching your Minecraft version. - Put the file in your
plugins
folder of your server's root directory. - Restart your server. The plugin will now generate a
config.yml
file in theplugins/spawncmdplugin
folder. - Use the configuration file mentioned above to configure the plugin to your liking.
- Restart your server to apply changes made to
config.yml
Tip
You may also want to read https://docs.papermc.io/paper/adding-plugins.
- Remove the
.jar
file of the old version from theplugins
folder. - To get changes made to the
config.yml
you need to delete or rename theconfig.yml
contained in your server'splugins/spawncmdplugin
folder. (Renaming the file is recommended) - Download the compiled
.jar
file from the latest release matching your Minecraft version. - Put the file in your
plugins
folder of your server's root directory. - Restart your server. The plugin will now generate a new
config.yml
file in theplugins/spawncmdplugin
folder. - If you renamed the old
config.yml
in step 2, you can now copy the changes you made to the oldconfig.yml
into the newconfig.yml
and won't have to reconbfigure it all from scratch. - Delete your old
config.yml
.
-
Name: Language Support for Java(TM) by Red Hat Id: redhat.java Description: Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more... Version: 1.35.1 Publisher: redhat VS Marketplace Link: https://open-vsx.org/vscode/item?itemName=redhat.java
-
Name: Nix Environment Selector Id: arrterian.nix-env-selector Description: Allows switch environment for Visual Studio Code and extensions based on Nix config file. Version: 1.0.11 Publisher: arrterian VS Marketplace Link: https://open-vsx.org/vscode/item?itemName=arrterian.nix-env-selector
Select via the Nix Environment Selector the shell.nix and restart VSCodium. (F1 → Nix-Env: Select environment
→ shell.nix
)
Enter a nix-shell
and run ./gradlew
.
Note
To get the java language support to work you may need to run echo $JAVA_HOME
inside the nix shell, copy the output string and paste it into .vscode/settings.json
under java.jdt.ls.java.home
.
Run ./gradlew runServer
. This task will fail.
Edit the spawncmdplugin/run/eula.txt
file: Change false
to true
Run ./gradlew build
.
The built .jar
file will be in spawncmdplugin/build/libs
.