Advertisement
Guest User

Untitled

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