Advertisement
Momshroom

townyperms.yml

May 4th, 2025
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.05 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, conquered, unconquered.                                                         #
  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. # The towns.ranks and nations.ranks sections support requiring their town or nation to have #
  40. # a minimum town_level or nation_level. This means that you can lock ranks behind a town or #
  41. # nation's population. By adding a permission node to a rank you will set this requirement: #
  42. # You can read about town_levels and nation_levels here: https://tinyurl.com/3e9ahk2m       #
  43. # Ex:                                                                                       #
  44. #    - towny.town_level_requirement.4                                                       #
  45. # Adding this to a town rank will require the Town to have a town_level of 4 or more to be  #
  46. # able to assign that rank to their residents. If the town lost population the residents    #
  47. # with a rank beyond their town's town_level will have that rank removed from them. When    #
  48. # their town regains enough population, that rank will automatically be re-assigned to the  #
  49. # resident. When a town rank does not contain this node it will have no town_level          #
  50. # requirement.                                                                              #
  51. # Likewise, nation ranks support an optional nation_level requirement, Ex:                  #
  52. #    - towny.nation_level_requirement.4                                                     #
  53. # When added to a nation rank this rank will only be granted when a nation is of level 4 or #
  54. # greater. When a nation rank does not include this node it will not require any            #
  55. # nation_level.                                                                             #
  56. #                                                                                           #
  57. #############################################################################################
  58.  
  59.  
  60. # The 'nomad' permissions are given to all players in all Towny worlds, townless and players who are part of a town.
  61. nomad:
  62. - townyhistories.ruin.reclaim
  63. - towny.command.towny.map
  64. - towny.command.towny.prices
  65. - towny.command.towny.tree
  66. - towny.command.towny.time
  67. - towny.command.towny.universe
  68. - towny.command.towny.version
  69. - towny.command.towny.war
  70. - towny.command.town.online
  71. - towny.command.town.here
  72. - towny.command.town.new
  73. - towny.command.town.join
  74. - towny.command.town.list
  75. - towny.command.plot.perm
  76. - towny.command.nation.list
  77. - towny.town.resident
  78. - towny.town.spawn.public
  79. - towny.chat.general
  80. - townycamps.campfire
  81. - eternaltags.tag.townytag
  82. - towny.command.plot.trust
  83. - towny.command.plot.group.*
  84. - towny.command.town.ranklist
  85. - towny.command.nation.ranklist
  86. - towny.command.resident.set.about
  87. - towny.command.town.buytown
  88. - towny.command.resident.outlawlist
  89.  
  90. # This section of permissions covers players who are members of a town.
  91. towns:
  92.  
  93.   # 'default' is the permission set which is auto assigned to any normal town member.
  94.   default:
  95.  - towny.command.resident.*
  96.   - towny.command.plot.claim
  97.   - towny.command.plot.unclaim
  98.   - towny.command.plot.forsale
  99.   - towny.command.plot.notforsale
  100.   - towny.command.plot.toggle.*
  101.   - towny.command.plot.set.perm
  102.   - towny.command.plot.set.reset
  103.   - towny.command.town.online
  104.   - towny.command.town.leave
  105.   - towny.command.town.deposit
  106.   - towny.town.spawn.town
  107.   - towny.chat.town
  108.   - towny.outlaw.jailer
  109.   - towny.nation.spawn.*
  110.   - towny.command.town.reclaim
  111.   - towny.command.town.buytown
  112.  
  113.   # Mayors get these permissions in addition to the default set.
  114.   mayor:
  115.  - towny.tax_exempt
  116.   - towny.command.towny.top
  117.   - towny.command.town.*
  118.   - towny.command.plot.*
  119.   - towny.claimed.owntown.*
  120.   - towny.command.nation.new
  121.   - cmi.kit.mayor
  122.   - towny.command.town.claim.town.multiple
  123.   - towny.command.town.say
  124.   - towny.outlaw.jailer
  125.   - towny.command.nation.join
  126.   - towny.command.nation.leave
  127.   - uhoppers.hoppers.50
  128.   - towny.command.town.forsale
  129.   - towny.command.town.notforsale
  130.  
  131.   # Ranks contain additional permissions residents will be
  132.   # granted if they are assigned that specific rank.
  133.   ranks:
  134.  
  135.     # assistants are able to grant VIP and helper rank.
  136.     assistant:
  137.    - towny.tax_exempt
  138.     - towny.command.town.claim.*
  139.     - towny.command.town.invite.add
  140.     - towny.command.plot.*
  141.     - towny.command.town.toggle.public
  142.     - towny.claimed.owntown.switch.*
  143.     - towny.claimed.owntown.*
  144.     - towny.command.town.kick
  145.     - towny.command.town.toggle.*
  146.     - towny.command.town.say
  147.     - towny.command.town.unclaim
  148.     - towny.command.town.rank.vip
  149.     - towny.command.town.rank.helper
  150.     - towny.outlaw.jailer
  151.     - townymenu.town.use
  152.     - uhoppers.hoppers.25
  153.     helper:
  154.    - towny.claimed.townowned.switch.*
  155.     co-mayor:
  156.    - towny.tax_exempt
  157.     - towny.command.town.claim.*
  158.     - towny.command.town.add
  159.     - towny.command.plot.*
  160.     - towny.command.town.toggle.public
  161.     - towny.claimed.owntown.switch.*
  162.     - towny.claimed.owntown.*
  163.     - towny.command.plot.*
  164.     - towny.command.town.*
  165.     - towny.command.nation.join
  166.     - towny.command.town.rank.vip
  167.     - towny.command.town.rank.helper
  168.     - towny.command.town.rank.assistant
  169.     - townymenu.town.use
  170.     - towny.command.town.unclaim
  171.     - uhoppers.hoppers.50
  172.  
  173.     # Currently only an example rank holder with no extra permissions.
  174.     vip:
  175.    - towny.claimed.owntown.*
  176.     - uhoppers.hoppers.10
  177.  
  178.     # Sheriff rank is able to jail other town members.
  179.     sheriff:
  180.    - towny.command.town.toggle.jail
  181.     - towny.outlaw.jailer
  182.     - towny.command.town.jail
  183.     - towny.command.town.unjail
  184.     - towny.command.town.jail.list
  185.  
  186. # This section of permissions covers players who are members of any town in a nation.
  187. nations:
  188.  
  189.   # All nation members get these permissions.
  190.   default:
  191.  - towny.chat.alliance
  192.   - towny.command.nation.online
  193.   - towny.command.nation.spawn
  194.   - towny.command.nation.deposit
  195.   - towny.town.spawn.ally
  196.   - towny.town.spawn.public
  197.   - towny.command.nation.spawn
  198.   - towny.nation.spawn.nation
  199.   - towny.nation.spawn.ally
  200.   - towny.town.spawn.nation
  201.   - towny.chat.nation
  202.  
  203.   # Kings get these permissions in addition to the default set.
  204.   king:
  205.  - towny.command.nation.*
  206.   - towny.command.nation.say
  207.   ranks:
  208.     assistant:
  209.    - towny.command.nation.rank.helper
  210.     - towny.command.nation.invite.add
  211.     - towny.command.nation.add
  212.     - towny.command.nation.ally.*
  213.     - towny.command.nation.enemy
  214.     - towny.command.nation.say
  215.     - towny.town.spawn.nation.bypass_public
  216.     helper:
  217.    - towny.command.nation.add
  218.  
  219. # Nodes that are given to players who are in a peaceful/neutral town or nation.
  220. peaceful:
  221. - towny.peaceful
  222.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement