Add townyperms.yml

\#4
Small fix for pass remover
This commit is contained in:
Chromachine 2018-05-31 22:33:22 +00:00
parent 8a6e6886ed
commit 3ee836517a
3 changed files with 101 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[filter "rempass"]
smudge = cat
clean = sed -E --expression=\"s/(.* )pass(\\S*)\\\\: '.*'/\\1pass\\2: 'NOPE'/g\"
clean = sed -E --expression=\"s/(.*)pass(\\S*)\\\\: '.*'/\\1pass\\2: 'NOPE'/g\"

98
Towny/settings/townyperms.yml Executable file
View file

@ -0,0 +1,98 @@
# This file contains custom permission sets which will be assigned to your players
# depending on their current status.
#
# This is all managed by towny and pushed directly to CraftBukkits SuperPerms.
# These will be in addition to any you manually assign in your specific permission plugin.
#
# You may assign any Permission nodes here, including those from other plugins.
# You may also create any custom ranks you require.
# The 'nomad' permission set covers players not in any town
nomad:
- towny.command.towny.map
- towny.command.towny.prices
- towny.command.towny.tree
- towny.command.towny.time
- towny.command.towny.universe
- towny.command.towny.version
- towny.command.towny.war
- towny.command.town.new
- towny.command.town.join
- towny.command.town.list
- towny.command.plot.perm
- towny.command.nation.list
- towny.town.resident
- towny.town.spawn.public
- towny.chat.general
# This section of permissions covers players who are members of a town.
towns:
default:
# 'default' is the permission set which is auto assigned to any normal town member
- towny.command.resident.*
- towny.command.plot.claim
- towny.command.plot.unclaim
- towny.command.plot.forsale
- towny.command.plot.notforsale
- towny.command.plot.toggle.*
- towny.command.plot.set.perm
- towny.command.plot.set.reset
- towny.command.town.online
- towny.command.town.leave
- towny.command.town.deposit
- towny.town.spawn.town
- towny.chat.town
mayor:
# Mayors get these permissions in addition to the default set.
- towny.tax_exempt
- towny.command.towny.top
- towny.command.town.*
- towny.command.plot.*
- towny.claimed.owntown.*
- towny.command.nation.new
ranks:
# Ranks contain additional permissions residents will be
# granted if they are assigned that specific rank.
assistant:
- towny.tax_exempt
- towny.command.town.claim.*
- towny.command.town.add
- towny.command.plot.*
- towny.command.town.toggle.public
- towny.claimed.owntown.switch.*
# assistants are able to grant VIP and helper rank
- towny.command.town.rank.vip
- towny.command.town.rank.helper
helper:
- towny.claimed.townowned.switch.*
donator:
# Currently only an example rank holder with no extra permissions
vip:
- towny.cheat.bypass
# Sheriff rank is able to jail other town members.
sheriff:
- towny.command.town.toggle.jail
# This section of permissions covers players who are members of any town in a nation.
nations:
default:
# All nation members get these permissions.
- towny.command.nation.online
- towny.command.nation.deposit
- towny.town.spawn.nation
- towny.town.spawn.ally
- towny.chat.nation
king:
# Kings get these permissions in addition to the default set.
- towny.command.nation.*
ranks:
assistant:
- towny.command.nation.rank.helper
- towny.command.nation.add
- towny.command.nation.ally
- towny.command.nation enemy
helper:
- towny.command.nation.add

View file

@ -11,7 +11,8 @@ done
find . -path './Movecraft/types/*.craft' -exec git add -f '{}' \;
git add -f 'dynmap/configuration.txt' 'dynmap/worlds.txt'
git add -f 'MythicMobs/*' ':!:MythicMobs/SavedData/*'
git add -f ':(glob)Jobs/*.yml'
git add -f ':(glob)Jobs/*.yml' ':!:Jobs/furnaceBrewingStands.yml'
git add -f 'Towny/settings/townyperms.yml'
git add -f update.sh download.sh