Advertisement
Guest User

Untitled

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