Adds core.yml options to specify the absolute maximum number of members for all kingdoms, and residents for all towns/capitals. Also adds the sub-command /k admin kingdom exile.
Change Details
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.
Fixed Essentials softdepend within plugin.yml, so that EssentialsX will always load before Konquest.
Updated town initialization chunk test method to ensure that the max range check includes the initial chunk size, in case the user sets core.yml option core.towns.max_size to be less than core.towns.init_radius.
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 #225
Summary
Adds core.yml options to specify the absolute maximum number of members for all kingdoms, and residents for all towns/capitals. Also adds the sub-command
/k admin kingdom exile
.Change Details
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./k admin kingdom exile (player)
to force any player to become a barbarian as if they joined the server for the first time.core.towns.max_size
to be less thancore.towns.init_radius
.Checklist
develop
commit into this branch and resolved any conflicts.