From 28c388cce5c2030208407db7d33d082ea27b34f9 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 10 Jul 2021 20:44:48 +0800 Subject: [PATCH] [+] Create separated dependencies readme --- README-Separate-Dependencies.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README-Separate-Dependencies.md 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. +