Advertisement
Guest User

Untitled

a guest
Jun 9th, 2017
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.01 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: bungee
  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 UUIDs should be pulled from the server, or looked up by username based upon previous connections.
  30. #
  31. # This option should be set to true in most cases. When set to false, in order to get a player's UUID, LuckPerms will:
  32. # 1. Check if a player with the given username has joined before, if they have, use the UUID they used on their previous login.
  33. # 2. Save and return the players "current" uuid.
  34. #
  35. # For offline mode (cracked) servers, a players UUID is generated based upon their username.
  36. #
  37. # IMPORTANT:
  38. # If you are using BungeeCord proxy running in online mode, it is important that "online-mode=false" is set all backend server.properties, but
  39. # "bungeecord: true" is set in the spigot.yml. You also need to set "ip_forward: true" in BungeeCord's config.yml.
  40. # If for whatever reason you are not able to do this, and do not have ip-forward enabled, then you may need to set "use-server-uuids" to false.
  41. #
  42. # If your proxy is running in offline mode, you should still be setting up ip-forwarding as described above, but may also find that you need to set
  43. # "bungee-online-mode" to false in paper.yml, if you are using PaperSpigot. (https://ci.destroystokyo.com/job/PaperSpigot/)
  44. #
  45. # This option should always be set to true on the BungeeCord side. Don't change unless you're sure you know what you're doing.
  46. use-server-uuids: true
  47.  
  48. # If the plugin should send log notifications to users whenever permissions are modified.
  49. log-notify: true
  50.  
  51. # Mirrors world names. Whenever LuckPerms checks what world a user is in, if the world name is in this list, the value assigned
  52. # will be sent forward for permission calculation instead.
  53. world-rewrite:
  54. # world_nether: world
  55. # world_the_end: world
  56.  
  57. # Rewrites group names. The underlying name of the group does not change, just the output in commands / placeholders / Vault.
  58. group-name-rewrite:
  59. default: Player
  60. mod: Moderator
  61. helper: Helper
  62. fairy: 'Fairy &8&o(VIP Group)'
  63. dragon: 'Dragon &8&o(VIP Group)'
  64. phoenix: 'Phoenix &8&o(VIP Group)'
  65. youtuber: Youtuber
  66. builder: Builder
  67. developer: Developer
  68. owner: Owner
  69. admin: Admin
  70.  
  71. # Controls how temporary permissions/parents/meta should be accumulated
  72. #
  73. # The default behaviour is "deny"
  74. # If "accumulate": durations will be added to the existing expiry time
  75. # If "replace": durations will be replaced if the new duration is later than the current expiration
  76. # If "deny": the command will just fail if you try to add another node with the same expiry
  77. temporary-add-behaviour: accumulate
  78.  
  79. # How should LuckPerms determine a users "primary" group.
  80. #
  81. # Available Options:
  82. # -> stored use the value stored against the users record in the file/database
  83. # -> parents-by-weight just use the users most highly weighted parent
  84. # -> all-parents-by-weight same as above, but calculates based upon all parents inherited from both directly and indirectly
  85. primary-group-calculation: stored
  86.  
  87.  
  88.  
  89.  
  90. # +------------------------------------------------------------------------+ #
  91. # | Permission Calculation | #
  92. # +------------------------------------------------------------------------+ #
  93.  
  94. # If the plugin should apply wildcard permissions.
  95. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching
  96. # the wildcard.
  97. apply-wildcards: true
  98.  
  99. # If the plugin should parse regex permissions.
  100. # If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the node, and resolve &
  101. # apply all registered permissions matching the regex.
  102. apply-regex: true
  103.  
  104. # If the plugin should complete and apply shorthand permissions.
  105. # If set to true, LuckPerms will detect and expand shorthand node patterns.
  106. apply-shorthand: true
  107.  
  108. # If the plugin should apply the permissions & groups defined in the BungeeCord config.yml
  109. # If set to false, LuckPerms will ignore these values.
  110. apply-bungee-config-permissions: false
  111.  
  112. # Define special group weights for this server.
  113. # Default is just 0.
  114. group-weight:
  115. # admin: 10
  116.  
  117.  
  118.  
  119.  
  120. # +------------------------------------------------------------------------+ #
  121. # | Meta Formatting & Stacking | #
  122. # +------------------------------------------------------------------------+ #
  123.  
  124. # Allows you to setup prefix/suffix stacking options.
  125. #
  126. # Available formats:
  127. # - highest
  128. # - lowest
  129. # - highest_own
  130. # - lowest_own
  131. # - highest_on_track_<track>
  132. # - lowest_on_track_<track>
  133. # - highest_not_on_track_<track>
  134. # - lowest_not_on_track_<track>
  135. #
  136. # Each element is added in the order listed.
  137. meta-formatting:
  138. prefix:
  139. format:
  140. - highest_on_track_staff
  141. - highest_on_track_donator
  142. start-spacer: ""
  143. middle-spacer: " "
  144. end-spacer: ""
  145. suffix:
  146. format:
  147. - "highest"
  148. start-spacer: ""
  149. middle-spacer: " "
  150. end-spacer: ""
  151.  
  152.  
  153.  
  154.  
  155. # +------------------------------------------------------------------------+ #
  156. # | Storage | #
  157. # +------------------------------------------------------------------------+ #
  158.  
  159. # Which storage method the plugin should use.
  160. #
  161. # See: https://github.com/lucko/LuckPerms/wiki/Choosing-a-Storage-type
  162. # Currently supported: mysql, mariadb, postgresql, sqlite, h2, json, yaml, mongodb
  163.  
  164. # Fill out connection info below if you're using MySQL, MariaDB, PostgreSQL or MongoDB
  165. # If your MySQL server supports it, the "mariadb" option is preferred over "mysql".
  166. storage-method: mysql
  167.  
  168. # When using a file-based storage type, LuckPerms can monitor the data files for changes, and then schedule automatic
  169. # updates when changes are detected.
  170. #
  171. # If you don't want this to happen, set this option to false.
  172. watch-files: true
  173.  
  174. # This block enables support for split datastores.
  175. split-storage:
  176. enabled: false
  177. methods:
  178. user: h2
  179. group: h2
  180. track: h2
  181. uuid: h2
  182. log: h2
  183.  
  184. data:
  185. # Uses standard DB engine port by default
  186. # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  187. # Specify as "host:port" if differs
  188. address: ddns.caxerx.com:3306
  189.  
  190. database: crystal_lp
  191. username: crystal_lp
  192. password: 3f8LyhCsY2
  193. pool-size: 10 # The size of the MySQL connection pool.
  194.  
  195. # The prefix for all LuckPerms tables. Change this is you want to use different tables for different servers.
  196. # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with this database.
  197. table_prefix: 'luckperms_'
  198.  
  199. # This option controls how frequently LuckPerms will perform a sync task.
  200. # A sync task will refresh all data from the storage, and ensure that the most up-to-date data is being used by the plugin.
  201. #
  202. # This is disabled by default, as most users will not need it. However, if you're using a remote storage type
  203. # without a messaging service setup, you may wish to set this value to something like 3.
  204. #
  205. # Set to -1 to disable the task completely.
  206. sync-minutes: -1
  207.  
  208. # Settings for the messaging service
  209. #
  210. # If enabled and configured, LuckPerms will use the messaging system to inform other
  211. # connected servers of changes. Use the command "/luckpermsbungee networksync" to push changes.
  212. # Data is NOT stored using this service. It is only used as a messaging platform.
  213. #
  214. # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for LuckPerms
  215. # to poll the database for changes.
  216. #
  217. # Available options:
  218. # bungee ==> uses the plugin messaging channels. Must be enabled on all connected servers to work.
  219. # redis ==> uses redis pub sub to push changes. Your redis server must be configured below.
  220. # none ==> nothing
  221. messaging-service: bungee
  222.  
  223. # If LuckPerms should automatically push updates after a change has been made with a command.
  224. auto-push-updates: true
  225.  
  226. # Settings for Redis.
  227. # Port 6379 is used by default; set address to "host:port" if differs
  228. redis:
  229. enabled: false
  230. address: localhost
  231. password: ''
  232.  
  233.  
  234.  
  235.  
  236. # +------------------------------------------------------------------------+ #
  237. # | Default Assignments | #
  238. # +------------------------------------------------------------------------+ #
  239.  
  240. # This section allows you to define defaults to give users whenever they connect to the server.
  241. # The default assignments are highly configurable and conditional.
  242. #
  243. # There is one default assignment built into LuckPerms, which will add all users to the "default" group if they
  244. # are not a member of any other group. This setting cannot be disabled. However, you can use this section to add more of
  245. # your own.
  246. #
  247. # IMPORTANT:
  248. # In order to save storage space, LuckPerms does not store users who have no permissions defined, and are only a member
  249. # of the default group. Adding default assignments to this section will negate this effect. It is HIGHLY RECCOMENDED
  250. # that instead of assigning defaults here, you add permissions to the "default" group, or set the "default" group to inherit
  251. # other groups, and then use the group-name-rewrite rule above.
  252. #
  253. # It is also important to note that these rules are considered every time a player logs into the server, and are applied
  254. # directly to the user's data. Simply removing a rule here will not reserse the effect of that rule on any users who have
  255. # already had it applied to them.
  256. #
  257. # The "has" and "lacks" conditions below support standard boolean logic, using the 'and' & 'or' characters used in Java.
  258. # e.g. "(some.other.permission | some.permission.other) & some.thing.else" == a user has 'some.other.permission', or
  259. # 'some.permission.other', and they also have 'some.thing.else'
  260. #
  261. # Groups are represented by the permission node: group.<group name>
  262. # Per server and per world nodes are represented by: "server-world/permission" or "server/permission"
  263. #
  264. # Within conditions, permission nodes MUST be escaped using "<" and ">". See the example below.
  265. #
  266. # Explanation of the examples below: (they're just to demonstrate the features & use cases)
  267. #
  268. # rule1:
  269. # If a user is either in the vip or vip+ group, and they have the "titles.titlecollector" permission set to true, and the
  270. # "some.random.permission" set to false... if they're not in the group "prison_titlepack" on the "prison" server, then
  271. # give add them to the "prison_titlepack" group on the "prison" server, and remove "some.random.permission".
  272. #
  273. # rule2:
  274. # If the user isn't in any of the following groups on the skyblock server: sb_level1, sb_level2, sb_level3, then add
  275. # them to sb_level1 on the skyblock server.
  276. #
  277. # rule3:
  278. # If the user is a member of the default group, remove them from default, add them to member, and set their primary group
  279. # to member.
  280. #
  281. # WARNING: Unlike internal commands, this system does not ensure that a group exists before adding a user to it.
  282. # It also does not unsure that a user is a member of a group before making that group their primary group.
  283. #
  284. # Before you use "give: group.<name>" or "set-primary-group", make sure that the group exists, and that the user is
  285. # a member of the group.
  286. default-assignments:
  287. # rule1:
  288. # if:
  289. # has-true: (<group.vip> | <group.vip+>) & <titles.tilecollector>
  290. # has-false: <some.random.permission>
  291. # lacks: <prison/group.prison_titlepack>
  292. # give:
  293. # - prison/group.prison_titlepack
  294. # take:
  295. # - some.random.permission
  296. # rule2:
  297. # if:
  298. # lacks: <skyblock/group.sb_level1> & <skyblock/group.sb_level2> & <skyblock/group.sb_level3>
  299. # give:
  300. # - skyblock/group.sb_level1
  301. # rule3:
  302. # if:
  303. # has-true: <group.default>
  304. # take:
  305. # - group.default
  306. # give:
  307. # - group.member
  308. # set-primary-group: member
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement