Advertisement
Guest User

Untitled

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