Advertisement
Guest User

Untitled

a guest
Jun 12th, 2017
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.58 KB | None | 0 0
  1. ##############################################################################
  2. # +------------------------------------------------------------------------+ #
  3. # | LuckPerms Configuration | #
  4. # | https://github.com/lucko/LuckPerms | #
  5. # +------------------------------------------------------------------------+ #
  6. ##############################################################################
  7.  
  8. # +------------------------------------------------------------------------+ #
  9. # | General | #
  10. # +------------------------------------------------------------------------+ #
  11.  
  12. # The name of the server, used for server specific permissions. Set to 'global' to disable.
  13. server: smash
  14.  
  15. # If users on this server should have their global permissions applied.
  16. # If set to false, only server specific permissions will apply for users on this server
  17. include-global: true
  18.  
  19. # If users on this server should have their global world permissions applied.
  20. # If set to false, only world specific permissions will apply for users on this server
  21. include-global-world: true
  22.  
  23. # If users on this server should have global (non-server specific) groups applied
  24. apply-global-groups: true
  25.  
  26. # If users on this server should have global (non-world specific) groups applied
  27. apply-global-world-groups: true
  28.  
  29. # If this server is in offline or online mode.
  30. # This setting allows a player to have the same UUID across a network of offline mode/mixed servers.
  31. #
  32. # You should generally reflect the setting in server.properties here. Except when...
  33. #
  34. # 1. You have Spigot servers connected to a BungeeCord proxy, with online-mode set to false, but 'bungeecord' set to true in the spigot.yml
  35. # AND 'ip-forward' set to true in the BungeeCord config.yml
  36. # In this case, set online-mode in LuckPerms to true, despite the server being in offline mode.
  37. #
  38. # 2. You are only running one server instance using LuckPerms, (not a network)
  39. # In this case, set online-mode to true no matter what is set in server.properties. (we can just fallback to the servers uuid cache)
  40. #
  41. # 3. If your proxy is running in offline mode, and you are using PaperSpigot (https://ci.destroystokyo.com/job/PaperSpigot/),
  42. # you should set "bungee-online-mode" to false in the paper.yml, and set "online-mode" to true in all LuckPerms configs.
  43. # This approach is thoroughly recommended for offline mode networks.
  44. online-mode: true
  45.  
  46. # If the plugin should send log notifications to users whenever permissions are modified.
  47. log-notify: false
  48.  
  49. # Mirrors world names. Whenever LuckPerms checks what world a user is in, if the world name is in this list, the value assigned
  50. # will be sent forward for permission calculation instead.
  51. world-rewrite:
  52. # world_nether: world
  53. # world_the_end: world
  54.  
  55. # Rewrites group names. The underlying name of the group does not change, just the output in commands / placeholders / Vault.
  56. group-name-rewrite:
  57. # default: Member
  58.  
  59. # Controls how temporary permissions/parents/meta should be accumulated
  60. #
  61. # The default behaviour is "deny"
  62. # If "accumulate": durations will be added to the existing expiry time
  63. # If "replace": durations will be replaced if the new duration is later than the current expiration
  64. # If "deny": the command will just fail if you try to add another node with the same expiry
  65. temporary-add-behaviour: deny
  66.  
  67.  
  68.  
  69.  
  70. # +------------------------------------------------------------------------+ #
  71. # | Permission Calculation | #
  72. # +------------------------------------------------------------------------+ #
  73.  
  74. # If the plugin should apply wildcard permissions.
  75. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching
  76. # the wildcard.
  77. apply-wildcards: true
  78.  
  79. # If the plugin should parse regex permissions.
  80. # If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the node, and resolve &
  81. # apply all registered permissions matching the regex.
  82. apply-regex: true
  83.  
  84. # If the plugin should complete and apply shorthand permissions.
  85. # If set to true, LuckPerms will detect and expand shorthand node patterns.
  86. apply-shorthand: true
  87.  
  88. # Define special group weights for this server.
  89. # Default is just 0.
  90. group-weight:
  91. # admin: 10
  92.  
  93.  
  94.  
  95.  
  96. # +------------------------------------------------------------------------+ #
  97. # | Meta Formatting & Stacking | #
  98. # +------------------------------------------------------------------------+ #
  99.  
  100. # Allows you to setup prefix/suffix stacking options.
  101. #
  102. # Available formats:
  103. # - highest
  104. # - lowest
  105. # - highest_own
  106. # - lowest_own
  107. # - highest_on_track_<track>
  108. # - lowest_on_track_<track>
  109. #
  110. # Each element is added in the order listed.
  111. meta-formatting:
  112. prefix:
  113. format:
  114. - "highest"
  115. start-spacer: ""
  116. middle-spacer: " "
  117. end-spacer: ""
  118. suffix:
  119. format:
  120. - "highest"
  121. start-spacer: ""
  122. middle-spacer: " "
  123. end-spacer: ""
  124.  
  125.  
  126.  
  127.  
  128. # +------------------------------------------------------------------------+ #
  129. # | Storage | #
  130. # +------------------------------------------------------------------------+ #
  131.  
  132. # Which storage method the plugin should use.
  133. # Currently supported: mysql, postgresql, sqlite, h2, json, yaml, mongodb
  134. # Fill out connection info below if you're using MySQL, PostgreSQL or MongoDB
  135. storage-method: mysql
  136.  
  137. # This block enables support for split datastores.
  138. split-storage:
  139. enabled: false
  140. methods:
  141. user: h2
  142. group: h2
  143. track: h2
  144. uuid: h2
  145. log: h2
  146.  
  147. data:
  148. # Uses standard DB engine port by default
  149. # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  150. # Specify as "host:port" if differs
  151. address: s6.hawkprojects.net
  152.  
  153. database: ou_db_main
  154. username: ou_db_main
  155. password: ----------
  156. pool-size: 10 # The size of the MySQL connection pool.
  157.  
  158. # The prefix for all LuckPerms tables. Change this is you want to use different tables for different servers.
  159. # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with this database.
  160. table_prefix: 'omegaperms_'
  161.  
  162. # Set to -1 to disable. If this is the only instance accessing the datastore, you can disable syncing.
  163. # e.g. if you're using sqlite or flatfile, this can be set to -1 to save resources.
  164. sync-minutes: 3
  165.  
  166. # Settings for the messaging service
  167. #
  168. # If enabled and configured, LuckPerms will use the messaging system to inform other
  169. # connected servers of changes. Use the command "/luckpermsbungee networksync" to push changes.
  170. # Data is NOT stored using this service. It is only used as a messaging platform.
  171. #
  172. # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for LuckPerms
  173. # to poll the database for changes.
  174. #
  175. # Available options:
  176. # bungee ==> uses the plugin messaging channels. Must be enabled on all connected servers to work.
  177. # redis ==> uses redis pub sub to push changes. Your redis server must be configured below.
  178. # none ==> nothing
  179. messaging-service: none
  180.  
  181. # Settings for Redis.
  182. # Port 6379 is used by default; set address to "host:port" if differs
  183. redis:
  184. enabled: true
  185. address: 127.0.0.1
  186. password: ''
  187.  
  188.  
  189.  
  190.  
  191. # +------------------------------------------------------------------------+ #
  192. # | Default Assignments | #
  193. # +------------------------------------------------------------------------+ #
  194.  
  195. # This section allows you to define defaults to give users whenever they connect to the server.
  196. # The default assignments are highly configurable and conditional.
  197. #
  198. # There is one default assignment built into LuckPerms, which will add all users to the "default" group if they
  199. # are not a member of any other group. This setting cannot be disabled. However, you can use this section to add more of
  200. # your own.
  201. #
  202. # IMPORTANT:
  203. # In order to save storage space, LuckPerms does not store users who have no permissions defined, and are only a member
  204. # of the default group. Adding default assignments to this section will negate this effect. It is HIGHLY RECCOMENDED
  205. # that instead of assigning defaults here, you add permissions to the "default" group, or set the "default" group to inherit
  206. # other groups, and then use the group-name-rewrite rule above.
  207. #
  208. # It is also important to note that these rules are considered every time a player logs into the server, and are applied
  209. # directly to the user's data. Simply removing a rule here will not reserse the effect of that rule on any users who have
  210. # already had it applied to them.
  211. #
  212. # The "has" and "lacks" conditions below support standard boolean logic, using the 'and' & 'or' characters used in Java.
  213. # e.g. "(some.other.permission | some.permission.other) & some.thing.else" == a user has 'some.other.permission', or
  214. # 'some.permission.other', and they also have 'some.thing.else'
  215. #
  216. # Groups are represented by the permission node: group.<group name>
  217. # Per server and per world nodes are represented by: "server-world/permission" or "server/permission"
  218. #
  219. # Within conditions, permission nodes MUST be escaped using "<" and ">". See the example below.
  220. #
  221. # Explanation of the examples below: (they're just to demonstrate the features & use cases)
  222. #
  223. # rule1:
  224. # If a user is either in the vip or vip+ group, and they have the "titles.titlecollector" permission set to true, and the
  225. # "some.random.permission" set to false... if they're not in the group "prison_titlepack" on the "prison" server, then
  226. # give add them to the "prison_titlepack" group on the "prison" server, and remove "some.random.permission".
  227. #
  228. # rule2:
  229. # If the user isn't in any of the following groups on the skyblock server: sb_level1, sb_level2, sb_level3, then add
  230. # them to sb_level1 on the skyblock server.
  231. #
  232. # rule3:
  233. # If the user is a member of the default group, remove them from default, add them to member, and set their primary group
  234. # to member.
  235. #
  236. # WARNING: Unlike internal commands, this system does not ensure that a group exists before adding a user to it.
  237. # It also does not unsure that a user is a member of a group before making that group their primary group.
  238. #
  239. # Before you use "give: group.<name>" or "set-primary-group", make sure that the group exists, and that the user is
  240. # a member of the group.
  241. default-assignments:
  242. rule1:
  243. if:
  244. has-true: <group.default>
  245. take:
  246. - group.default
  247. give:
  248. - group.member
  249. set-primary-group: member
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement