Updates plugin version to 1.4.0. Generated javadoc with no functional changes.
Change Details
New Features
Updated chat formatting options:
Added color tags for use in core.chat.message string: %C1% for primary relation color, %C2% for secondary relation color, and %CW% for kingdom web color.
Added option core.chat.divider to specify divider text between chat format and message.
Removed config options core.chat.kingdom_team_color and core.chat.name_team_color which were too restrictive. Instead, the new color tags can be used to insert relational colors anywhere in the format string.
Updated kingdom chat message formats for friendly players and admin bypass players.
Updated chat command /k chat logic to return an error message when the config option core.chat.enable_format is false.
Added a permission, konquest.chatcolor, to allow players to use color codes (&4, #ff0080, etc.) in their messages only while in global chat mode.
Added new placeholders:
%konquest_timer_loot% - The time until all monument loot refreshes.
%konquest_timer_payment% - The time until kingdom payments refresh.
%rel_konquest_kingdom_webcolor% - The target player's kingdom web color as a parsed ChatColor. This will directly color following text.
Replaced town list placeholders with number of towns:
Added option core.towns.settle_officer_only to allow only kingdom masters and officers to settle new towns.
Added custom commands config file, commands.yml, for in-game events:
commands.ruin_critical - The command that runs when any ruin critical block is destroyed.
commands.ruin_capture - The command that runs when any ruin is captured.
commands.ruin_loot_open - The command that runs when any ruin loot chest is opened.
commands.ruin_golem_kill - The command that runs when any ruin golem is killed.
commands.town_monument_critical - The command that runs when any town monument critical block is destroyed.
commands.town_monument_capture - The command that runs when any town is captured.
commands.town_monument_loot_open - The command that runs when any town monument loot chest is opened.
Minor Improvements
Updated the behavior of some property flags:
Silverfish blocks, slime splits, and phantoms do not spawn when MOBS = false.
Creeper explosions are cancelled when PVE = false.
Enemy mobs do not target players who are inside territory with PVE = false.
Added support for all non-Latin characters, like Cyrillic.
Improved console error messages related to Vault API.
Added support for color codes (format codes and hex) in language message files.
Bug Fixes
Changing the kingdom monument template to a new template that is shorter in height than the original template no longer leaves extra blocks above the new monument in towns.
Checklist
[x] I have merged the latest develop commit into this branch and resolved any conflicts.
[x] I have tested this branch and it is working as intended.
[x] This Pull Request is ready for review and merging.
Konquest Pull Request
Closes #183
Summary
Updates plugin version to 1.4.0. Generated javadoc with no functional changes.
Change Details
core.chat.message
string:%C1%
for primary relation color,%C2%
for secondary relation color, and%CW%
for kingdom web color.core.chat.divider
to specify divider text between chat format and message.core.chat.kingdom_team_color
andcore.chat.name_team_color
which were too restrictive. Instead, the new color tags can be used to insert relational colors anywhere in the format string./k chat
logic to return an error message when the config optioncore.chat.enable_format
is false.konquest.chatcolor
, to allow players to use color codes (&4, #ff0080, etc.) in their messages only while in global chat mode.%konquest_timer_loot%
- The time until all monument loot refreshes.%konquest_timer_payment%
- The time until kingdom payments refresh.%rel_konquest_kingdom_webcolor%
- The target player's kingdom web color as a parsed ChatColor. This will directly color following text.%konquest_towns_lord% -> %konquest_num_town_lord%
%konquest_towns_knight% -> %konquest_num_town_knight%
%konquest_towns_resident% -> %konquest_num_town_resident%
%konquest_towns_all% -> %konquest_num_town_all%
core.towns.settle_officer_only
to allow only kingdom masters and officers to settle new towns.commands.yml
, for in-game events:commands.ruin_critical
- The command that runs when any ruin critical block is destroyed.commands.ruin_capture
- The command that runs when any ruin is captured.commands.ruin_loot_open
- The command that runs when any ruin loot chest is opened.commands.ruin_golem_kill
- The command that runs when any ruin golem is killed.commands.town_monument_critical
- The command that runs when any town monument critical block is destroyed.commands.town_monument_capture
- The command that runs when any town is captured.commands.town_monument_loot_open
- The command that runs when any town monument loot chest is opened.Checklist
develop
commit into this branch and resolved any conflicts.