Mineuniverse
Log in Register
Plugins

MavenLoaderAPI

A custom external dependency loader is prepended to easily reduce the package size.
by default_user
Download Claim this project
109 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools

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.yml support platform, reference-load keyword. 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

MavenLoader-1.5-SNAPSHOT.jar
MC 1.20.6, 1.21.2, 1.21, 1.21.3, 1.19.3, 1.20.2, 1.20, 1.20.4, 1.20.3-Snapshot, 1.21.4, 1.19.2, 1.20.5, 1.21.5, 1.20.1, 1.21.5-Snapshot, 1.20.3, 1.21.7, 1.21.1, 1.20.5-Snapshot
Release 2024-09-30 Get
MavenLoader-1.4-SNAPSHOT.jar
MC 1.20.6, 1.21, 1.9, 1.16, 1.19.3, 1.20.2, 1.18.1, 1.20, 1.20.4, 1.20.3-Snapshot, 1.19.2, 1.20.5, 1.20.1, 1.20.3, 1.17, 1.14, 1.8.1, 1.18, 1.11, 1.20.5-Snapshot, 1.12, 1.10
Release 2024-09-29 Get
MavenLoader-1.3-SNAPSHOT.jar
MC 1.20.6, 1.21, 1.9, 1.16, 1.19.3, 1.20.2, 1.18.1, 1.20, 1.20.4, 1.20.3-Snapshot, 1.19.2, 1.20.5, 1.20.1, 1.20.3, 1.17, 1.14, 1.8.1, 1.18, 1.11, 1.20.5-Snapshot, 1.12, 1.10
Release 2024-09-22 Get
MavenLoader-1.2-SNAPSHOT.jar
MC 1.20.6, 1.21, 1.9, 1.16, 1.19.3, 1.20.2, 1.18.1, 1.20, 1.20.4, 1.20.3-Snapshot, 1.19.2, 1.20.5, 1.20.1, 1.20.3, 1.17, 1.14, 1.8.1, 1.18, 1.11, 1.20.5-Snapshot, 1.12, 1.10
Release 2024-09-21 Get
MavenLoader-1.1-SNAPSHOT.jar
MC 1.20.6, 1.21, 1.9, 1.16, 1.19.3, 1.20.2, 1.18.1, 1.20, 1.20.4, 1.20.3-Snapshot, 1.19.2, 1.20.5, 1.20.1, 1.20.3, 1.17, 1.14, 1.8.1, 1.18, 1.11, 1.20.5-Snapshot, 1.12, 1.10
Release 2024-09-19 Get
MavenLoader-1.0-SNAPSHOT.jar
MC 1.20.6, 1.21, 1.9, 1.16, 1.19.3, 1.20.2, 1.18.1, 1.20, 1.20.4, 1.20.3-Snapshot, 1.19.2, 1.20.5, 1.20.1, 1.20.3, 1.17, 1.14, 1.8.1, 1.18, 1.11, 1.20.5-Snapshot, 1.12, 1.10
Release 2024-09-18 Get

More from default_user

BreedHorse
84
ResourcePack detection that shouldn't exist
829
Don't freeze
795
Let's Expand
74
Krypton Reno
6,549,173
YggdrasilProxy
4,935

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677