
Manually setting town level gets reset when claming
Closed this issue ยท 1 comments
What steps will reproduce the problem?
put this in your town levels config.yml (Its for testing but the issue occurs with this setup)
town_level:
- numResidents: 0
upkeepModifier: 1
townBlockLimit: 8 - numResidents: 1
upkeepModifier: 1
townBlockLimit: 16
townBlockBuyBonusLimit: 5 - numResidents: 2
upkeepModifier: 3
townBlockLimit: 32 - numResidents: 3
upkeepModifier: 4
townBlockLimit: 8 - numResidents: 4
upkeepModifier: 5
townBlockLimit: 8 - numResidents: 5
upkeepModifier: 8
townBlockLimit: 8 - numResidents: 6
upkeepModifier: 10
townBlockLimit: 8 - numResidents: 7
upkeepModifier: 15
townBlockLimit: 8 - numResidents: 8
upkeepModifier: 20
townBlockLimit: 8 - numResidents: 9
upkeepModifier: 25
townBlockLimit: 8 - numResidents: 10
upkeepModifier: 33
townBlockLimit: 8
Create a town
Set the town level
/t and it should show the new tonw block limit
go claim a chunk with /t claim
/t and it should reset to the level 0 town block limit
What is the expected output?
The town blocks would remain the same
Towny version
Towny-0.101.2.0.jar
Server version
1.21.4
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log:
- Your Towny config.yml:
- Your townyperms.yml:
- Your log's error:
(optional) If this is to do with permissions,
5. Your permissions file:
(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:
town_level:
- numResidents: 0
upkeepModifier: 1
townBlockLimit: 8
- numResidents: 1
upkeepModifier: 1
townBlockLimit: 16
townBlockBuyBonusLimit: 5
- numResidents: 2
upkeepModifier: 3
townBlockLimit: 32
- numResidents: 3
upkeepModifier: 4
townBlockLimit: 8
- numResidents: 4
upkeepModifier: 5
townBlockLimit: 8
- numResidents: 5
upkeepModifier: 8
townBlockLimit: 8
- numResidents: 6
upkeepModifier: 10
townBlockLimit: 8
- numResidents: 7
upkeepModifier: 15
townBlockLimit: 8
- numResidents: 8
upkeepModifier: 20
townBlockLimit: 8
- numResidents: 9
upkeepModifier: 25
townBlockLimit: 8
- numResidents: 10
upkeepModifier: 33
townBlockLimit: 8
Using a truncated town_levels section without all of the other level fields is probably causing an issue here.
Please reset your town_level and nation_level sections and see if you still have an issue.