Installing plugins
There are two kinds of plugins. Vanillite loads both from the folder plugins/ in the server folder.
| Kind | What it is | You put into plugins/ |
|---|---|---|
| Native plugin | A compiled library for Vanillite's own plugin system. Fast, and as stable as the server. | A folder with plugin.toml and a library, or one .vlp file |
| Spigot or Paper plugin (Beta) | A Java .jar for Bukkit, Spigot or Paper. Runs on an optional layer. |
The .jar file |
Plugins are trusted code. They run with the rights of the server. Install only plugins you trust.
Where plugins/ is
| How you run Vanillite | Folder |
|---|---|
| Download | plugins/ next to the program |
| Docker | /data/plugins/ (the volume) |
| Pterodactyl or Pelican | plugins/, with the panel's file manager |
The server finds everything when it starts. A change needs a restart: there is no hot loading on a production server (see Managing plugins).
Native plugins
A native plugin is a folder with a manifest and a library:
plugins/
greeter/
plugin.toml the description (name, version, API version)
libgreeter.so the library (greeter.dll on Windows, libgreeter.dylib on macOS)
config.toml written by the plugin on its first start (if it has one)
- Get the plugin for your platform (Linux, Windows or macOS, and the same CPU kind: x86_64 or aarch64). A library for another platform is refused.
- Copy its folder into
plugins/. The folder name does not matter; theidinplugin.tomldoes. It is also the name of the data folder. - Restart the server. The log shows
Loading plugin <id> <version>andEnabled plugin <id> <version>. - Check with
/plugins(see Managing plugins).
Other layouts the server accepts:
- A
.vlpfile is a zip withplugin.tomland the library innative/<target>/, for examplenative/x86_64-unknown-linux-gnu/libgreeter.so. One file can carry the libraries of several platforms. The server unpacks the one it needs intoplugins/.cache/. - In a folder, the library may also lie in
native/<target>/instead of next toplugin.toml. - Folders and files whose name starts with a dot (
.) are ignored. That is how the server hides.cacheand.crashed, and you can use it to switch a plugin off (renamegreeterto.greeter).
The version must fit
The plugin was built for a plugin API version (the ABI). The server loads it if its own API version is the same or newer. If it is too old for the plugin, the log says built for plugin API 1.12, this server has 1.10 and the plugin is skipped. Update the server or use an older build of the plugin.
Plugins that need other plugins say so in their plugin.toml (depends). The server loads them in that order. If a needed plugin is missing, the plugin is skipped and the log names the missing one.
Spigot and Paper plugins (Beta)
Put the .jar files into plugins/ and start the server. It sets up what the jars need and tells you each step in the log:
- It downloads the Bukkit layer, vanillite-bukkit, into
plugins/bukkit/. The download is checked against a checksum (SHA-256) that is fixed inside the server. - If the machine has no Java 25, it downloads a small Java runtime (Eclipse Temurin 25 JRE) into
plugins/bukkit/runtime/. It is checked as well. It comes as a.zipon Windows and a.tar.gzelsewhere. - The layer loads your jars. On its first start it also downloads the Paper API once (checked by hash); it is never shipped with the layer.
The short version with "you should see" hints is the guide Spigot and Paper plugins. What runs and what does not: Spigot and Paper compatibility.
Without Paper or Spigot jars in plugins/, none of this happens: no download, no Java, no memory.
Where the server looks for Java
In this order: jvm.java-home in plugins/bukkit/config.toml, the folder plugins/bukkit/runtime/, the environment variable JAVA_HOME, java on the PATH. It must be Java 25.
Offline servers
Set plugins.bukkit.auto-setup = false (or the environment variable VANILLITE_PLUGINS__BUKKIT__AUTO_SETUP=false). The log then names the layer archive with its checksum and the folder for Java:
- put the archive into
plugins/; the next start unpacks it, - unpack a Java 25 runtime into
plugins/bukkit/runtime/, or setJAVA_HOME, or write[jvm] java-home = "/path/to/jdk-25"intoplugins/bukkit/config.toml.
Platforms
| Platform | Native plugins | Ready-made Bukkit layer |
|---|---|---|
| Linux (x86_64, aarch64) | yes | yes (the server downloads it). The Docker image was tried with plugins on x86_64; the ARM image without plugins only. |
| Windows (x86_64), macOS (Apple silicon and Intel) | yes (a .dll or .dylib built for it) |
yes (the server downloads the layer's release for it, 0.1.2 and 0.1.3 have one). Not tested with real plugins yet. If a step fails, unpack the folder bukkit of the archive into plugins/ yourself (and have Java 25, see above), or build the layer from the repository (needs Rust and a JDK 25) |
The layer release the server installs is fixed per Vanillite version in crates/vanillite-server/bukkit-layer.txt: Vanillite 0.1.0-beta.4 installs layer 0.1.3 (0.1.0-beta.3 installed 0.1.2). The file lists a checksum only for the targets that have a release; for another target the log says how to install the layer by hand.
Why Linux servers start a second program
The ready-made Linux downloads and the Docker image are "static" programs. A static program cannot load libraries, so it cannot load plugins. They come with a second program, vanillite-gnu, built from the same code. When plugins/ holds plugins, the server starts that one in its place. You do nothing.
If vanillite-gnu is missing or from another build, the server starts without plugins and says why in the log (Starting without plugins: …).
Settings
In vanillite.toml, see Configuration overview. All of them need a restart.
| Key | Default | What it does |
|---|---|---|
plugins.enabled |
true |
Load the plugins in plugins/. false loads none. |
plugins.runtime |
auto |
Which program loads plugins: auto starts vanillite-gnu when plugins/ holds plugins, gnu always, static never (plugins are then not loaded). Builds that can load plugins themselves ignore it. |
plugins.bukkit.auto-setup |
true |
Install the Bukkit layer and Java by itself when plugins/ holds Paper or Spigot jars. |
plugins.safe-mode-after-crash |
true |
Skip a plugin that crashed the server, see Managing plugins. |
plugins.pins |
empty | Allowed SHA-256 hashes of plugin libraries (id=hash,id=hash). |
plugins.development |
false |
For plugin authors: load a new build without restart. Not for production. |
commands.bukkit-commands |
profile | Paper's /version. On in the paper and spigot profiles. |
See also: Managing plugins, Plugin troubleshooting, Quick start with Docker, Pterodactyl and Pelican.
Next: Managing plugins.