Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.42 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 Sponge servers connected to a BungeeCord proxy, with online-mode set to false, but 'bungeecord ip-forwarding'
  35. # set to true in the sponge/global.conf 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) In this case, set online-mode to true no
  39. # matter what is set in server.properties. (we can just fallback to the servers uuid cache)
  40. online-mode=true
  41.  
  42. # If the plugin should send log notifications to users whenever permissions are modified.
  43. log-notify=true
  44.  
  45. # Mirrors world names. Whenever LuckPerms checks what world a user is in, if the world name is in this list, the value assigned
  46. # will be sent forward for permission calculation instead.
  47. world-rewrite {
  48. # world_nether="world"
  49. # world_the_end="world"
  50. }
  51.  
  52. # Rewrites group names. The underlying name of the group does not change, just the output in commands / placeholders / Vault.
  53. group-name-rewrite {
  54. # default="trainers"
  55. }
  56.  
  57.  
  58.  
  59.  
  60. # +------------------------------------------------------------------------+ #
  61. # | Permission Calculation | #
  62. # +------------------------------------------------------------------------+ #
  63.  
  64. # If the plugin should apply wildcard permissions.
  65. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching
  66. # the wildcard.
  67. apply-wildcards=true
  68.  
  69. # If the plugin should parse regex permissions.
  70. # If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the node, and resolve &
  71. # apply all registered permissions matching the regex.
  72. apply-regex=true
  73.  
  74. # If the plugin should complete and apply shorthand permissions.
  75. # If set to true, LuckPerms will detect and expand shorthand node patterns.
  76. apply-shorthand=true
  77.  
  78. # Define special group weights for this server.
  79. # Default is just 0.
  80. group-weight {
  81. # admin=10
  82. }
  83.  
  84.  
  85.  
  86.  
  87. # +------------------------------------------------------------------------+ #
  88. # | Storage | #
  89. # +------------------------------------------------------------------------+ #
  90.  
  91. # Which storage method the plugin should use.
  92. # Currently supported: mysql, postgresql, sqlite, h2, json, yaml, mongodb
  93. # Fill out connection info below if you're using MySQL, PostgreSQL or MongoDB
  94. storage-method="h2"
  95.  
  96. # This block enables support for split datastores.
  97. split-storage {
  98. enabled=false
  99. methods {
  100. user="h2"
  101. group="h2"
  102. track="h2"
  103. uuid="h2"
  104. log="h2"
  105. }
  106. }
  107.  
  108. data {
  109. # Uses standard DB engine port by default
  110. # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  111. # Specify as "host:port" if differs
  112. address="localhost"
  113.  
  114. database="minecraft"
  115. username="root"
  116. password=""
  117. pool-size=10 # The size of the MySQL connection pool.
  118.  
  119. # The prefix for all LuckPerms tables. Change this is you want to use different tables for different servers.
  120. # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with this database.
  121. table_prefix="luckperms_"
  122.  
  123. # Set to -1 to disable. If this is the only instance accessing the datastore, you can disable syncing.
  124. # e.g. if you're using sqlite or flatfile, this can be set to -1 to save resources.
  125. sync-minutes=3
  126. }
  127.  
  128. # Settings for Redis.
  129. #
  130. # If enabled and configured, LuckPerms will use the Redis PubSub system to inform other
  131. # connected servers of changes. Use the command "/luckperms networksync" to push changes.
  132. # Data is NOT stored on redis. It is only used as a messaging platform.
  133. #
  134. # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for LuckPerms
  135. # to poll the database for changes.
  136. #
  137. # Port 6379 is used by default; set address to "host:port" if differs
  138. redis {
  139. enabled=false
  140. address="localhost"
  141. password=""
  142. }
  143.  
  144.  
  145.  
  146.  
  147. # +------------------------------------------------------------------------+ #
  148. # | Default Assignments | #
  149. # +------------------------------------------------------------------------+ #
  150.  
  151. # This section allows you to define defaults to give users whenever they connect to the server.
  152. # The default assignments are highly configurable and conditional.
  153. #
  154. # There is one default assignment built into LuckPerms, which will add all users to the "default" group if they
  155. # are not a member of any other group. This setting cannot be disabled. However, you can use this section to add more of
  156. # your own.
  157. #
  158. # IMPORTANT:
  159. # In order to save storage space, LuckPerms does not store users who have no permissions defined, and are only a member
  160. # of the default group. Adding default assignments to this section will negate this effect. It is HIGHLY RECCOMENDED
  161. # that instead of assigning defaults here, you add permissions to the "default" group, or set the "default" group to inherit
  162. # other groups, and then use the group-name-rewrite rule above.
  163. #
  164. # It is also important to note that these rules are considered every time a player logs into the server, and are applied
  165. # directly to the user's data. Simply removing a rule here will not reserse the effect of that rule on any users who have
  166. # already had it applied to them.
  167. #
  168. # The "has" and "lacks" conditions below support standard boolean logic, using the 'and' & 'or' characters used in Java.
  169. # e.g. "(some.other.permission | some.permission.other) & some.thing.else" == a user has 'some.other.permission', or
  170. # 'some.permission.other', and they also have 'some.thing.else'
  171. #
  172. # Groups are represented by the permission node: group.<group name>
  173. # Per server and per world nodes are represented by: "server-world/permission" or "server/permission"
  174. #
  175. # Within conditions, permission nodes MUST be escaped using "<" and ">". See the example below.
  176. #
  177. # Explaination of the examples below: (they're just to demonstrate the features & use cases)
  178. #
  179. # rule1:
  180. # If a user is either in the vip or vip+ group, and they have the "titles.titlecollector" permission set to true, and the
  181. # "some.random.permission" set to false... if they're not in the group "prison_titlepack" on the "prison" server, then
  182. # give add them to the "prison_titlepack" group on the "prison" server, and remove "some.random.permission".
  183. #
  184. # rule2:
  185. # If the user isn't in any of the following groups on the skyblock server: sb_level1, sb_level2, sb_level3, then add
  186. # them to sb_level1 on the skyblock server.
  187. #
  188. # rule3:
  189. # If the user is a member of the default group, remove them from default, add them to member, and set their primary group
  190. # to member.
  191. #
  192. # WARNING: Unlike internal commands, this system does not ensure that a group exists before adding a user to it.
  193. # It also does not unsure that a user is a member of a group before making that group their primary group.
  194. #
  195. # Before you use "give: group.<name>" or "set-primary-group", make sure that the group exists, and that the user is
  196. # a member of the group.
  197. default-assignments {
  198. # rule1 {
  199. # if {
  200. # has-true="(<group.vip> | <group.vip+>) & <titles.tilecollector>"
  201. # has-false="<some.random.permission>"
  202. # lacks="<prison/group.prison_titlepack>"
  203. # }
  204. # give = [
  205. # "prison/group.prison_titlepack"
  206. # ]
  207. # take = [
  208. # "some.random.permission"
  209. # ]
  210. # }
  211. # rule2 {
  212. # if {
  213. # lacks="<skyblock/group.sb_level1> & <skyblock/group.sb_level2> & <skyblock/group.sb_level3>"
  214. # }
  215. # give = [
  216. # "skyblock/group.sb_level1"
  217. # ]
  218. # }
  219. # rule3 {
  220. # if {
  221. # has-true="<group.default>"
  222. # }
  223. # take = [
  224. # "group.default"
  225. # ]
  226. # give = [
  227. # "group.member"
  228. # ]
  229. # set-primary-group="member"
  230. # }
  231. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement