Add config defaults for MySQL map storage

This commit is contained in:
Mike Primm 2014-06-08 21:59:32 -05:00
parent cb9f964348
commit d8d3061696

View File

@ -18,12 +18,20 @@ deftemplatesuffix: hires
# Map storage scheme: only uncommoent one 'type' value # Map storage scheme: only uncommoent one 'type' value
# filetree: classic and default scheme: tree of files, with all map data under the directory indicated by 'tilespath' setting # filetree: classic and default scheme: tree of files, with all map data under the directory indicated by 'tilespath' setting
# sqlite: single SQLite database file (this can get VERY BIG), located at 'dbfile' setting (default is file dynmap.db in data directory) # sqlite: single SQLite database file (this can get VERY BIG), located at 'dbfile' setting (default is file dynmap.db in data directory)
# mysql: MySQL database, at hostname:port in database, accessed via userid with password
storage: storage:
# Filetree storage (standard tree of image files for maps) # Filetree storage (standard tree of image files for maps)
type: filetree type: filetree
# SQLite db for map storage (uses dbfile as storage location) # SQLite db for map storage (uses dbfile as storage location)
#type: sqlite #type: sqlite
#dbfile: dynmap.db #dbfile: dynmap.db
# MySQL DB for map storage (at 'hostname':'port' in database 'database' using user 'userid' and password 'password'
#type: mysql
#hostname: localhost
#port: 3306
#database: dynmap
#userid: dynmap
#password: dynmap
components: components:
- class: org.dynmap.ClientConfigurationComponent - class: org.dynmap.ClientConfigurationComponent