Advertisement
Guest User

Untitled

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