Advertisement
HuskiiRL

Untitled

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