Skip to content

Configuration

Gareth Coles edited this page Apr 15, 2015 · 8 revisions

<< Installation | Home | Migration >>

If you've managed to break your configuration, you can find the latest version of the config.yml right here. If you need the configuration for a specific version of ArchBlock, then use the branch dropdown to select the correct tag.

  • enabled - This is set to false by default. Set it to true when you're sure all your configuration is correct. Doing so too early will cause your server to crash on load, as the threadpool will keep trying to get a connection.
  • db_config - This section is for specifying your database connection details.
    • jdbc_driver - The JDBC driver to use for your database. Bukkit ships with the MySQL driver, but you may prefer to provide your own here. If you need to download one, you should be able to put the .jar file in the libs/ folder, creating it if it isn't there, but this is untested.
    • hibernate_dialect - The Hibernate SQL dialect to use. This should match your database as well. You can get a list of dialects here, and you can specify these in the configuration in the form "libs.org.hibernate.dialect.DIALECT_NAME". Please note the libs. prefix - this is used to refer to the version of Hibernate that's included with the plugin.
    • connection_url - The JDBC connection URL for your database. For more information on constructing these, see the documentation for the jdbc_driver you supplied above. For reference, you can see how the MySQL driver does it.
    • username - The username to use when connecting to the database.
    • password - The password to use when connecting to the database.
    • debug - Set this to true for some extra debugging output. This can slow the server down considerably, so don't turn it on unless you're absolutely sure you need to.
  • migrate - Set this to true if you want to migrate your WatchBlock data. See the next section for more information on that.
  • language - By default, this will use the system locale for translations, provided we have a translation available. You may also set this to the preferred language code - See #10 for more information on this.
  • version - Don't touch this. This value is used for automated configuration migrations, and will be updated automatically along with the plugin. If you edit this, you'll probably break your config.

<< Installation | Home | Migration >>

Clone this wiki locally