MavenLoaderAPI
No reviews yet
A custom external dependency loader is prepended to easily reduce the package size.
Provides a framework or library for other mods to use.
Paper is a fork of Spigot that adds its own plugin API on top of the Bukkit API. All Spigot plugins are compatible with paper, not all paper plugins are compatible with Spigot.
Spigot is a popular software for running dedicated servers that can load Plugins created with the Bukkit API.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
MavenLoaderAPI
A custom external dependency loader is prepended to easily reduce the package size.
Required
- Java 17+
- Velocity 3.3.0 ↔ latest (Optional)
- BungeeCord 1.18 ↔ latest (Optional)
- Spigot/Paper/Folia 1.18.2 ↔ latest (Optional)
Usage
1.4-SNAPSHOT introduced a repository whitelist mechanism to try to avoid some untrusted repositories from loading malicious dependencies.
Server
You need to add the following parameters to the Java startup parameters to enable it normally.
--add-opens=java.base/java.net=ALL-UNNAMED
Then download MavenLoader and put it in the Server plugin directory. It is recommended to keep MavenLoader the latest version.
Please confirm whether the plugin that relies on MavenLoaderAPI loads trusted dependencies and pay attention to safety.
Developer
Docs in: DEVELOPER_DOCS
Updater API in: USE_UPDATER
Example in: MavenLoader-Example
Compatibility
- 1.2-SNAPSHOT: Implementing
maven.yml - 1.4-SNAPSHOT: Implementing repository whitelisting
- 1.5-SNAPSHOT: Support Bukkit
- 1.6-SNAPSHOT (Coming soon): Support BungeeCord, PlugmanX.
maven.ymlsupportplatform,reference-loadkeyword. Remove external API (now only allow maven.yml)
Config
enable_whitelist: true # Enable repository whitelist, default is true
# repository whitelist list
whitelist:
- https://repo.maven.apache.org/maven2
- https://repo.maven.apache.org/maven2
- https://oss.sonatype.org/content/groups/public/
- https://repository.jboss.org/nexus/content/groups/public
- https://maven-central-asia.storage-download.googleapis.com/maven2/
- https://maven-central-eu.storage-download.googleapis.com/maven2/
- https://maven-central.storage-download.googleapis.com/maven2/
- https://jitpack.io
- https://hub.spigotmc.org/nexus/content/repositories/snapshots/
- https://repo.papermc.io/repository/maven-public/
- https://repo.repsy.io/mvn/rdb/default
updater:
check: true
source: github # Update Channel, Support: github, spigot, spiget
Statistics
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers