Database file

Discussion in 'Plugin Development' started by DJSanderrr, Sep 8, 2013.

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

    DJSanderrr

    Hello bukkit forum.

    I'm back to bukkit development, and was about to start a new plugin.

    Now in the plugin i want to make use of a .DB file instead of .yml.
    Like CoreProtect does.

    how do i do this?

    Thanks
    -DJS

    anyone?

    pleasee....

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 4, 2016
  2. Offline

    xTrollxDudex

    DJSanderrr
    You need to make an interface between the file and the code like YAML does.
     
  3. Offline

    tommycake50

  4. Offline

    DJSanderrr

  5. Offline

    tommycake50

    What type of database file?
    MySQL, SQLite, etc.
    be more specific.
     
  6. Offline

    FurmigaHumana

  7. Offline

    DJSanderrr

  8. Offline

    DJSanderrr

    Still not solved...
     
  9. Offline

    tommycake50

    If you knew the structure of a SQL file then yeah.
     
  10. Offline

    DJSanderrr

    I know SQL statements and stuff like that, but not how to;
    - Create a .DB file on first start.
    - Execute a sql statement when you want with JAVA.
    - Do it like safely

    -DJS

    Didn't reply on this one yet, sorry; SQLite.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 4, 2016
Thread Status:
Not open for further replies.

Share This Page