This pull request aims to add an option to force players to either plunder or invade a nation. This is due to a possible exploit to plunder a nation and then invade them and tax them tons.
New Nodes/Commands/ConfigOptions:
New Config Option: war.siege.switches.only_one_action_enabled
- Default: false
- If true, players can only either invade or plunder a town, not both.
- If false, players can perform both actions.
Relevant Issue ticket:
Closes #922
[x] I have tested this pull request for defects on a server.
By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the SiegeWar License for perpetuity.
Description:
This pull request aims to add an option to force players to either plunder or invade a nation. This is due to a possible exploit to plunder a nation and then invade them and tax them tons.
New Nodes/Commands/ConfigOptions:
Relevant Issue ticket:
Closes #922
By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the SiegeWar License for perpetuity.