SPIGET_RESOURCES variable automatically downloads Spigot/Bukkit/Paper plugins using the Spiget API.
Resources that are zip files will be expanded into the plugins directory, and resources that are jar files will be moved there.
The variable is purposely spelled SPIGET with an “E” (not SPIGOT).
Finding Resource IDs
The resource ID is the numerical part of the SpigotMC URL after the shortname/slug and a dot. Example:Basic Usage
SetSPIGET_RESOURCES to a comma-separated list of SpigotMC resource IDs.
Multiple Resources
You can specify multiple resource IDs in different formats:Complete Example
Find plugin resource IDs
Visit SpigotMC Resources and find the plugins you want:
- LuckPerms: https://www.spigotmc.org/resources/luckperms.28140/ → ID: 28140
- Vault: https://www.spigotmc.org/resources/vault.34315/ → ID: 34315
- WorldEdit: https://www.spigotmc.org/resources/worldedit.13932/ → ID: 13932
Start the server
- Download each plugin from SpigotMC via Spiget
- Extract zip files or move jar files to
/data/plugins - Start the server
Limitations
Popular Plugin Resource IDs
Here are some commonly used plugins:| Plugin | Resource ID | URL |
|---|---|---|
| LuckPerms | 28140 | https://www.spigotmc.org/resources/luckperms.28140/ |
| Vault | 34315 | https://www.spigotmc.org/resources/vault.34315/ |
| WorldEdit | 13932 | https://www.spigotmc.org/resources/worldedit.13932/ |
| WorldGuard | 13749 | https://www.spigotmc.org/resources/worldguard.13749/ |
| EssentialsX | 9089 | https://www.spigotmc.org/resources/essentialsx.9089/ |
| CoreProtect | 8631 | https://www.spigotmc.org/resources/coreprotect.8631/ |
Not all of these plugins may permit automated downloads. Check the plugin’s resource page for download restrictions.
Environment Variables Reference
| Variable | Description | Required |
|---|---|---|
SPIGET_RESOURCES | Comma-separated list of SpigotMC resource IDs | Yes |
Combining with Other Methods
You can combineSPIGET_RESOURCES with other plugin installation methods:
- Downloads LuckPerms and Vault via Spiget
- Downloads Geyser and Floodgate from direct URLs
- Copies plugins from local
./pluginsdirectory
All plugin installation methods are processed in order:
/pluginsvolume mountSPIGET_RESOURCESPLUGINSvariable- Other methods (Modrinth, etc.)