Optimization/Improvements
What is this chapter about?
In this chapter I'll help you optimize Dynmap. The default configuration is not the best, it can be improved and that's what we are doing.
Changing Storage Provider
By default the storage type is set to filetree
(As shown by the following image).
The configuration is located at plugins/dynmap/configuration.txt
.
MySQL
Preferrably you would want to set the storage type to MySQL
- Change
type
to mysql (case non-sensitive) - Change the other highlighted values to the ones generated. Refer to this guide.
- Now save the file and restart the server to have the new storage type applied.
SQLite
I personally would suggest you to switch over to SQLite if you were using the default filetree
storage. If you are already using MySQL, you may want to keep using that.
- Change
type
to sqlite (case non-sensitive) - Make sure
type
anddbfile
are the only enabled settings (to comment lines out, put a#
in front of the line. dbfile
allows you to customize the database's name. Doesn't have any performance impact. The file's extension must be.db
.