Skip to content

Is there a way to make it impossible for a town to toggle their public status with /t toggle public? #4751

Answered by LlmDl
sexibatka asked this question in Q&A
Discussion options

You must be logged in to vote

In your townyperms.yml give the mayor the negated permission node for toggling:

    mayor:
        # Mayors get these permissions in addition to the default set.
        - towny.tax_exempt
        - towny.command.towny.top
        - towny.command.town.*
        - -towny.command.town.toggle.public
        - towny.command.plot.*
        - towny.claimed.owntown.*
        - towny.command.nation.new
        - towny.outlaw.jailer
        - towny.command.nation.join
        - towny.command.nation.leave

and remove the same towny.command.town.toggle.public node from the assistant town rank.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sexibatka
Comment options

Answer selected by LlmDl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants