Advertisement
Guest User

Config-Lobby

a guest
Apr 27th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.94 KB | None | 0 0
  1. ##############################################################################
  2. # +------------------------------------------------------------------------+ #
  3. # | LuckPerms Configuration | #
  4. # | https://github.com/lucko/LuckPerms | #
  5. # +------------------------------------------------------------------------+ #
  6. ##############################################################################
  7.  
  8. # +------------------------------------------------------------------------+ #
  9. # | General | #
  10. # +------------------------------------------------------------------------+ #
  11.  
  12. # The name of the server, used for server specific permissions. Set to 'global' to disable.
  13. server: lobby
  14.  
  15. # If users on this server should have their global permissions applied.
  16. # If set to false, only server specific permissions will apply for users on this server
  17. include-global: true
  18.  
  19. # If users on this server should have their global world permissions applied.
  20. # If set to false, only world specific permissions will apply for users on this server
  21. include-global-world: true
  22.  
  23. # If users on this server should have global (non-server specific) groups applied
  24. apply-global-groups: true
  25.  
  26. # If users on this server should have global (non-world specific) groups applied
  27. apply-global-world-groups: true
  28.  
  29. # If UUIDs should be pulled from the server, or looked up by username based upon previous connections.
  30. #
  31. # This option should be set to true in most cases. When set to false, in order to get a player's UUID, LuckPerms will:
  32. # 1. Check if a player with the given username has joined before, if they have, use the UUID they used on their previous login.
  33. # 2. Save and return the players "current" uuid.
  34. #
  35. # For offline mode (cracked) servers, a players UUID is generated based upon their username.
  36. #
  37. # IMPORTANT:
  38. # If you are using BungeeCord proxy running in online mode, it is important that "online-mode=false" is set in server.properties, but
  39. # "bungeecord: true" is set in the spigot.yml. You also need to set "ip_forward: true" in BungeeCord's config.yml.
  40. # If for whatever reason you are not able to do this, and do not have ip-forward enabled, then you may need to set "use-server-uuids" to false.
  41. #
  42. # If your proxy is running in offline mode, you should still be setting up ip-forwarding as described above, but may also find that you need to set
  43. # "bungee-online-mode" to false in paper.yml, if you are using PaperSpigot. (https://ci.destroystokyo.com/job/PaperSpigot/)
  44. #
  45. # This option only really exists for networks who for whatever reason cannot setup proper ip forwarding.
  46. use-server-uuids: true
  47.  
  48. # If the plugin should send log notifications to users whenever permissions are modified.
  49. log-notify: false
  50.  
  51. # Controls how temporary permissions/parents/meta should be accumulated
  52. #
  53. # The default behaviour is "deny"
  54. # If "accumulate": durations will be added to the existing expiry time
  55. # If "replace": durations will be replaced if the new duration is later than the current expiration
  56. # If "deny": the command will just fail if you try to add another node with the same expiry
  57. temporary-add-behaviour: replace
  58.  
  59. # How should LuckPerms determine a users "primary" group.
  60. #
  61. # Available Options:
  62. # -> stored use the value stored against the users record in the file/database
  63. # -> parents-by-weight just use the users most highly weighted parent
  64. # -> all-parents-by-weight same as above, but calculates based upon all parents inherits from both directly and indirectly
  65. primary-group-calculation: stored
  66.  
  67.  
  68.  
  69.  
  70. # +------------------------------------------------------------------------+ #
  71. # | Permission Calculation | #
  72. # +------------------------------------------------------------------------+ #
  73.  
  74. # If the plugin should apply wildcard permissions.
  75. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching
  76. # the wildcard.
  77. apply-wildcards: true
  78.  
  79. # If the plugin should parse regex permissions.
  80. # If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the node, and resolve &
  81. # apply all registered permissions matching the regex.
  82. apply-regex: true
  83.  
  84. # If the plugin should complete and apply shorthand permissions.
  85. # If set to true, LuckPerms will detect and expand shorthand node patterns.
  86. apply-shorthand: true
  87.  
  88. # Define special group weights for this server.
  89. # Default is just 0.
  90. group-weight:
  91. # admin: 10
  92.  
  93.  
  94.  
  95.  
  96. # +------------------------------------------------------------------------+ #
  97. # | Meta Formatting & Stacking | #
  98. # +------------------------------------------------------------------------+ #
  99.  
  100. # Allows you to setup prefix/suffix stacking options.
  101. #
  102. # Available formats:
  103. # - highest
  104. # - lowest
  105. # - highest_own
  106. # - lowest_own
  107. # - highest_on_track_<track>
  108. # - lowest_on_track_<track>
  109. #
  110. # Each element is added in the order listed.
  111. meta-formatting:
  112. prefix:
  113. format:
  114. - "highest"
  115. start-spacer: ""
  116. middle-spacer: " "
  117. end-spacer: ""
  118. suffix:
  119. format:
  120. - "highest"
  121. start-spacer: ""
  122. middle-spacer: " "
  123. end-spacer: ""
  124.  
  125.  
  126.  
  127.  
  128. # +------------------------------------------------------------------------+ #
  129. # | OP (Server Operator) Settings | #
  130. # +------------------------------------------------------------------------+ #
  131.  
  132. # If the vanilla OP system is enabled. If set to false, all users will be de-opped, and the op/deop commands will be disabled.
  133. enable-ops: true
  134.  
  135. # If set to true, any user with the permission "luckperms.autoop" will automatically be granted server operator status.
  136. # This permission can be inherited, or set on specific servers/worlds, temporarily, etc.
  137. # Additionally, setting this to true will force the "enable-ops" option above to false. All users will be de-opped unless
  138. # they have the permission node, and the op/deop commands will be disabled.
  139. #
  140. # It is important to note that this setting is only checked when a player first joins the server, and when they switch
  141. # worlds. Therefore, simply removing this permission from a user will not automatically de-op them. A player needs to
  142. # relog to have the change take effect.
  143. #
  144. # It is recommended that you use this option instead of assigning a single '*' permission.
  145. auto-op: false
  146.  
  147. # If opped players should be allowed to use LuckPerms commands. Set to false to only allow users who have the permissions access to the commands
  148. commands-allow-op: true
  149.  
  150.  
  151.  
  152.  
  153. # +------------------------------------------------------------------------+ #
  154. # | Vault | #
  155. # +------------------------------------------------------------------------+ #
  156.  
  157. # The name of the server used within Vault operations. If you don't want Vault operations to be server specific, set this
  158. # to "global".
  159. vault-server: global
  160.  
  161. # If global permissions should be considered when retrieving meta or player groups
  162. vault-include-global: true
  163.  
  164. # If Vault operations should ignore any world arguments if supplied.
  165. vault-ignore-world: false
  166.  
  167. # This block controls the Primary Group override feature
  168. # See the wiki for more information.
  169. vault-primary-groups-overrides:
  170. # If the feature is enabled
  171. enabled: false
  172. # If the check should query the user's inherited permissions.
  173. # (a value of false only checks the permissions they explicitly have)
  174. check-inherited-permissions: false
  175. # If LuckPerms should check if the group exists
  176. check-group-exists: true
  177. # If LuckPerms should check if the user is actually a member of the group
  178. check-user-member-of: true
  179.  
  180. # If LuckPerms should print debugging info to console when a plugin uses a Vault function
  181. vault-debug: false
  182.  
  183. # Mirrors world names. Whenever LuckPerms checks what world a user is in, if the world name is in this list, the value assigned
  184. # will be sent forward for permission calculation instead.
  185. world-rewrite:
  186. # world_nether: world
  187. # world_the_end: world
  188.  
  189. # Rewrites group names. The underlying name of the group does not change, just the output in commands / placeholders / Vault.
  190. group-name-rewrite:
  191. # default: Member
  192.  
  193.  
  194.  
  195.  
  196. # +------------------------------------------------------------------------+ #
  197. # | Storage | #
  198. # +------------------------------------------------------------------------+ #
  199.  
  200. # Which storage method the plugin should use.
  201. # Currently supported: mysql, postgresql, sqlite, h2, json, yaml, mongodb
  202. # Fill out connection info below if you're using MySQL, PostgreSQL or MongoDB
  203. storage-method: mysql
  204.  
  205. # When using a file-based storage type, LuckPerms can monitor the data files for changes, and then schedule automatic
  206. # updates when changes are detected.
  207. #
  208. # If you don't want this to happen, set this option to false.
  209. watch-files: true
  210.  
  211. # This block enables support for split datastores.
  212. split-storage:
  213. enabled: false
  214. methods:
  215. user: h2
  216. group: h2
  217. track: h2
  218. uuid: h2
  219. log: h2
  220.  
  221. data:
  222. # Uses standard DB engine port by default
  223. # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  224. # Specify as "host:port" if differs
  225. address: localhost
  226.  
  227. database: luckperms
  228. username: root
  229. password: ''
  230. pool-size: 10 # The size of the MySQL connection pool.
  231.  
  232. # The prefix for all LuckPerms tables. Change this is you want to use different tables for different servers.
  233. # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with this database.
  234. table_prefix: 'luckperms_'
  235.  
  236. # This option controls how frequently LuckPerms will perform a sync task.
  237. # A sync task will refresh all data from the storage, and ensure that the most up-to-date data is being used by the plugin.
  238. #
  239. # This is disabled by default, as most users will not need it. However, if you're using a remote storage type
  240. # without a messaging service setup, you may wish to set this value to something like 3.
  241. #
  242. # Set to -1 to disable the task completely.
  243. sync-minutes: -1
  244.  
  245. # Settings for the messaging service
  246. #
  247. # If enabled and configured, LuckPerms will use the messaging system to inform other
  248. # connected servers of changes. Use the command "/luckperms networksync" to push changes.
  249. # Data is NOT stored using this service. It is only used as a messaging platform.
  250. #
  251. # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for LuckPerms
  252. # to poll the database for changes.
  253. #
  254. # Available options:
  255. # bungee ==> uses the plugin messaging channels. Must be enabled on all connected servers to work.
  256. # lilypad ==> uses lilypad pub sub to push changes. You need to have the LilyPad-Connect plugin installed.
  257. # redis ==> uses redis pub sub to push changes. Your redis server must be configured below.
  258. # none ==> nothing
  259. messaging-service: bungee
  260.  
  261. # If LuckPerms should automatically push updates after a change has been made with a command.
  262. auto-push-updates: true
  263.  
  264. # Settings for Redis.
  265. # Port 6379 is used by default; set address to "host:port" if differs
  266. redis:
  267. enabled: false
  268. address: localhost
  269. password: ''
  270.  
  271.  
  272.  
  273.  
  274. # +------------------------------------------------------------------------+ #
  275. # | Default Assignments | #
  276. # +------------------------------------------------------------------------+ #
  277.  
  278. # This section allows you to define defaults to give users whenever they connect to the server.
  279. # The default assignments are highly configurable and conditional.
  280. #
  281. # There is one default assignment built into LuckPerms, which will add all users to the "default" group if they
  282. # are not a member of any other group. This setting cannot be disabled. However, you can use this section to add more of
  283. # your own.
  284. #
  285. # IMPORTANT:
  286. # In order to save storage space, LuckPerms does not store users who have no permissions defined, and are only a member
  287. # of the default group. Adding default assignments to this section will negate this effect. It is HIGHLY RECCOMENDED
  288. # that instead of assigning defaults here, you add permissions to the "default" group, or set the "default" group to inherit
  289. # other groups, and then use the group-name-rewrite rule above.
  290. #
  291. # It is also important to note that these rules are considered every time a player logs into the server, and are applied
  292. # directly to the user's data. Simply removing a rule here will not reserse the effect of that rule on any users who have
  293. # already had it applied to them.
  294. #
  295. # The "has" and "lacks" conditions below support standard boolean logic, using the 'and' & 'or' characters used in Java.
  296. # e.g. "(some.other.permission | some.permission.other) & some.thing.else" == a user has 'some.other.permission', or
  297. # 'some.permission.other', and they also have 'some.thing.else'
  298. #
  299. # Groups are represented by the permission node: group.<group name>
  300. # Per server and per world nodes are represented by: "server-world/permission" or "server/permission"
  301. #
  302. # Within conditions, permission nodes MUST be escaped using "<" and ">". See the example below.
  303. #
  304. # Explanation of the examples below: (they're just to demonstrate the features & use cases)
  305. #
  306. # rule1:
  307. # If a user is either in the vip or vip+ group, and they have the "titles.titlecollector" permission set to true, and the
  308. # "some.random.permission" set to false... if they're not in the group "prison_titlepack" on the "prison" server, then
  309. # give add them to the "prison_titlepack" group on the "prison" server, and remove "some.random.permission".
  310. #
  311. # rule2:
  312. # If the user isn't in any of the following groups on the skyblock server: sb_level1, sb_level2, sb_level3, then add
  313. # them to sb_level1 on the skyblock server.
  314. #
  315. # rule3:
  316. # If the user is a member of the default group, remove them from default, add them to member, and set their primary group
  317. # to member.
  318. #
  319. # WARNING: Unlike internal commands, this system does not ensure that a group exists before adding a user to it.
  320. # It also does not unsure that a user is a member of a group before making that group their primary group.
  321. #
  322. # Before you use "give: group.<name>" or "set-primary-group", make sure that the group exists, and that the user is
  323. # a member of the group.
  324. default-assignments:
  325. # rule1:
  326. # if:
  327. # has-true: (<group.vip> | <group.vip+>) & <titles.tilecollector>
  328. # has-false: <some.random.permission>
  329. # lacks: <prison/group.prison_titlepack>
  330. # give:
  331. # - prison/group.prison_titlepack
  332. # take:
  333. # - some.random.permission
  334. # rule2:
  335. # if:
  336. # lacks: <skyblock/group.sb_level1> & <skyblock/group.sb_level2> & <skyblock/group.sb_level3>
  337. # give:
  338. # - skyblock/group.sb_level1
  339. # rule3:
  340. # if:
  341. # has-true: <group.default>
  342. # take:
  343. # - group.default
  344. # give:
  345. # - group.member
  346. # set-primary-group: member
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement