Skip to content

Commit

Permalink
- Fix sheriff missing jailing permission nodes.
Browse files Browse the repository at this point in the history
    - Your townyperms.yml will have the correct nodes added.
  - Fix revert explosion entities being wiped, courtesy of Warriorrrr
with PR #5777.
  • Loading branch information
LlmDl committed Feb 27, 2022
1 parent 827bf97 commit 7ca976e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
5 changes: 4 additions & 1 deletion resources/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7314,4 +7314,7 @@ v0.92.0.11:
- When false, the price_town_public_spawn_travel will be used for public spawn costs, despite what mayors have their town spawncost set at.
- When true, the lower of either the town's spawncost or the config's price_town_public_spawn_travel setting will be used.
- Closes #5776.
- Fix /ta town NAME set not working well from the console.
- Fix /ta town NAME set not working well from the console.
- Fix sheriff missing jailing permission nodes.
- Your townyperms.yml will have the correct nodes added.
- Fix revert explosion entities being wiped, courtesy of Warriorrrr with PR #5777.
30 changes: 30 additions & 0 deletions resources/config-migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,35 @@
"worldAction": "UPDATE_WORLD_EXPLOSION_REVERT_ENTITIES"
}
]
},
{
"version": "0.98.0.3",
"changes": [
{
"type": "TOWNYPERMS_ADD",
"path": "towns.ranks.sheriff",
"value": "towny.command.town.jail"
}
]
},
{
"version": "0.98.0.3",
"changes": [
{
"type": "TOWNYPERMS_ADD",
"path": "towns.ranks.sheriff",
"value": "towny.command.town.unjail"
}
]
},
{
"version": "0.98.0.3",
"changes": [
{
"type": "TOWNYPERMS_ADD",
"path": "towns.ranks.sheriff",
"value": "towny.command.town.jail.list"
}
]
}
]
4 changes: 3 additions & 1 deletion resources/townyperms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ towns:
vip:
- foo.bar
sheriff:
- towny.command.town.toggle.jail
- towny.command.town.jail
- towny.command.town.unjail
- towny.command.town.jail.list
- towny.outlaw.jailer

# This section of permissions covers players who are members of any town in a nation.
Expand Down

0 comments on commit 7ca976e

Please sign in to comment.