Guest User

townyperms.yml

a guest
Jun 7th, 2023
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 8.63 KB | None | 0 0
  1. #############################################################################################
  2. # This file contains custom permission sets which will be assigned to your players          #
  3. # depending on their current status. This file uses YAML formatting. Do not include tabs    #
  4. # and be very careful to align the spacing preceding the - symbols. Improperly editing this #
  5. # file will prevent Towny from loading correctly.                                           #
  6. #                                                                                           #
  7. # This is all managed by towny and pushed directly to CraftBukkit's SuperPerms.             #
  8. # These will be give in addition to any you manually assign in your specific permission     #
  9. # plugin. Note: You do not need to assign any Towny permission nodes to your players in     #
  10. # your server's permission plugin, ie: LuckPerms.                                           #
  11. #                                                                                           #
  12. # You may assign any Permission nodes here, including those from other plugins.             #
  13. #                                                                                           #
  14. # You may also create any custom ranks you require. Creating ranks can be done using the    #
  15. # /ta townyperms townrank addrank [name] or by carefully editing this file.                 #
  16. # You can add permission to a rank/group using the                                          #
  17. # /ta townyperms group [name] addperm [node] command.                                       #
  18. #                                                                                           #
  19. # You may change the names of any of the ranks except: nomad, default, mayor, king, ranks,  #
  20. # peaceful.                                                                                 #
  21. #                                                                                           #
  22. # If you want to, you can negate permissions nodes from nodes by doing the following:       #
  23. # Ex:                                                                                       #
  24. #    - towny.command.plot.*                                                                 #
  25. #    - -towny.command.plot.set.jail                                                         #
  26. # In this example the user is given full rights to all of the /plot command nodes,          #
  27. # but has had their ability to set a plot to a Jail plot type disabled.                     #
  28. #                                                                                           #
  29. # The towns.ranks and nations.ranks sections support adding prefix and priorities, this     #
  30. # is done using two nodes: towny.rankpriority.# and towny.rankprefix.<prefix_here>.         #
  31. # Residents will have their ranks parsed until one rank is determined to be the highest     #
  32. # priority, this rank will then be searched for a prefix node. This prefix can be shown     #
  33. # using the %townyadvanced_resident_primary_rank% placeholder for PlaceholderAPI. A prefix  #
  34. # from a Nation rank will take precendence over a prefix from a Town rank.                  #
  35. # Ex:                                                                                       #
  36. #    - towny.rankpriority.100                                                               #
  37. #    - towny.rankprefix.&a<&2Sheriff&a>                                                     #
  38. #                                                                                           #
  39. #############################################################################################
  40.  
  41.  
  42. # The 'nomad' permissions are given to all players in all Towny worlds, townless and players who are part of a town.
  43. nomad:
  44. - towny.command.towny.map
  45. - towny.command.towny.prices
  46. - towny.command.towny.tree
  47. - towny.command.towny.time
  48. - towny.command.towny.universe
  49. - towny.command.towny.version
  50. - towny.command.towny.war
  51. - towny.command.town.online
  52. - towny.command.town.here
  53. - towny.command.town.new
  54. - towny.command.town.join
  55. - towny.command.town.list.*
  56. - towny.command.town.ranklist
  57. - towny.command.town.reslist
  58. - towny.command.plot.group.*
  59. - towny.command.plot.perm
  60. - towny.command.plot.perm.hud
  61. - towny.command.plot.trust
  62. - towny.command.nation.list.*
  63. - towny.command.nation.townlist
  64. - towny.command.nation.allylist
  65. - towny.command.nation.enemylist
  66. - towny.command.nation.ranklist
  67. - towny.town.resident
  68. - towny.town.spawn.public
  69. - towny.chat.general
  70. - towny.command.towny.war.hud
  71.  
  72. # This section of permissions covers players who are members of a town.
  73. towns:
  74.  
  75.   # 'default' is the permission set which is auto assigned to any normal town member.
  76.   default:
  77.  - towny.command.resident.*
  78.   - towny.command.plot.claim
  79.   - towny.command.plot.unclaim
  80.   - towny.command.plot.forsale
  81.   - towny.command.plot.notforsale
  82.   - towny.command.plot.toggle.*
  83.   - towny.command.plot.set.perm
  84.   - towny.command.plot.set.reset
  85.   - towny.command.town.online
  86.   - towny.command.town.leave
  87.   - towny.command.town.deposit
  88.   - towny.command.town.reclaim
  89.   - towny.town.spawn.town
  90.   - towny.chat.town
  91.  
  92.   # Mayors get these permissions in addition to the default set.
  93.   mayor:
  94.  - towny.tax_exempt
  95.   - towny.command.towny.top
  96.   - towny.command.town.*
  97.   - towny.command.plot.*
  98.   - towny.claimed.owntown.*
  99.   - towny.command.nation.new
  100.   - towny.outlaw.jailer
  101.   - towny.command.nation.join
  102.   - towny.command.nation.leave
  103.  
  104.   # Ranks contain additional permissions residents will be
  105.   # granted if they are assigned that specific rank.
  106.   ranks:
  107.     vicemayor:
  108.    - towny.command.town.jail
  109.     - towny.command.town.say
  110.     - towny.tax_exempt
  111.     - towny.command.town.set.*
  112.     - -towny.command.town.set.mayor
  113.     - -towny.command.town.set.name
  114.     - towny.command.town.bankhistory
  115.     - towny.command.town.baltop
  116.     - towny.command.town.claim.*
  117.     - towny.command.town.unclaim
  118.     - towny.command.town.buy
  119.     - towny.command.town.set.outpost
  120.     - towny.command.town.withdraw
  121.     - towny.command.town.kick
  122.     - towny.command.town.invite.add
  123.     - towny.command.plot.*
  124.     - towny.command.town.toggle.public
  125.     - towny.claimed.owntown.switch.*
  126.     - towny.command.town.rank.assistant
  127.     - towny.command.town.rank.vip
  128.     - towny.command.town.rank.helper
  129.     - towny.outlaw.jailer
  130.     - towny.command.town.trust
  131.  
  132.     # assistants are able to grant VIP and helper rank.
  133.     assistant:
  134.    - towny.tax_exempt
  135.     - towny.command.town.claim.*
  136.     - towny.command.town.invite.add
  137.     - towny.command.plot.*
  138.     - towny.command.town.toggle.public
  139.     - towny.claimed.owntown.switch.*
  140.     - towny.command.town.rank.vip
  141.     - towny.command.town.rank.helper
  142.     - towny.outlaw.jailer
  143.     helper:
  144.    - towny.claimed.townowned.switch.*
  145.  
  146.     # Sheriff rank is able to jail other town members.
  147.     sheriff:
  148.    - towny.command.town.jail
  149.     - towny.command.town.unjail
  150.     - towny.command.town.jail.list
  151.     - towny.outlaw.jailer
  152.  
  153. # This section of permissions covers players who are members of any town in a nation.
  154. nations:
  155.  
  156.   # All nation members get these permissions.
  157.   default:
  158.  - towny.command.nation.online
  159.   - towny.command.nation.deposit
  160.   - towny.command.nation.spawn
  161.   - towny.nation.spawn.nation
  162.   - towny.nation.spawn.ally
  163.   - towny.town.spawn.nation
  164.   - towny.town.spawn.ally
  165.   - towny.chat.nation
  166.   - towny.chat.alliance
  167.  
  168.   # Kings get these permissions in addition to the default set.
  169.   king:
  170.  - towny.command.nation.*
  171.   - towny.command.nation.deposit.other
  172.   ranks:
  173.     coleader:
  174.    - towny.command.nation.set.*
  175.     - -towny.command.nation.set.king
  176.     - -towny.command.nation.set.capital
  177.     - -towny.command.nation.set.name
  178.     - towny.command.nation.say
  179.     - towny.command.nation.deposit
  180.     - towny.command.nation.king
  181.     - towny.command.nation.bankhistory
  182.     - towny.command.nation.baltop
  183.     - towny.command.nation.withdraw
  184.     - towny.command.nation.rank.assistant
  185.     - towny.command.nation.rank.sheriff
  186.     - towny.command.nation.rank.helper
  187.     - towny.command.nation.invite.add
  188.     - towny.command.nation.ally.*
  189.     - towny.command.nation.enemy
  190.     - towny.command.nation.deposit.other
  191.     assistant:
  192.    - towny.command.nation.deposit
  193.     - towny.command.nation.rank.helper
  194.     - towny.command.nation.rank.sheriff
  195.     - towny.command.nation.invite.add
  196.     - towny.command.nation.ally.*
  197.     - towny.command.nation.enemy
  198.     - towny.command.nation.deposit.other
  199.     helper:
  200.    - towny.command.nation.deposit
  201.     - towny.command.nation.add
  202.  
  203. # Nodes that are given to players who are in a peaceful/neutral town or nation.
  204. peaceful:
  205. - towny.peaceful
Advertisement
Add Comment
Please, Sign In to add comment