Advertisement
Guest User

Untitled

a guest
Jan 1st, 2018
549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.90 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: true
  72.  
  73. use-server-properties-name: false
  74.  
  75. # If set to true, LuckPerms will allow usernames with non alphanumeric characters.
  76. #
  77. # Note that due to the design of the storage implementation, usernames must still be
  78. # 16 characters or less.
  79. allow-invalid-usernames: false
  80.  
  81. # If LuckPerms should produce extra logging output when it handles logins.
  82. # Useful if you're having issues with UUID forwarding or data not being loaded.
  83. debug-logins: false
  84.  
  85. # If the plugin should send log notifications to users whenever permissions are modified.
  86. log-notify: true
  87.  
  88. # Mirrors world names. Whenever LuckPerms checks what world a user is in, if the world name is in
  89. # this list, the value assigned will be sent forward for permission calculation instead.
  90. world-rewrite:
  91. survival map_nether: survival map
  92. skyworld_nether: skyworld
  93. skyworld_the_end: skyworld
  94. skygrid_nether: skygrid
  95. skygrid_the_end: skygrid
  96. vanilla_nether: vanilla
  97. vanilla_the_end: vanilla
  98.  
  99.  
  100. # Controls how temporary permissions/parents/meta should be accumulated
  101. #
  102. # The default behaviour is "deny"
  103. # If "accumulate": durations will be added to the existing expiry time
  104. # If "replace": durations will be replaced if the new duration is later than the current expiration
  105. # If "deny": the command will just fail if you try to add another node with the same expiry
  106. temporary-add-behaviour: accumulate
  107.  
  108. # How should LuckPerms determine a users "primary" group.
  109. #
  110. # Available Options:
  111. # -> stored use the value stored against the users record in the file/database
  112. # -> parents-by-weight just use the users most highly weighted parent
  113. # -> all-parents-by-weight same as above, but calculates based upon all parents inherited from both
  114. # directly and indirectly
  115. primary-group-calculation: stored
  116.  
  117. # If set to false, the plugin will allow a Users primary group to be removed with the
  118. # 'parent remove' command, and will set their primary group back to default.
  119. prevent-primary-group-removal: false
  120.  
  121. # If the plugin should check for "extra" permissions with users run LP commands.
  122. #
  123. # These extra permissions allow finer control over what users can do with each command, and
  124. # who they have access to edit.
  125. #
  126. # The permissions are *not* static, unlike the 'base' permisssions, and will depend upon the
  127. # arguments given within the command.
  128. argument-based-command-permissions: false
  129.  
  130.  
  131.  
  132.  
  133. # +----------------------------------------------------------------------------------------------+ #
  134. # | Permission Calculation | #
  135. # +----------------------------------------------------------------------------------------------+ #
  136.  
  137. # If the plugin should apply wildcard permissions.
  138. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered
  139. # permissions matching the wildcard.
  140. apply-wildcards: true
  141.  
  142. # If the plugin should parse regex permissions.
  143. # If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the
  144. # node, and resolve & apply all registered permissions matching the regex.
  145. apply-regex: true
  146.  
  147. # If the plugin should complete and apply shorthand permissions.
  148. # If set to true, LuckPerms will detect and expand shorthand node patterns.
  149. apply-shorthand: true
  150.  
  151. # If the plugin should apply Bukkit child permissions.
  152. # Plugin authors can define custom permissions structures for their plugin, which will be resolved
  153. # and used by LuckPerms if this setting is enabled.
  154. apply-bukkit-child-permissions: true
  155.  
  156. # If the plugin should apply Bukkit default permissions.
  157. # Plugin authors can define permissions which should be given to all users by default, or setup
  158. # permissions which should/shouldn't be given to opped players.
  159. # If this option is set to false, LuckPerms will ignore these defaults.
  160. apply-bukkit-default-permissions: true
  161.  
  162. # If the plugin should apply attachment permissions.
  163. # Other plugins on the server are able to add their own "permission attachments" to players. This
  164. # allows them to grant players additional permissions which last until the end of the session, or
  165. # until they're removed. If this option is set to false, LuckPerms will not include these attachment
  166. # permissions when considering if a player should have access to a certain permission.
  167. apply-bukkit-attachment-permissions: true
  168.  
  169. # Define special group weights for this server.
  170. # Default is just 0.
  171. group-weight:
  172. # admin: 10
  173.  
  174.  
  175.  
  176.  
  177. # +----------------------------------------------------------------------------------------------+ #
  178. # | Meta Formatting & Stacking | #
  179. # +----------------------------------------------------------------------------------------------+ #
  180.  
  181. # Allows you to setup prefix/suffix stacking options.
  182. #
  183. # Available formats:
  184. # - highest
  185. # - lowest
  186. # - highest_own
  187. # - lowest_own
  188. # - highest_inherited
  189. # - lowest_inherited
  190. # - highest_on_track_<track>
  191. # - lowest_on_track_<track>
  192. # - highest_not_on_track_<track>
  193. # - lowest_not_on_track_<track>
  194. #
  195. # Each element is added in the order listed.
  196. meta-formatting:
  197. prefix:
  198. format:
  199. - "highest"
  200. start-spacer: ""
  201. middle-spacer: " "
  202. end-spacer: ""
  203. suffix:
  204. format:
  205. - "highest"
  206. start-spacer: ""
  207. middle-spacer: " "
  208. end-spacer: ""
  209.  
  210.  
  211.  
  212.  
  213. # +----------------------------------------------------------------------------------------------+ #
  214. # | OP (Server Operator) Settings | #
  215. # +----------------------------------------------------------------------------------------------+ #
  216.  
  217. # If the vanilla OP system is enabled. If set to false, all users will be de-opped, and the op/deop
  218. # commands will be disabled.
  219. enable-ops: true
  220.  
  221. # If set to true, any user with the permission "luckperms.autoop" will automatically be granted
  222. # server operator status. This permission can be inherited, or set on specific servers/worlds,
  223. # temporarily, etc.
  224. #
  225. # Additionally, setting this to true will force the "enable-ops" option above to false. All users
  226. # will be de-opped unless they have the permission node, and the op/deop commands will be disabled.
  227. #
  228. # It is important to note that this setting is only checked when a player first joins the server,
  229. # and when they switch worlds. Therefore, simply removing this permission from a user will not
  230. # automatically de-op them. A player needs to relog to have the change take effect.
  231. #
  232. # It is recommended that you use this option instead of assigning a single '*' permission.
  233. auto-op: false
  234.  
  235. # If opped players should be allowed to use LuckPerms commands. Set to false to only allow users who
  236. # have the permissions access to the commands
  237. commands-allow-op: true
  238.  
  239.  
  240.  
  241.  
  242. # +----------------------------------------------------------------------------------------------+ #
  243. # | Vault | #
  244. # +----------------------------------------------------------------------------------------------+ #
  245.  
  246. # If the vault-server option below should be used.
  247. # When this option is set to false, the server value defined above under "server" is used.
  248. use-vault-server: false
  249.  
  250. # The name of the server used within Vault operations. If you don't want Vault operations to be
  251. # server specific, set this to "global".
  252. #
  253. # Will only take effect if use-vault-server is set to true above.
  254. vault-server: global
  255.  
  256. # If global permissions should be considered when retrieving meta or player groups
  257. vault-include-global: true
  258.  
  259. # If Vault operations should ignore any world arguments if supplied.
  260. vault-ignore-world: false
  261.  
  262. # If LuckPerms should print debugging info to console when a plugin uses a Vault function
  263. vault-debug: false
  264.  
  265.  
  266.  
  267.  
  268. # +----------------------------------------------------------------------------------------------+ #
  269. # | Storage | #
  270. # +----------------------------------------------------------------------------------------------+ #
  271.  
  272. # Which storage method the plugin should use.
  273. #
  274. # See: https://github.com/lucko/LuckPerms/wiki/Choosing-a-Storage-type
  275. # Currently supported: mysql, mariadb, postgresql, sqlite, h2, json, yaml, hocon, mongodb
  276. #
  277. # Fill out connection info below if you're using MySQL, MariaDB, PostgreSQL or MongoDB
  278. # If your MySQL server supports it, the "mariadb" option is preferred over "mysql".
  279. storage-method: yaml
  280.  
  281. # When using a file-based storage type, LuckPerms can monitor the data files for changes, and then
  282. # schedule automatic updates when changes are detected.
  283. #
  284. # If you don't want this to happen, set this option to false.
  285. watch-files: true
  286.  
  287. # This block enables support for split datastores.
  288. split-storage:
  289. enabled: false
  290. methods:
  291. user: h2
  292. group: h2
  293. track: h2
  294. uuid: h2
  295. log: h2
  296.  
  297. data:
  298. # Uses standard DB engine port by default
  299. # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  300. # Specify as "host:port" if differs
  301. address: localhost
  302.  
  303. database: minecraft
  304. username: root
  305. password: ''
  306.  
  307. # These settings apply to the MySQL connection pool.
  308. # The default values will be suitable for the majority of users.
  309. # Do not change these settings unless you know what you're doing!
  310. pool-settings:
  311.  
  312. # Sets the maximum size of the MySQL connection pool.
  313. # Basically this value will determine the maximum number of actual
  314. # connections to the database backend.
  315. #
  316. # More information about determining the size of connection pools can be found here:
  317. # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  318. maximum-pool-size: 10
  319.  
  320. # Sets the minimum number of idle connections that the pool will try to maintain.
  321. #
  322. # For maximum performance and responsiveness to spike demands, it is recommended to not set
  323. # this value and instead allow the pool to act as a fixed size connection pool.
  324. # (set this value to the same as 'maximum-pool-size')
  325. minimum-idle: 10
  326.  
  327. # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
  328. # The value should be at least 30 seconds less than any database or infrastructure imposed
  329. # connection time limit.
  330. maximum-lifetime: 1800000 # 30 minutes
  331.  
  332. # This setting controls the maximum number of milliseconds that the plugin will wait for a
  333. # connection from the pool, before timing out.
  334. connection-timeout: 15000 # 15 seconds
  335.  
  336. # The prefix for all LuckPerms tables. Change this is you want to use different tables for
  337. # different servers.
  338. #
  339. # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with
  340. # this database.
  341. table_prefix: 'luckperms_'
  342.  
  343. # The prefix to use for all LuckPerms collections. Change this if you want to use different
  344. # collections for different servers. The default is no prefix.
  345. mongodb_collection_prefix: ''
  346.  
  347. # This option controls how frequently LuckPerms will perform a sync task.
  348. # A sync task will refresh all data from the storage, and ensure that the most up-to-date data is
  349. # being used by the plugin.
  350. #
  351. # This is disabled by default, as most users will not need it. However, if you're using a remote
  352. # storage type without a messaging service setup, you may wish to set this value to something like
  353. # 3.
  354. #
  355. # Set to -1 to disable the task completely.
  356. sync-minutes: -1
  357.  
  358. # Settings for the messaging service
  359. #
  360. # If enabled and configured, LuckPerms will use the messaging system to inform other
  361. # connected servers of changes. Use the command "/luckperms networksync" to push changes.
  362. # Data is NOT stored using this service. It is only used as a messaging platform.
  363. #
  364. # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for
  365. # LuckPerms to poll the database for changes.
  366. #
  367. # Available options:
  368. # -> bungee uses the plugin messaging channels. Must be enabled on all connected servers to work.
  369. # -> lilypad uses lilypad pub sub to push changes. You need to have the LilyPad-Connect plugin
  370. # installed.
  371. # -> redis uses redis pub sub to push changes. Your redis server must be configured below.
  372. # -> none nothing
  373. messaging-service: none
  374.  
  375. # If LuckPerms should automatically push updates after a change has been made with a command.
  376. auto-push-updates: true
  377.  
  378. # If LuckPerms should push logging entries to connected servers via the messaging service.
  379. push-log-entries: true
  380.  
  381. # If LuckPerms should broadcast received logging entries to players on this platform.
  382. #
  383. # If you have LuckPerms installed on your backend servers as well as a BungeeCord proxy, you should
  384. # set this option to false on either your backends or your proxies, to avoid players being messaged
  385. # twice about log entries.
  386. broadcast-received-log-entries: true
  387.  
  388. # Settings for Redis.
  389. # Port 6379 is used by default; set address to "host:port" if differs
  390. redis:
  391. enabled: false
  392. address: localhost
  393. password: ''
  394.  
  395.  
  396.  
  397.  
  398. # +----------------------------------------------------------------------------------------------+ #
  399. # | Default Assignments | #
  400. # +----------------------------------------------------------------------------------------------+ #
  401.  
  402. # This section allows you to define defaults to give users whenever they connect to the server.
  403. # The default assignments are highly configurable and conditional.
  404. #
  405. # There is one default assignment built into LuckPerms, which will add all users to the "default"
  406. # group if they are not a member of any other group. This setting cannot be disabled. However, you
  407. # can use this section to add more of your own.
  408. #
  409. # IMPORTANT:
  410. # In order to save storage space, LuckPerms does not store users who have no permissions defined,
  411. # and are only a member of the default group. Adding default assignments to this section will negate
  412. # this effect. It is HIGHLY RECCOMENDED that instead of assigning defaults here, you add permissions
  413. # to the "default" group, or set the "default" group to inherit other groups, and then use the
  414. # group-name-rewrite rule above.
  415. #
  416. # It is also important to note that these rules are considered every time a player logs into the
  417. # server, and are applied directly to the user's data. Simply removing a rule here will not reverse
  418. # the effect of that rule on any users who have already had it applied to them.
  419. #
  420. # The "has" and "lacks" conditions below support standard boolean logic, using the 'and' & 'or'
  421. # characters used in Java.
  422. # e.g. "(some.other.permission | some.permission.other) & some.thing.else" == a user has
  423. # 'some.other.permission', or 'some.permission.other', and they also have 'some.thing.else'
  424. #
  425. # Groups are represented by the permission node: group.<group name>
  426. # Per server and per world nodes are represented by "server-world/permission" or "server/permission"
  427. #
  428. # Within conditions, permission nodes MUST be escaped using "<" and ">". See the example below.
  429. #
  430. # Explanation of the examples below: (they're just to demonstrate the features & use cases)
  431. #
  432. # rule1:
  433. # If a user is either in the vip or vip+ group, and they have the "titles.titlecollector" permission
  434. # set to true, and the "some.random.permission" set to false... if they're not in the group
  435. # "prison_titlepack" on the "prison" server, then give add them to the "prison_titlepack" group on
  436. # the "prison" server, and remove "some.random.permission".
  437. #
  438. # rule2:
  439. # If the user isn't in any of the following groups on the skyblock server: sb_level1, sb_level2,
  440. # sb_level3, then add them to sb_level1 on the skyblock server.
  441. #
  442. # rule3:
  443. # If the user is a member of the default group, remove them from default, add them to member, and
  444. # set their primary group to member.
  445. #
  446. # WARNING: Unlike internal commands, this system does not ensure that a group exists before adding
  447. # a user to it. It also does not unsure that a user is a member of a group before making that group
  448. # their primary group.
  449. #
  450. # Before you use "give: group.<name>" or "set-primary-group", make sure that the group exists, and
  451. # that the user is a member of the group.
  452. default-assignments:
  453. # rule1:
  454. # if:
  455. # has-true: (<group.vip> | <group.vip+>) & <titles.tilecollector>
  456. # has-false: <some.random.permission>
  457. # lacks: <prison/group.prison_titlepack>
  458. # give:
  459. # - prison/group.prison_titlepack
  460. # take:
  461. # - some.random.permission
  462. # rule2:
  463. # if:
  464. # lacks: <skyblock/group.sb_level1> & <skyblock/group.sb_level2> & <skyblock/group.sb_level3>
  465. # give:
  466. # - skyblock/group.sb_level1
  467. # rule3:
  468. # if:
  469. # has-true: <group.default>
  470. # take:
  471. # - group.default
  472. # give:
  473. # - group.member
  474. # set-primary-group:
  475.  
  476.  
  477. hub:
  478. if:
  479. lacks <global-hub/gamer>
  480. take:
  481. - group.default
  482. give:
  483. - global-hub/group.gamer
  484. set-primary-group: traveler
  485.  
  486. plotworld:
  487. if:
  488. lacks: <global-plotworld/group.citizen>
  489. give:
  490. - global-plotworld/group.citizen
  491.  
  492. prison:
  493. if:
  494. lacks: <global-prison/group.E4>
  495. give:
  496. - global-prison/group.E4
  497.  
  498. hunger:
  499. if:
  500. lacks: <global-hunger/group.warrior>
  501. give:
  502. - global-hunger/group.warrior
  503.  
  504. mini:
  505. if:
  506. lacks: <global-mini/group.warrior>
  507. give:
  508. - global-mini/group.warrior
  509.  
  510. skyworld:
  511. if:
  512. lacks: <global-skyworld/group.islander>
  513. give:
  514. - global-skyworld/group.islander
  515.  
  516. skygrid:
  517. if:
  518. lacks: <global-askygrid/group.gridhopper>
  519. give:
  520. - global-askygrid/group.gridhopper
  521.  
  522. survival:
  523. if:
  524. lacks: <global-survival map/traveler>
  525. give:
  526. - global-survival map/traveler
  527.  
  528. survivalend:
  529. if:
  530. lacks: <global-survival map_the_end/traveler>
  531. give:
  532. - global-survival map_the_end/traveler
  533.  
  534. vanilla:
  535. if:
  536. lacks: <global-vanilla/group.survivor>
  537. give:
  538. - global-vanilla/group.survivor
  539.  
  540.  
  541.  
  542.  
  543.  
  544. User file
  545.  
  546. uuid: f717ecde-e05a-45e5-9036-cef6ca6a22cb
  547. name: frizzbee30
  548. primary-group: traveler
  549. permissions:
  550. - traveler:
  551. value: true
  552. world: survival map_the_end
  553. - traveler:
  554. value: true
  555. world: survival map
  556. parents:
  557. - survivor:
  558. value: true
  559. world: vanilla
  560. - islander:
  561. value: true
  562. world: skyworld
  563. - e4:
  564. value: true
  565. world: prison
  566. - citizen:
  567. value: true
  568. world: plotworld
  569. - warrior:
  570. value: true
  571. world: mini
  572. - warrior:
  573. value: true
  574. world: hunger
  575. - gamer:
  576. value: true
  577. world: hub
  578. - gridhopper:
  579. value: true
  580. world: askygrid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement