Need Help With SQLite..

Discussion in 'Plugin Development' started by Jeff.Halbert, May 5, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Jeff.Halbert

    So I developed a plugin called ChunkProtection, and it kinda works to some extent. It does what it needs to do, except, I am using some pretty bad methodology to get the job done. Rather than implementing new updates that build on top of the bad code that exists, I would like to simplify things by converting the entire plugin to use SQLite rather than flatfile. The only issue is, I do not know how to do that, and I cannot find any good/understandable tutorials to learn the methods. So my question is:

    How do I use SQLite with a plugin?

    I noticed that there is a driver that gets download according to operating system, when ever I read through LWC (the only plugin off the top that uses SQLite).

    How would I get the server to download a driver? And use it?

    Is there any specific depencies besides that driver that I would have to import in order to use SQLite?

    As you can see, I am complete new to this, and have only been doing plugins/java for about 3 weeks. Yet I am a fast learner, there is still alot that I don't understand. Any help would help :-D

    If you would like to see my code, you can download my plugin at:
    http://dev.bukkit.org/server-mods/chunkprotection/
    I include .java files with my packages.
     
Thread Status:
Not open for further replies.

Share This Page