Bukkit.yml and MySQL - What is it used for?

Discussion in 'Bukkit Help' started by LHammonds, Nov 5, 2013.

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

    LHammonds

    I noticed bukkit.yml has a database option where you can configure it to hook into MySQL.

    Example bukkit.yml
    Code:
    database:
      username: minecraftuser
      isolation: SERIALIZABLE
      driver: com.mysql.jdbc.Driver
      password: mysqlpassword
      url: jdbc:mysql:ServerIP:3306/minecraftdb
    But what is it used for? I thought it might send the "server.log" entries to a table but it didn't. Is there a way to do that? Or is this obsolete since most plugins that can write to a database can do so directly?
     
  2. Offline

    PolarCraft

    Plugins can do what you are talking about. But bukkit.yml is a configuration file to import like your example the database for the server.
     
  3. Offline

    LHammonds

    So Craftbukkit itself uses it for nothing?

    I did find one plugin that uses MySQL based on the settings in bukkit.yml
    * CHDistantFarm

    But if MySQL (and SQLite) can be used with what comes with Bukkit, why do other plugins that have database support sometimes require other plugins like SQLibrary or they "just work" with MySQL from settings in their own config files?

    Still confused.

    EDIT: I have seen some comments about the slower performance of the MySQL drivers that comes with Bukkit but have nothing substantial backing it up. It is also difficult finding plugins that use MySQL from the settings in bukkit.yml.
     
Thread Status:
Not open for further replies.

Share This Page