Updates plugin version to 1.5.0. Generated javadoc with no functional changes.
Change Details
Version Support
Added support for Minecraft 1.20.6 and 1.21.
Updated JDK to version 21.
Updated Gradle to version 8.8.
Improvements
Reworked all commands to include chat text commands for all major plugin mechanics, in addition to native GUI menus.
Changed command syntax for some commands, like kingdom and town commands.
Updated GUI menu titles to avoid using kingdom, town or player names, which could make the title too long.
Added support for console to run some commands, and added new console-only commands:
k version
k reload
k save
Updated GUI menus to not display icons for features which are disabled in core.yml.
New Features
Added Spanish language file.
Added ability for admins to rename and travel to monument templates.
Added integration for EssentialsX:
Players cannot set homes in enemy territory or the wild (options in core.yml).
Players cannot use Essentials teleport commands into or out of enemy territory (options in core.yml).
Added core.yml option core.kingdoms.max_player_limit to limit the absolute max number of kingdom members.
Added core.yml option core.towns.max_resident_limit to limit the absolute max number of town residents.
Added sub-command /k admin kingdom exile (player) to force any player to become a barbarian as if they joined the server for the first time.
Added placeholder %konquest_rank% which returns a player's role in a kingdom (master, officer, member), derived from new language messages under the placeholder section.
Added chat format tag %RANK% to display a player's rank within their kingdom as a part of the chat message.
Added core.yml option core.chat.always_show_title to force player prefix titles to always show in chat messages and placeholders.
Added ability for town lords or kingdom master to destroy their towns using commands or GUI menus.
New command for town lords is /k town manage (town) destroy, when core.yml option core.towns.allow_destroy_lord = true
New command for kingdom masters is /k kingdom manage destroy (town), when core.yml option core.towns.allow_destroy_master = true.
Bug Fixes
Players that become the lord of a town after being only a town resident now correctly are accounted for in the backend code logic.
Kingdom capitals now correctly apply upgrades on server restart.
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 #210
Summary
Updates plugin version to 1.5.0. Generated javadoc with no functional changes.
Change Details
k version
k reload
k save
core.kingdoms.max_player_limit
to limit the absolute max number of kingdom members.core.towns.max_resident_limit
to limit the absolute max number of town residents.%konquest_rank%
which returns a player's role in a kingdom (master, officer, member), derived from new language messages under the placeholder section.%RANK%
to display a player's rank within their kingdom as a part of the chat message./k town manage (town) destroy
, when core.yml optioncore.towns.allow_destroy_lord = true
/k kingdom manage destroy (town)
, when core.yml optioncore.towns.allow_destroy_master = true
.Checklist
develop
commit into this branch and resolved any conflicts.