Advertisement
GothkittyGirl

Untitled

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