diff --git a/README-Separate-Dependencies.md b/README-Separate-Dependencies.md new file mode 100644 index 0000000..484bade --- /dev/null +++ b/README-Separate-Dependencies.md @@ -0,0 +1,15 @@ +### What's the advantage of using separated dependencies? + +The plugin's jar size is **way** smaller (1.8 MB → 12 KB) + +### How to use this plugin with separated dependencies: + +1. Copy plugin jar to `./plugins` +2. Copy dependency jars to `./libs` +3. Change your start script from `java -jar nogui` to... + * For CraftBukkit / Spigot: `java -cp ":./libs/*" org.bukkit.craftbukkit.Main nogui` + * For PaperMC / Purpur: `java -cp ":./libs/*" -javaagent: io.papermc.paperclip.Paperclip nogui` + +* Note: You should replace the `:` with `;` in the start script if you are using Windows. +* Note: Replace `` with the name of your CraftBukkit or Spigot jar file. +