Libstore

259 Downloads

Libstore allows developers to make plugins with non-bukkit libraries, and without needing to include those libraries jar files into the plugin file.



How it works


Libstore create a folder inside server's folder named as "natives/", inside this folder you can drag any library jar file and you only need to restart the server or use manual jar loading with Libstore commands. So, you only need to leave link for the download of library jar file, user will download that and drag do the natives/ folder. Too easy!

By default, Libstore contains (downloaded from secure and official servers, you can check those files) and save (to natives folder) some libraries from Apache Foundation (like IO, Collections, DBCP, Pool, Proxy and Logging).

NOT RECOMMENDED: If you don't want to use default libraries, you only need to create a file inside "natives/" named as "lockdef.txt" and we don't download/use any default library. After do that, you can delete/remove files with prefix "def_".



Our idea


This project don't limit you to use only Apache Libraries, you can do much more than it. As example, you can create a plugin based on Kotlin Language and add the Kotlin Library to natives/ folder. That's no one problem.

Sometimes we need to refactory methods and somethings because we can't use external libraries, and it need to be solved, now.



Compatibility with CraftBukkit/Spigot


We only use JavaPlugin class to manage the libraries and to create Libstore commands for reduce your work. So, you can use ANY VERSION of CraftBukkit/Spigot you want.

We use a Updater too (Only to send a notification for you that have new updates, we DON'T DOWNLOAD anything!).



Command List — OPTIONAL


CommandDescription
/addjarManual loading of a library jar file (e.g if you added jar file after server starts)
/listjarsShow a list of loaded libraries (File name)
/lockdefEnable or disable LOCKDEF (To don't use default libraries)





Video


Comming soon! If you want to make the video, call me in Bukkit Inbox or at Skype jpedro2014 and send me the Video Link and i'll put here (with your credits and your channel name/link). Thank you.



Copyright Warning


We download some default libraries inside plugin, those libraries are created and/or developed by Apache and/or Apache team members. All credits and copyright is from they, i only automate the process of download.



About the Project


Source code: Jump to Github.
License: GNU General Public License (V3) by Free Software Foundation.
Explicação em Português Brasileiro: Clique aqui ver.
Need to contact me?: [email protected] or at Skype jpedro2014



If you can/want to donate and help me to create FFA projects like this, you can with PagSeguro: [email protected]


Enjoy! :)