Plugin library packaging or downloading onEnable

Discussion in 'Plugin Development' started by Timatooth, Aug 23, 2013.

?

Libraries: Download onEnable or package with plugin

  1. Package it in zip

    0 vote(s)
    0.0%
  2. Use Java method to download library from official URL.

    100.0%
Multiple votes are allowed.
Thread Status:
Not open for further replies.
  1. Offline

    Timatooth

    Title says it all. I have started updating my plugin Mineload a lot more and it now uses an external library for SQL (H2 and MySQL) support. I have written a database class that detects whether the driver is already in a MineloadPlugin/lib folder and downloads the preferred JDBC connector from the official URLS. LWC does this with SQLite

    Alternatively the plugin could just include the libs inside a Zip file for extracting.

    Which do people prefer?
     
Thread Status:
Not open for further replies.

Share This Page