Advertisement
xCraftRayX

Untitled

Dec 26th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 18.18 KB | None | 0 0
  1. ####################################################################################################
  2. # +----------------------------------------------------------------------------------------------+ #
  3. # |                                   __         __   ___  __         __                         | #
  4. # |                        |    |  | /  ` |__/  |__) |__  |__)  |\/| /__`                        | #
  5. # |                        |___ \__/ \__, |  \  |    |___ |  \  |  | .__/                        | #
  6. # |                                                                                              | #
  7. # |                                                                                              | #
  8. # |  SOURCE CODE: https://github.com/lucko/LuckPerms                                             | #
  9. # |  WIKI:        https://github.com/lucko/LuckPerms/wiki                                        | #
  10. # |  BUG REPORTS: https://github.com/lucko/LuckPerms/issues                                      | #
  11. # |                                                                                              | #
  12. # |  Each option in this file is documented and explained here:                                  | #
  13. # |   ==>  https://github.com/lucko/LuckPerms/wiki/Configuration                                 | #
  14. # |                                                                                              | #
  15. # |  New options are not added to this file automatically. Default values are used if an         | #
  16. # |  option cannot be found. The latest config versions can be obtained at the link above.       | #
  17. # +----------------------------------------------------------------------------------------------+ #
  18. ####################################################################################################
  19.  
  20. # +----------------------------------------------------------------------------------------------+ #
  21. # |                                            General                                           | #
  22. # +----------------------------------------------------------------------------------------------+ #
  23.  
  24. # The name of the server, used for server specific permissions. Set to 'global' to disable.
  25. server: creative
  26.  
  27. # If users on this server should have their global permissions applied.
  28. # If set to false, only server specific permissions will apply for users on this server
  29. include-global: true
  30.  
  31. # If users on this server should have their global world permissions applied.
  32. # If set to false, only world specific permissions will apply for users on this server
  33. include-global-world: true
  34.  
  35. # If users on this server should have global (non-server specific) groups applied
  36. apply-global-groups: true
  37.  
  38. # If users on this server should have global (non-world specific) groups applied
  39. apply-global-world-groups: true
  40.  
  41. # If UUIDs should be pulled from the server, or looked up by username based upon previous
  42. # connections.
  43. #
  44. # This option should be set to true in most cases. When set to false, in order to get a player's
  45. # UUID, LuckPerms will:
  46. #
  47. # 1. Check if a player with the given username has joined before, if they have, use the UUID they
  48. #    used on their previous login.
  49. # 2. Save and return the players "current" uuid.
  50. #
  51. # For offline mode (cracked) servers, a players UUID is generated based upon their username.
  52. #
  53. # IMPORTANT:
  54. # If you are using BungeeCord proxy running in online mode, it is important that "online-mode=false"
  55. # is set in server.properties, but "bungeecord: true" is set in the spigot.yml. You also need to set
  56. # "ip_forward: true" in BungeeCord's config.yml.
  57. #
  58. # If for whatever reason you are not able to do this, and do not have ip-forward enabled, then you
  59. # may need to set "use-server-uuids" to false.
  60. #
  61. # If your proxy is running in offline mode, you should still be setting up ip-forwarding as
  62. # described above, but may also find that you need to set "bungee-online-mode" to false in
  63. # paper.yml, if you are using Paper. (https://ci.destroystokyo.com/job/PaperSpigot/)
  64. #
  65. # This option only really exists for networks who for whatever reason cannot setup proper ip
  66. # forwarding.
  67. use-server-uuids: true
  68.  
  69. # If the plugin should send log notifications to users whenever permissions are modified.
  70. log-notify: true
  71.  
  72. # Mirrors world names. Whenever LuckPerms checks what world a user is in, if the world name is in
  73. # this list, the value assigned will be sent forward for permission calculation instead.
  74. world-rewrite:
  75. #  world_nether: world
  76. #  world_the_end: world
  77.  
  78. # Rewrites group names. The underlying name of the group does not change, just the output in
  79. # commands / placeholders / Vault.
  80. group-name-rewrite:
  81.   default: gracz
  82.  
  83. # Controls how temporary permissions/parents/meta should be accumulated
  84. #
  85. # The default behaviour is "deny"
  86. # If "accumulate": durations will be added to the existing expiry time
  87. # If "replace": durations will be replaced if the new duration is later than the current expiration
  88. # If "deny": the command will just fail if you try to add another node with the same expiry
  89. temporary-add-behaviour: deny
  90.  
  91. # How should LuckPerms determine a users "primary" group.
  92. #
  93. # Available Options:
  94. # -> stored                 use the value stored against the users record in the file/database
  95. # -> parents-by-weight      just use the users most highly weighted parent
  96. # -> all-parents-by-weight  same as above, but calculates based upon all parents inherited from both
  97. #                           directly and indirectly
  98. primary-group-calculation: all-parents-by-weight
  99.  
  100.  
  101.  
  102.  
  103. # +----------------------------------------------------------------------------------------------+ #
  104. # |                                    Permission Calculation                                    | #
  105. # +----------------------------------------------------------------------------------------------+ #
  106.  
  107. # If the plugin should apply wildcard permissions.
  108. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered
  109. # permissions matching the wildcard.
  110. apply-wildcards: true
  111.  
  112. # If the plugin should parse regex permissions.
  113. # If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the
  114. # node, and resolve & apply all registered permissions matching the regex.
  115. apply-regex: true
  116.  
  117. # If the plugin should complete and apply shorthand permissions.
  118. # If set to true, LuckPerms will detect and expand shorthand node patterns.
  119. apply-shorthand: true
  120.  
  121. # If the plugin should apply Bukkit child permissions.
  122. # Plugin authors can define custom permissions structures for their plugin, which will be resolved
  123. # and used by LuckPerms if this setting is enabled.
  124. apply-bukkit-child-permissions: true
  125.  
  126. # If the plugin should apply Bukkit default permissions.
  127. # Plugin authors can define permissions which should be given to all users by default, or setup
  128. # permissions which should/shouldn't be given to opped players.
  129. # If this option is set to false, LuckPerms will ignore these defaults.
  130. apply-bukkit-default-permissions: true
  131.  
  132. # If the plugin should apply attachment permissions.
  133. # Other plugins on the server are able to add their own "permission attachments" to players. This
  134. # allows them to grant players additional permissions which last until the end of the session, or
  135. # until they're removed. If this option is set to false, LuckPerms will not include these attachment
  136. # permissions when considering if a player should have access to a certain permission.
  137. apply-bukkit-attachment-permissions: true
  138.  
  139. # Define special group weights for this server.
  140. # Default is just 0.
  141. group-weight:
  142.  
  143.  
  144.  
  145. # +----------------------------------------------------------------------------------------------+ #
  146. # |                                  Meta Formatting & Stacking                                  | #
  147. # +----------------------------------------------------------------------------------------------+ #
  148.  
  149. # Allows you to setup prefix/suffix stacking options.
  150. #
  151. # Available formats:
  152. # - highest
  153. # - lowest
  154. # - highest_own
  155. # - lowest_own
  156. # - highest_on_track_<track>
  157. # - lowest_on_track_<track>
  158. # - highest_not_on_track_<track>
  159. # - lowest_not_on_track_<track>
  160. #
  161. # Each element is added in the order listed.
  162. meta-formatting:
  163.   prefix:
  164.     format:
  165.      - "highest"
  166.     start-spacer: ""
  167.     middle-spacer: " "
  168.     end-spacer: ""
  169.   suffix:
  170.     format:
  171.      - "highest"
  172.     start-spacer: ""
  173.     middle-spacer: " "
  174.     end-spacer: ""
  175.  
  176.  
  177.  
  178.  
  179. # +----------------------------------------------------------------------------------------------+ #
  180. # |                                 OP (Server Operator) Settings                                | #
  181. # +----------------------------------------------------------------------------------------------+ #
  182.  
  183. # If the vanilla OP system is enabled. If set to false, all users will be de-opped, and the op/deop
  184. # commands will be disabled.
  185. enable-ops: true
  186.  
  187. # If set to true, any user with the permission "luckperms.autoop" will automatically be granted
  188. # server operator status. This permission can be inherited, or set on specific servers/worlds,
  189. # temporarily, etc.
  190. #
  191. # Additionally, setting this to true will force the "enable-ops" option above to false. All users
  192. # will be de-opped unless they have the permission node, and the op/deop commands will be disabled.
  193. #
  194. # It is important to note that this setting is only checked when a player first joins the server,
  195. # and when they switch worlds. Therefore, simply removing this permission from a user will not
  196. # automatically de-op them. A player needs to relog to have the change take effect.
  197. #
  198. # It is recommended that you use this option instead of assigning a single '*' permission.
  199. auto-op: false
  200.  
  201. # If opped players should be allowed to use LuckPerms commands. Set to false to only allow users who
  202. # have the permissions access to the commands
  203. commands-allow-op: true
  204.  
  205.  
  206.  
  207.  
  208. # +----------------------------------------------------------------------------------------------+ #
  209. # |                                             Vault                                            | #
  210. # +----------------------------------------------------------------------------------------------+ #
  211.  
  212. # If the vault-server option below should be used.
  213. # When this option is set to false, the server value defined above under "server" is used.
  214. use-vault-server: false
  215.  
  216. # The name of the server used within Vault operations. If you don't want Vault operations to be
  217. # server specific, set this to "global".
  218. #
  219. # Will only take effect if use-vault-server is set to true above.
  220. vault-server: global
  221.  
  222. # If global permissions should be considered when retrieving meta or player groups
  223. vault-include-global: true
  224.  
  225. # If Vault operations should ignore any world arguments if supplied.
  226. vault-ignore-world: false
  227.  
  228. # If LuckPerms should print debugging info to console when a plugin uses a Vault function
  229. vault-debug: false
  230.  
  231.  
  232.  
  233.  
  234. # +----------------------------------------------------------------------------------------------+ #
  235. # |                                            Storage                                           | #
  236. # +----------------------------------------------------------------------------------------------+ #
  237.  
  238. # Which storage method the plugin should use.
  239. #
  240. # See: https://github.com/lucko/LuckPerms/wiki/Choosing-a-Storage-type
  241. # Currently supported: mysql, mariadb, postgresql, sqlite, h2, json, yaml, mongodb
  242. #
  243. # Fill out connection info below if you're using MySQL, MariaDB, PostgreSQL or MongoDB
  244. # If your MySQL server supports it, the "mariadb" option is preferred over "mysql".
  245. storage-method: MySQL
  246.  
  247. # When using a file-based storage type, LuckPerms can monitor the data files for changes, and then
  248. # schedule automatic updates when changes are detected.
  249. #
  250. # If you don't want this to happen, set this option to false.
  251. watch-files: true
  252.  
  253. # This block enables support for split datastores.
  254. split-storage:
  255.   enabled: false
  256.   methods:
  257.     user: h2
  258.     group: h2
  259.     track: h2
  260.     uuid: h2
  261.     log: h2
  262.  
  263. data:
  264.  # Uses standard DB engine port by default
  265.   # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  266.   # Specify as "host:port" if differs
  267.   address: localhost
  268.  
  269.   database: Bungee
  270.   username: mines
  271.   password: 'haslo'
  272.   pool-size: 10 # The size of the MySQL connection pool.
  273.  
  274.   # The prefix for all LuckPerms tables. Change this is you want to use different tables for
  275.   # different servers.
  276.   #
  277.   # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with
  278.   # this database.
  279.   table_prefix: 'luckperms_'
  280.  
  281.   # The prefix to use for all LuckPerms collections. Change this if you want to use different
  282.   # collections for different servers. The default is no prefix.
  283.   mongodb_collection_prefix: ''
  284.  
  285.   # This option controls how frequently LuckPerms will perform a sync task.
  286.   # A sync task will refresh all data from the storage, and ensure that the most up-to-date data is
  287.   # being used by the plugin.
  288.   #
  289.   # This is disabled by default, as most users will not need it. However, if you're using a remote
  290.   # storage type without a messaging service setup, you may wish to set this value to something like
  291.   # 3.
  292.   #
  293.   # Set to -1 to disable the task completely.
  294.   sync-minutes: 1
  295.  
  296. # Settings for the messaging service
  297. #
  298. # If enabled and configured, LuckPerms will use the messaging system to inform other
  299. # connected servers of changes. Use the command "/luckperms networksync" to push changes.
  300. # Data is NOT stored using this service. It is only used as a messaging platform.
  301. #
  302. # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for
  303. # LuckPerms to poll the database for changes.
  304. #
  305. # Available options:
  306. # -> bungee   uses the plugin messaging channels. Must be enabled on all connected servers to work.
  307. # -> lilypad  uses lilypad pub sub to push changes. You need to have the LilyPad-Connect plugin
  308. #             installed.
  309. # -> redis    uses redis pub sub to push changes. Your redis server must be configured below.
  310. # -> none     nothing
  311. messaging-service: bungee
  312.  
  313. # If LuckPerms should automatically push updates after a change has been made with a command.
  314. auto-push-updates: true
  315.  
  316. # Settings for Redis.
  317. # Port 6379 is used by default; set address to "host:port" if differs
  318. redis:
  319.   enabled: false
  320.   address: localhost
  321.   password: ''
  322.  
  323.  
  324.  
  325.  
  326. # +----------------------------------------------------------------------------------------------+ #
  327. # |                                      Default Assignments                                     | #
  328. # +----------------------------------------------------------------------------------------------+ #
  329.  
  330. # This section allows you to define defaults to give users whenever they connect to the server.
  331. # The default assignments are highly configurable and conditional.
  332. #
  333. # There is one default assignment built into LuckPerms, which will add all users to the "default"
  334. # group if they are not a member of any other group. This setting cannot be disabled. However, you
  335. # can use this section to add more of your own.
  336. #
  337. # IMPORTANT:
  338. # In order to save storage space, LuckPerms does not store users who have no permissions defined,
  339. # and are only a member of the default group. Adding default assignments to this section will negate
  340. # this effect. It is HIGHLY RECCOMENDED that instead of assigning defaults here, you add permissions
  341. # to the "default" group, or set the "default" group to inherit other groups, and then use the
  342. # group-name-rewrite rule above.
  343. #
  344. # It is also important to note that these rules are considered every time a player logs into the
  345. # server, and are applied directly to the user's data. Simply removing a rule here will not reverse
  346. # the effect of that rule on any users who have already had it applied to them.
  347. #
  348. # The "has" and "lacks" conditions below support standard boolean logic, using the 'and' & 'or'
  349. # characters used in Java.
  350. # e.g. "(some.other.permission | some.permission.other) & some.thing.else" == a user has
  351. # 'some.other.permission', or 'some.permission.other', and they also have 'some.thing.else'
  352. #
  353. # Groups are represented by the permission node: group.<group name>
  354. # Per server and per world nodes are represented by "server-world/permission" or "server/permission"
  355. #
  356. # Within conditions, permission nodes MUST be escaped using "<" and ">". See the example below.
  357. #
  358. # Explanation of the examples below: (they're just to demonstrate the features & use cases)
  359. #
  360. # rule1:
  361. # If a user is either in the vip or vip+ group, and they have the "titles.titlecollector" permission
  362. # set to true, and the "some.random.permission" set to false... if they're not in the group
  363. # "prison_titlepack" on the "prison" server, then give add them to the "prison_titlepack" group on
  364. # the "prison" server, and remove "some.random.permission".
  365. #
  366. # rule2:
  367. # If the user isn't in any of the following groups on the skyblock server: sb_level1, sb_level2,
  368. # sb_level3, then add them to sb_level1 on the skyblock server.
  369. #
  370. # rule3:
  371. # If the user is a member of the default group, remove them from default, add them to member, and
  372. # set their primary group to member.
  373. #
  374. # WARNING: Unlike internal commands, this system does not ensure that a group exists before adding
  375. # a user to it. It also does not unsure that a user is a member of a group before making that group
  376. # their primary group.
  377. #
  378. # Before you use "give: group.<name>" or "set-primary-group", make sure that the group exists, and
  379. # that the user is a member of the group.
  380. default-assignments:
  381.   my-defaults-rule:
  382.     if:
  383.       has-true: <group.default>
  384.     take:
  385.      - group.default
  386.     give:
  387.      - group.gracz
  388.     set-primary-group: gracz
  389. #  rule1:
  390. #    if:
  391. #      has-true: (<group.vip> | <group.vip+>) & <titles.tilecollector>
  392. #      has-false: <some.random.permission>
  393. #      lacks: <prison/group.prison_titlepack>
  394. #    give:
  395. #      - prison/group.prison_titlepack
  396. #    take:
  397. #      - some.random.permission
  398. #  rule2:
  399. #    if:
  400. #      lacks: <skyblock/group.sb_level1> & <skyblock/group.sb_level2> & <skyblock/group.sb_level3>
  401. #    give:
  402. #      - skyblock/group.sb_level1
  403. #  rule3:
  404. #    if:
  405. #      has-true: <group.default>
  406. #    take:
  407. #      - group.default
  408. #    give:
  409. #      - group.member
  410. #    set-primary-group: member
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement