Statistics (configurable) of guardian defending villages based on town hall level
Disjointed elixir and gold extractor configurations
Control over columns on the MySQL: now new columns from future versions will be added automatically after a database has already been created
You can now remove the section of town halls, extractors, archer towers, and clans from the config.yml to disable the functionality
Fixed
Now if building levels are deleted from the config.yml after some player has already purchased some, no more error is thrown in console
Error message in case of unknown command
Other
Changed the method of saving player data to file or MySQL
Improved the code
Modified the communication with the MySQL
Aesthetically changed the error log file on MySQL database
Changed coloring of messages in console: errors will be in red, warnings in yellow
Added warning message if any of the following sections are missing: town hall, extractors, and archer towers
Split the label "Extractors" with "Gold extractors" and "Elixir extractors" in the config.yml
Changed the label "TownHall" to "Town halls" in the config.yml
Changed the label "ArcherTowers" to "Archer towers" in the config.yml
Added "No buildings" and "Disabled extractors" messages among translatable messages
Published source code
Removed
Default values in case of missing data from the config (from town hall, extractor and archer tower sections) for better maintainability of the code: now if mandatory values are missing the functionality will be disabled and you will receive a warning (read the wiki for more info)
WARNING!This is an alpha (not stable) version: *everything* might change (e.g. file format, content, paths...). So, in later versions of the plugin, backward compatibility with this version is not guaranteed: do not use on an active server!