Troops now visible in their own villages (not only during a raid)
Fixed
The command to be executed when a town hall upgrade is purchased is now executed (Town halls.<level>.Command in the config.yml)
Rare console error occurring when a mob destroys an item frame or armor stand in the world of villages
Removed
Village guardian equipment (Town halls.<level>.Guardian.Equipment in the config.yml)
Village guardian potions (Town halls.<level>.Guardian.Potions in the config.yml)
Support from 1.14 to 1.17
Other
Replaced archer and village guardian with NPCs
Changed difficulty of the world of villages to peaceful (before it was easy)
Added doMobLoot=false rule to the village world
Replaced the messages "Cannot hit archer" and "Cannot hit guardian" with "Cannot hit troop"
WARNING!This is an alpha (not stable) version, *everything* might change (e.g. file format, content, paths...) and unexpected errors can occur: do not use on an active server!
WARNING!This is an alpha (not stable) version, *everything* might change (e.g. file format, content, paths...) and unexpected errors can occur: do not use on an active server!
WARNING!This is an alpha (not stable) version, *everything* might change (e.g. file format, content, paths...) and unexpected errors can occur: do not use on an active server!
WARNING!This is an alpha (not stable) version, *everything* might change (e.g. file format, content, paths...) and unexpected errors can occur: do not use on an active server!
Please note!This update requires a clean installation of the plugin: you must delete the "Villages" world and the "CoM" (plugin) folder. If this is not done, anyone with builds will have problems.
Added
Now even the defender in a raid wins or loses trophies
Locations of buildings purchased via the /upgrade command are now saved (needed for future developments)
Fixed
An internal error no longer occurs if you run the /upgrade <structure> command after reaching the maximum level
Other
No longer allowed to build freely within the villages
In the database, "ArcherTowerLoc" becomes "TowerArcherLoc"
Added "ArcherTowerCorner1," "ArcherTowerCorner2," "ElixirExtractorCorner1," "ElixirExtractorCorner2," "GoldExtractorCorner1," and "GoldExtractorCorner2" to the database
Changed the behavior in the case of reducing levels of buildings in the config.yml after some players have already unlocked the removed levels: now they will not be with level 0 but will have the maximum level configured
Improved code quality
Now the town hall, like all other buildings, starts from level 1 (instead of level 2)
Now the archer is put in the central and highest point of the tower
WARNING!This is an alpha (not stable) version, *everything* might change (e.g. file format, content, paths...) and unexpected errors can occur: do not use on an active server!
/upgrade <building> command: this now allows you to create a custom menu of upgrades with other plugins (such as ChestCommands)
Fixed
Some messages where the singular and plural were not shown correctly
An important (but rare) bug that could allow you to paste schematics outside the village or create untouchable zones in all worlds
A bug that did not allow creating a village (was only possible if AsyncWorldEdit was installed)
If an error occurs during a building upgrade, the upgrade is no longer registered as completed
Other
Added "Wrong building" and "Paste error" message in message files
Improved code quality
Changed the file name "island data.yml" to "village data.yml"
Created section for village settings in config.yml
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!
Internal schematic manager (the reasons can be found here)
/schem commands and related permissions
All messages related to internal schematic format
The part that allowed to choose between WorldEdit and internal schematic in the config.yml
Fixed
Success message that was shown even if a building upgrade failed
You can now use any version of WorldEdit from 7.2.5 onward
Other
Optimized the creation of villages (schematic pasting)
Now the village schematic is called "Village.schematic" instead of "Island.schematic"
Optimized building upgrade (/upgrade)
Now the world of villages is called "Villages" instead of "Islands"
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!
It is now possible to disable teleportation to spawn when players join the server (from config.yml)
Fixed
When adding or removing currency from a player (/take or /add commands) the correct amount of currency removed is now displayed
Small error during /upgrade of town hall
Other
Tested on PaperSpigot (1.19)
Changed loading of building sections in config.yml: now if there is an error the whole section will not be ignored but the first valid levels will be considered (read the wiki for more info).
Changed the "Default spawn" entry in config.yml
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!
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!
Player caching (with attached parameter in config.yml)
More flexibility to raids: you can now allow island owners to use mob spawners to make it more difficult to raid your own island (read the wiki)
When an error occurs with an SQL database, a file containing diagnostic information is created
You can now insert entities into WorldEdit schematics that will be placed when pasted
Support from 1.14 to 1.19
Made Worldedit schematic editing more user-friendly (check out the wiki)
Alert message on server starts for alpha versions of the plugin
Support up to Java 17
Additional specifications in config.yml
Countdown when the clan war is about to end
You can now use the /add and /take commands even on offline players
Made menus in config.yml much more configurable (you can specify item damage, enchantments...)
/extractors and /extractors collect command to collect what has been produced (see "Other" section for more info)
Maximum capacity of extractors (see "Other" section for more info)
Fixed
Now the guardians and archers defending the islands will only and always target the attacking player (they will never attack each other or search for other players nearby)
A compatibility issue with other plugins
Now who have the permission com.command.add.other (com.command.take.other or com.command.open.other) automatically have the permission of the basic command (com.command.add, com.command.take and com.command.open)
Some errors with MySQL
A small error that made the islands larger by 1 block left and right
Minor errors
Bug that did not allow upgrading gold extractors
Some messages so that the plural and singular is shown correctly
Now the plugin menus are closed in case of reloading
Now it is no longer possible to move blocks in the "Islands" world using pistons
Other
Speeded up MySQL database usage and reduced overhead
Improved translations
Reduced memory consumption
Changed the way to save the schematic and as a result, the old ones will no longer work
Using uppercase and lowercase letters in the name of the clan is now possible
Reduced schematic file size
Removed most of the deprecated methods for better future maintainability
Various optimizations
Made the config.yml and message translation files more user-friendly
The world of islands now has only one biome (plains)
Optimized the village search with the /raid command
Changed the system of the extractors:
Their production is no longer sent periodically to the player
Now they produce also when the player is offline
Introduced a maximum capacity beyond which the extractor will stop
Removed
Support for Java 7
Support for Minecraft versions from 1.8 to 1.12
The /clan updatefile command, which allowed to migrate from the old file format to the new one
Redundant command /shop: to open menus use /open
Decimals from gems, elixir and gold: now they are natural numbers
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!