2 lines
No EOL
706 KiB
JavaScript
2 lines
No EOL
706 KiB
JavaScript
(self["webpackChunkluckperms_web"]=self["webpackChunkluckperms_web"]||[]).push([[419],{2738:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h2",{attrs:{id:"intro",tabindex:"-1"}},[e._v("Intro "),t("a",{staticClass:"header-anchor",attrs:{href:"#intro"}},[e._v("🔗")])]),t("p",[e._v("Whilst the basics of LuckPerms are fairly simple, you can leverage a number of features and internal rules to setup an advanced permission system.")]),t("h2",{attrs:{id:"server-and-world-specific-permissions",tabindex:"-1"}},[e._v("Server and World specific permissions "),t("a",{staticClass:"header-anchor",attrs:{href:"#server-and-world-specific-permissions"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms is designed for multi-server networks. You can define permissions that only apply on certain servers and in certain worlds.")]),t("h4",{attrs:{id:"some-important-config-options",tabindex:"-1"}},[e._v("Some important config options: "),t("a",{staticClass:"header-anchor",attrs:{href:"#some-important-config-options"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("# The name of the server, used for server specific permissions. Set to 'global' to disable.")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("global")]),e._v("\n")])]),t("p",[e._v("This is the name of the server. If you want to set server specific permissions, you need to name your server by changing this option. Servers in your network can share the same name if you like.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("# If users on this server should have their global permissions/groups applied.")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("include-global:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("p",[e._v("The include global option is also important.")]),t("p",[e._v("Permissions in LuckPerms are either server specific (they only apply on certain servers) or global (they apply on all servers).")]),t("p",[e._v("By setting the above option to "),t("strong",[e._v("false")]),e._v(", only permissions that are explicitly set on that server will be applied. Global (or non-server-specific) permissions will not apply.")]),t("p",[e._v("By changing these two options, you can setup super flexible & powerful per-server permissions and groups.")]),t("h3",{attrs:{id:"examples",tabindex:"-1"}},[e._v("Examples "),t("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[e._v("🔗")])]),t("h4",{attrs:{id:"example-1",tabindex:"-1"}},[e._v("Example 1 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-1"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("global")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("include-global:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("ul",[t("li",[e._v("/luckperms user Luck set minecraft.command.gamemode true "),t("strong",[e._v("WILL APPLY")])]),t("li",[e._v("/luckperms user Luck set minecraft.command.gamemode true factions "),t("strong",[e._v("WILL NOT APPLY")]),e._v(' while not on the server "factions"')])]),t("h4",{attrs:{id:"example-2",tabindex:"-1"}},[e._v("Example 2 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-2"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("lobby")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("include-global:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("ul",[t("li",[e._v("/luckperms user Luck set minecraft.command.gamemode true "),t("strong",[e._v("WILL APPLY")])]),t("li",[e._v("/luckperms user Luck set minecraft.command.gamemode true lobby "),t("strong",[e._v("WILL APPLY")])])]),t("h4",{attrs:{id:"example-3",tabindex:"-1"}},[e._v("Example 3 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-3"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("bungeecord")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("include-global:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("ul",[t("li",[e._v("/luckperms user Luck set minecraft.command.gamemode true "),t("strong",[e._v("WILL NOT APPLY")])]),t("li",[e._v("/luckperms user Luck set bungeecord.command.alert true bungeecord "),t("strong",[e._v("WILL APPLY")])])]),t("h4",{attrs:{id:"example-4",tabindex:"-1"}},[e._v("Example 4 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-4"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("global")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("include-global:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("p",[t("strong",[e._v("NO PERMISSIONS WILL APPLY")])]),t("p",[e._v("If no server is defined, and global permissions are not being included, then nothing will be applying.")]),t("h2",{attrs:{id:"permission-calculation",tabindex:"-1"}},[e._v("Permission Calculation "),t("a",{staticClass:"header-anchor",attrs:{href:"#permission-calculation"}},[e._v("🔗")])]),t("h3",{attrs:{id:"permissions-are-calculated-based-on-a-priority-system-as-follows",tabindex:"-1"}},[e._v("Permissions are calculated based on a priority system as follows. "),t("a",{staticClass:"header-anchor",attrs:{href:"#permissions-are-calculated-based-on-a-priority-system-as-follows"}},[e._v("🔗")])]),t("ul",[t("li",[t("strong",[e._v("Server specific permissions will override generic/global permissions.")])])]),t("p",[e._v('Example: if a user has a global "fly.use" permission, and then has a negated "fly.use" permission on the "factions" server, the server specific permission will override the globally defined one, and the user will be granted the negated node (provided they\'re on that server).')]),t("ul",[t("li",[t("strong",[e._v("World specific permissions will override generic permissions.")])])]),t("p",[e._v('Example: if a user has a global "fly.use" permission, and then has a negated "fly.use" permission in the "world_nether" world, the world specific permission will override the globally defined one, and the user will be granted the negated node (provided they\'re in that world, of course.).')]),t("ul",[t("li",[t("strong",[e._v("Temporary permissions will override non-temporary permissions.")])])]),t("p",[e._v('Example: if a user has a false permission set for "test.node", and a temporary true permission set for "test.node", the temporary permission will override the permanent one, and the user will be granted the true node for the duration defined for that temporary permission.')]),t("ul",[t("li",[t("strong",[e._v("Wildcard/regex permissions will be overridden by normal permissions")])])]),t("p",[e._v('Example: if a user has a true permission set for "luckperms.*", and a false permission set for "luckperms.something", the non-wildcard permission will override the wildcard, and "luckperms.something" will be set to false, despite the wildcard.')]),t("ul",[t("li",[t("strong",[e._v("Temporary permissions will override other temporary permissions with a longer expiry time")])])]),t("p",[e._v('Example: if a user has a temporary true permission set for "fly.use" that expires in 1 day, and a temporary false permission set for "fly.use" that expires in 1 hour, the temporary permission expiring in 1 hour will override the one expiring in 1 day, and the negative node will take precedence for the duration of 1 hour.')]),t("ul",[t("li",[t("strong",[e._v("More specific wildcards override less specific ones")])])]),t("p",[e._v('Example: if a user has "luckperms.*" set to true, but "luckperms.user.*" set to false, all of the user permissions will be set to false, despite the more generic wildcard for "luckperms.*".')]),t("ul",[t("li",[t("strong",[e._v("Inherited permissions will be overridden by an objects own permissions.")])])]),t("p",[e._v('Example: A user is a member of the default group, which grants "some.thing.perm", but the users own permissions has "some.thing.perm" set to false. The inherited permission will be overridden by the users own permissions, and the user will be granted the negative node.')]),t("h2",{attrs:{id:"temporary-permissions",tabindex:"-1"}},[e._v("Temporary Permissions "),t("a",{staticClass:"header-anchor",attrs:{href:"#temporary-permissions"}},[e._v("🔗")])]),t("p",[e._v("Temporary permissions are audited once every 3 seconds, to check if they have expired. This check happens regardless of the sync interval setting. This means that you can safely set temporary permissions to expire after a matter of seconds, and they will be removed on-time.")]),t("h2",{attrs:{id:"shorthand-permissions",tabindex:"-1"}},[e._v("Shorthand Permissions "),t("a",{staticClass:"header-anchor",attrs:{href:"#shorthand-permissions"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has it's own system (although it's quite similar to PermissionsEx 😛) that allows you to set permissions in a shorthand format.")]),t("h3",{attrs:{id:"examples-1",tabindex:"-1"}},[e._v("Examples "),t("a",{staticClass:"header-anchor",attrs:{href:"#examples-1"}},[e._v("🔗")])]),t("h4",{attrs:{id:"example-1-1",tabindex:"-1"}},[e._v("Example 1 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-1-1"}},[e._v("🔗")])]),t("p",[e._v("Using the LuckPerms permission nodes as an example, say for instance, you wanted to let a user set and unset permissions for both groups and users.")]),t("p",[e._v("Without shorthand, you would have to apply 4 nodes.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v("luckperms.user.setpermission\nluckperms.user.unsetpermission\nluckperms."),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("group")]),e._v(".setpermission\nluckperms."),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("group")]),e._v(".unsetpermission\n")])]),t("p",[e._v("However, with shorthand, you can just apply the following node:")]),t("p",[t("code",{pre:!0},[e._v("luckperms.{user,group}.{setpermission,unsetpermission}")])]),t("p",[e._v("You use curly brackets to define part of a node as a shorthand group, and then use the comma character "),t("code",{pre:!0},[e._v(",")]),e._v(" to separate entries.")]),t("h4",{attrs:{id:"example-2-1",tabindex:"-1"}},[e._v("Example 2 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-2-1"}},[e._v("🔗")])]),t("p",[e._v("You can use the "),t("code",{pre:!0},[e._v("-")]),e._v(" character to create character ranges. Without shorthand, you would have to apply 4 nodes.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v("coolkits.kit.a\ncoolkits.kit.b\ncoolkits.kit.c\ncoolkits.kit.d\n")])]),t("p",[e._v("However, with shorthand, you can just apply the following node:")]),t("p",[t("code",{pre:!0},[e._v("coolkits.kit.{a-d}")])]),t("h4",{attrs:{id:"example-3-1",tabindex:"-1"}},[e._v("Example 3 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-3-1"}},[e._v("🔗")])]),t("p",[e._v("You can use the "),t("code",{pre:!0},[e._v("-")]),e._v(" character to create number ranges. Without shorthand, you would have to apply 4 nodes.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v("prisonmines.teleport.1\nprisonmines.teleport.2\nprisonmines.teleport.3\nprisonmines.teleport.4\n")])]),t("p",[e._v("However, with shorthand, you can just apply the following node:")]),t("p",[t("code",{pre:!0},[e._v("prisonmines.teleport.{1-4}")])]),t("h2",{attrs:{id:"regex",tabindex:"-1"}},[e._v("Regex "),t("a",{staticClass:"header-anchor",attrs:{href:"#regex"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has support for regex when defining permission nodes.")]),t("p",[e._v('Whenever regex is used, it MUST be prefixed with "R=", so LuckPerms knows to treat it as regex, and not as a normal string.')]),t("p",[e._v("For example, if you wanted a user to be able to create both groups and tracks, you would normally just add the two permission nodes. However with regex, you can just add one. "),t("code",{pre:!0},[e._v("luckperms\\.create.*")]),e._v(" Remember to escape any characters (including dots) as the entire node will be parsed.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},5482:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This page documents the "),t("a",{attrs:{href:"Configuration#argument-based-command-permissions"}},[t("code",{pre:!0},[e._v("argument-based-command-permissions")])]),e._v(" configuration option.")]),t("p",[t("strong",[e._v("For any of the following permissions to work, you must first enable "),t("a",{attrs:{href:"Configuration#argument-based-command-permissions"}},[t("code",{pre:!0},[e._v("argument-based-command-permissions: true")])]),e._v(" in your "),t("a",{attrs:{href:"Configuration#argument-based-command-permissions"}},[e._v("config.yml")])]),e._v("!")]),t("p",[e._v("When this option is enabled, LuckPerms will run extra permission checks when a player tries to modify or view permission data.")]),t("p",[e._v("These permissions allow for finer control over what changes a player is able to do, including preventing them from granting specific groups, or making changes in certain contexts.")]),t("p",[e._v("The extra checks can be broken down into 3 sections.")]),t("h3",{attrs:{id:"contents",tabindex:"-1"}},[e._v("Contents "),t("a",{staticClass:"header-anchor",attrs:{href:"#contents"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#checks-when-a-player-modifiesviews-themselves-or-other-users"}},[t("strong",[e._v("Checks when a player modifies/views themselves or other users")])]),t("ul",[t("li",[t("a",{attrs:{href:"#modify-self"}},[e._v("Modify self")])]),t("li",[t("a",{attrs:{href:"#modify-another-player"}},[e._v("Modify another player")])]),t("li",[t("a",{attrs:{href:"#view-self"}},[e._v("View self")])]),t("li",[t("a",{attrs:{href:"#view-another-player"}},[e._v("View another player")])])])]),t("li",[t("a",{attrs:{href:"#checks-when-a-player-modifiesviews-a-group"}},[t("strong",[e._v("Checks when a player modifies/views a group")])]),t("ul",[t("li",[t("a",{attrs:{href:"#modify-a-group"}},[e._v("Modify a group")])]),t("li",[t("a",{attrs:{href:"#view-a-group"}},[e._v("View a group")])])])]),t("li",[t("a",{attrs:{href:"#checks-when-a-player-makes-changes-in-a-specific-context"}},[t("strong",[e._v("Checks when a player makes changes in a specific context")])]),t("ul",[t("li",[t("a",{attrs:{href:"#change-in-the-global-context"}},[e._v("Change in the global context")])]),t("li",[t("a",{attrs:{href:"#change-in-a-specific-set-of-contexts"}},[e._v("Change in a specific set of contexts")])])])]),t("li",[t("a",{attrs:{href:"#checks-when-a-player-makes-changes-with-a-set-of-specific-arguments"}},[t("strong",[e._v("Checks when a player makes changes with a set of specific arguments")])])])]),t("h2",{attrs:{id:"checks-when-a-player-modifiesviews-themselves-or-other-users",tabindex:"-1"}},[e._v("Checks when a player modifies/views themselves or other users "),t("a",{staticClass:"header-anchor",attrs:{href:"#checks-when-a-player-modifiesviews-themselves-or-other-users"}},[e._v("🔗")])]),t("h3",{attrs:{id:"modify-self",tabindex:"-1"}},[e._v("Modify self "),t("a",{staticClass:"header-anchor",attrs:{href:"#modify-self"}},[e._v("🔗")])]),t("p",[e._v("When a player tries to use a command to modify themselves, LuckPerms will first check for "),t("code",{pre:!0},[e._v("[base command permission].modify.self")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.modify.user.self")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp user Luck clear")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.user.clear")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.user.clear.modify.self")]),e._v(" (if this check returns true, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.modify.user.self")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h3",{attrs:{id:"modify-another-player",tabindex:"-1"}},[e._v("Modify another player "),t("a",{staticClass:"header-anchor",attrs:{href:"#modify-another-player"}},[e._v("🔗")])]),t("p",[e._v("When a player tries to use a command to modify another user, LuckPerms will first check for "),t("code",{pre:!0},[e._v("[base command permission].modify.others")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.modify.user.others")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example-1",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-1"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp user Notch clear")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.user.clear")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.user.clear.modify.others")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.modify.user.others")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h3",{attrs:{id:"view-self",tabindex:"-1"}},[e._v("View self "),t("a",{staticClass:"header-anchor",attrs:{href:"#view-self"}},[e._v("🔗")])]),t("p",[e._v("When a player tries to use a command to view data about themselves, LuckPerms will first check for "),t("code",{pre:!0},[e._v("[base command permission].view.self")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.view.user.self")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example-2",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-2"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp user Luck permission info")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.user.permission.info")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.user.permission.info.view.self")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.view.user.self")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h3",{attrs:{id:"view-another-player",tabindex:"-1"}},[e._v("View another player "),t("a",{staticClass:"header-anchor",attrs:{href:"#view-another-player"}},[e._v("🔗")])]),t("p",[e._v("When a player tries to use a command to view data about another user, LuckPerms will first check for "),t("code",{pre:!0},[e._v("[base command permission].view.others")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.view.user.others")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example-3",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-3"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp user Notch permission info")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.user.permission.info")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.user.permission.info.view.others")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.view.user.others")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h2",{attrs:{id:"checks-when-a-player-modifiesviews-a-group",tabindex:"-1"}},[e._v("Checks when a player modifies/views a group "),t("a",{staticClass:"header-anchor",attrs:{href:"#checks-when-a-player-modifiesviews-a-group"}},[e._v("🔗")])]),t("h3",{attrs:{id:"modify-a-group",tabindex:"-1"}},[e._v("Modify a group "),t("a",{staticClass:"header-anchor",attrs:{href:"#modify-a-group"}},[e._v("🔗")])]),t("p",[e._v("When a player tries to use a command to modify a group, LuckPerms will first check for "),t("code",{pre:!0},[e._v("[base command permission].modify.[group name]")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.modify.group.[group name]")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example-4",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-4"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp group admin clear")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.group.clear")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.group.clear.modify.admin")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.modify.group.admin")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h3",{attrs:{id:"view-a-group",tabindex:"-1"}},[e._v("View a group "),t("a",{staticClass:"header-anchor",attrs:{href:"#view-a-group"}},[e._v("🔗")])]),t("p",[e._v("When a player tries to use a command to view data about a group, LuckPerms will first check for "),t("code",{pre:!0},[e._v("[base command permission].view.[group name]")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.view.group.[group name]")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example-5",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-5"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp group admin permission info")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.group.permission.info")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.group.permission.info.view.admin")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.view.group.admin")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h2",{attrs:{id:"checks-when-a-player-makes-changes-in-a-specific-context",tabindex:"-1"}},[e._v("Checks when a player makes changes in a specific context "),t("a",{staticClass:"header-anchor",attrs:{href:"#checks-when-a-player-makes-changes-in-a-specific-context"}},[e._v("🔗")])]),t("p",[e._v("When a player tries to use a command to make a change to data, where the data being modified is contextual (can be applied in specific servers/worlds/contexts), LuckPerms will check for extra permissions.")]),t("h3",{attrs:{id:"change-in-the-global-context",tabindex:"-1"}},[e._v("Change in the global context "),t("a",{staticClass:"header-anchor",attrs:{href:"#change-in-the-global-context"}},[e._v("🔗")])]),t("p",[e._v("If the change is being made in the global context, LuckPerms will first check for "),t("code",{pre:!0},[e._v("[base command permission].usecontext.global")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.usecontext.global")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example-6",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-6"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp group admin permission set test.node true")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.group.permission.set")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.group.permission.set.usecontext.global")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.usecontext.global")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h3",{attrs:{id:"change-in-a-specific-set-of-contexts",tabindex:"-1"}},[e._v("Change in a specific set of contexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#change-in-a-specific-set-of-contexts"}},[e._v("🔗")])]),t("p",[e._v("If the change is not being made in the global context, LuckPerms will check the following for each context being used.")]),t("p",[e._v("It will first check for "),t("code",{pre:!0},[e._v("[base command permission].usecontext.[context key].[context value]")]),e._v(". If this returns true, the action is will be allowed. If it returns false, the action will not be allowed.")]),t("p",[e._v("If the player does not have a value set for the check (in other words, it's undefined), LuckPerms will then check for "),t("code",{pre:!0},[e._v("luckperms.usecontext.[context key].[context value]")]),e._v(" to obtain a result. If neither checks return true, the action is not allowed.")]),t("h4",{attrs:{id:"example-7",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-7"}},[e._v("🔗")])]),t("p",[e._v("For example, if I run "),t("code",{pre:!0},[e._v("/lp group admin permission set test.node true server=factions world=nether")]),e._v(", LuckPerms will check for the following permissions in this order.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("luckperms.group.permission.set")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.group.permission.set.usecontext.server.factions")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.usecontext.server.factions")])]),t("li",[t("code",{pre:!0},[e._v("luckperms.group.permission.set.usecontext.world.nether")]),e._v(" (if this check returns true/false, the next permission will not be checked)")]),t("li",[t("code",{pre:!0},[e._v("luckperms.usecontext.world.nether")])])]),t("p",[e._v("If any of the checks return false, the action will not be allowed.")]),t("h2",{attrs:{id:"checks-when-a-player-makes-changes-with-a-set-of-specific-arguments",tabindex:"-1"}},[e._v("Checks when a player makes changes with a set of specific arguments "),t("a",{staticClass:"header-anchor",attrs:{href:"#checks-when-a-player-makes-changes-with-a-set-of-specific-arguments"}},[e._v("🔗")])]),t("p",[e._v("These checks are made for some commands, and are based upon the arguments passed to the command.")]),t("p",[e._v("For example, the "),t("code",{pre:!0},[e._v("parent add")]),e._v(" command will check for an extra permission depending on which parent is being added.")]),t("p",[e._v("If I run "),t("code",{pre:!0},[e._v("/lp user Luck parent add admin")]),e._v(", among the other permissions being checked for, LuckPerms will also check for "),t("code",{pre:!0},[e._v("luckperms.user.parent.add.admin")]),e._v(". This allows you to give players access to a certain command, but only using certain arguments.")]),t("p",[e._v("The arguments which are checked are outlined below.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Command")]),t("th",[e._v("Extra argument checks")])])]),t("tbody",[t("tr",[t("td",[e._v("permission set")]),t("td",[e._v("node")])]),t("tr",[t("td",[e._v("permission unset")]),t("td",[e._v("node")])]),t("tr",[t("td",[e._v("parent add")]),t("td",[e._v("group")])]),t("tr",[t("td",[e._v("parent set")]),t("td",[e._v("group")])]),t("tr",[t("td",[e._v("parent settrack")]),t("td",[e._v("group.track")])]),t("tr",[t("td",[e._v("parent remove")]),t("td",[e._v("group")])]),t("tr",[t("td",[e._v("parent cleartrack")]),t("td",[e._v("track")])]),t("tr",[t("td",[e._v("meta set")]),t("td",[e._v("key")])]),t("tr",[t("td",[e._v("meta unset")]),t("td",[e._v("key")])]),t("tr",[t("td",[e._v("promote")]),t("td",[e._v("track.next-group")])]),t("tr",[t("td",[e._v("demote")]),t("td",[e._v("track.old-group")])])])]),t("h2",{attrs:{id:"promote-other-players-but-not-to-or-past-their-own-level-on-a-track",tabindex:"-1"}},[e._v("Promote other players but not to or past their own level on a track "),t("a",{staticClass:"header-anchor",attrs:{href:"#promote-other-players-but-not-to-or-past-their-own-level-on-a-track"}},[e._v("🔗")])]),t("p",[e._v("This is a very common question, and quite simple to set up. All you need to do is add these permissions:")]),t("h3",{attrs:{id:"for-sponge-and-spigot",tabindex:"-1"}},[e._v("For Sponge and Spigot: "),t("a",{staticClass:"header-anchor",attrs:{href:"#for-sponge-and-spigot"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Permission")]),t("th",[e._v("Value")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("luckperms.user.promote")])]),t("td",[e._v("true")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("luckperms.user.promote.*")]),e._v(" <--- This is only needed on Sponge")]),t("td",[e._v("false")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("luckperms.user.promote.modify.others")])]),t("td",[e._v("true")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("luckperms.user.promote.<track>.*")])]),t("td",[e._v("true")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("luckperms.user.promote.<track>.<{all,groups,they,cannot,promote,to,or,past}>")])]),t("td",[e._v("false")])])])]),t("p",[e._v("For the final node, you add all groups in the track they cannot promote to or past, separated by a "),t("code",{pre:!0},[e._v(",")]),e._v(" and all contained within {}. For example, you could set "),t("code",{pre:!0},[e._v("luckperms.user.promote.staff.{admin,owner}")]),e._v(" to prevent them from promoting to or past admin on the staff track.")]),t("p",[e._v("Additionally, if you want the group/user to be able to promote using global context (without requiring certain contextual conditions), you need to add the node "),t("code",{pre:!0},[e._v("luckperms.usecontext.global")]),e._v(".")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6452:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms provides a command to help perform bulk permission modifications with ease. This command should be used with care, as it can easily corrupt or break your setup if used in the wrong way.")]),t("p",[e._v("It may be wise to take a backup of your permission data before using the command, either by making a copy of your database / files, or by using the export command.")]),t("p",[e._v("The commands design is basically stripped back SQL syntax. This means the data passed into the command can be converted directly to an SQL query, or used to modify data in YAML or JSON storage files. Those who have experience with SQL may find it easier to write queries directly into their database server instead of using this command.")]),t("p",[e._v("These commands are "),t("strong",[e._v("only available from the console")]),e._v('. This is because they have the potential to cause a great deal of damage to your servers data. You are asked to type a confirmation code before the action is processed, in order to prevent users from "sudoing" the console and gaining access to these commands.')]),t("p",[e._v("The command usage is as follows...")]),t("h2",{attrs:{id:"lp-bulkupdate-data-type-action-action-field-action-value-constraint",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp bulkupdate <data type> <action> [action field] [action value] [constraint...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-data-type-action-action-field-action-value-constraint"}},[e._v("🔗")])]),t("p",[e._v("A bit daunting at first, I know. To break it down...")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Argument")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("data type")])]),t("td",[e._v('the type of data being changed. (can be "all", "users" or "groups")')])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("action")])]),t("td",[e._v('the action to perform on the data. (can be "update" or "delete")')])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("action field")])]),t("td",[e._v('the field to act upon. only required for update actions. (can be "permission", "server" or "world")')])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("action value")])]),t("td",[e._v("the value to replace with. only required for update actions")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("constraint")])]),t("td",[e._v("the constraints required for the update")])])])]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("data type")]),e._v(" is the simple bit. It simply tells LuckPerms what data should be affected by the update. Either just users, just groups, or users and groups.")]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("action")]),e._v(' is what will be done to the data. It can either be "update" or "delete". Delete simply means that any records which match the constraints will be deleted. Update will replace any values that match with another value.')]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("action field")]),e._v(" and "),t("code",{pre:!0},[e._v("action value")]),e._v(' arguments are optional because they only apply to the "update" action. The field is what will be updated, and the value is the replacement value for the field.')]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("constraints")]),e._v(" argument relates to the limitations of the update. Only the permissions (or entries) which match the constraints will be affected.")]),t("h3",{attrs:{id:"constraints",tabindex:"-1"}},[e._v("Constraints "),t("a",{staticClass:"header-anchor",attrs:{href:"#constraints"}},[e._v("🔗")])]),t("p",[e._v("Constraints are split into 3 parts. The "),t("code",{pre:!0},[e._v("field")]),e._v(", the "),t("code",{pre:!0},[e._v("comparison")]),e._v(" and the "),t("code",{pre:!0},[e._v("value")]),e._v(".")]),t("p",[e._v("The available "),t("code",{pre:!0},[e._v("fields")]),e._v(" are "),t("code",{pre:!0},[e._v("permission")]),e._v(", "),t("code",{pre:!0},[e._v("server")]),e._v(" and "),t("code",{pre:!0},[e._v("world")]),e._v('. Permission is just the permission node being stored in the file (remember that everything, even group memberships and prefixes are stored as permissions "under the hood"). The server and world fields relate to the server/world where the permission will apply. They are set to "global" if the permission doesn\'t have a value for either of them.')]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("value")]),e._v(" part of the constraint is just the expected value of the field, with respect to the comparison being used.")]),t("p",[e._v("There are 4 different comparisons available.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Comparison Symbol")]),t("th",[e._v("Comparison Name")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("==")])]),t("td",[e._v("Equal to")]),t("td",[e._v("If the two values are the same. (ignores case)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!=")])]),t("td",[e._v("Not equal to")]),t("td",[e._v("If the two values are not the same. (ignores case)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("~~")])]),t("td",[e._v("Similar to")]),t("td",[e._v('If the two values are "similar". Uses SQL\'s '),t("code",{pre:!0},[e._v("LIKE")]),e._v(" syntax.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!~")])]),t("td",[e._v("Not similar to")]),t("td",[e._v('If the two values are not "similar". Uses SQL\'s '),t("code",{pre:!0},[e._v("LIKE")]),e._v(" syntax.")])])])]),t("p",[e._v('More information about the syntax used by "similar" can be found '),t("a",{attrs:{href:"https://www.w3schools.com/sql/sql_like.asp"}},[e._v("here")]),e._v(" and "),t("a",{attrs:{href:"https://www.tutorialspoint.com/sql/sql-like-clause.htm"}},[e._v("here")]),e._v(".")]),t("p",[e._v("The basic idea is that:")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("%")]),e._v(" - The percent sign represents zero, one, or multiple characters")]),t("li",[t("code",{pre:!0},[e._v("_")]),e._v(" - The underscore represents a single character")])]),t("h5",{attrs:{id:"some-examples",tabindex:"-1"}},[e._v("Some examples "),t("a",{staticClass:"header-anchor",attrs:{href:"#some-examples"}},[e._v("🔗")])]),t("ul",[t("li",[t("code",{pre:!0},[e._v("server ~~ hub_")]),e._v(' will match server values "hub1", "hub2", "hub3" etc')]),t("li",[t("code",{pre:!0},[e._v("permission !~ group.%")]),e._v(" will match any permission which isn't a group")]),t("li",[t("code",{pre:!0},[e._v("world == nether")]),e._v(' will match world values exactly equal to "nether"')])]),t("p",[e._v("When constraints are defined in commands, the entire constraint must be wrapped with "),t("code",{pre:!0},[e._v('" "')]),e._v(" quotes.")]),t("p",[e._v("If you are wanting to remove a specific context from a permission or group that has been assigned with a specific world or server context, you can simply just set the world and/or context to "),t("code",{pre:!0},[e._v("global")]),e._v(" which will essentially remove the context making that permission and/or group global again.")]),t("h3",{attrs:{id:"command-examples",tabindex:"-1"}},[e._v("Command Examples "),t("a",{staticClass:"header-anchor",attrs:{href:"#command-examples"}},[e._v("🔗")])]),t("h4",{attrs:{id:"lp-bulkupdate-all-update-permission-groupmod-permission--groupmoderator",tabindex:"-1"}},[t("code",{pre:!0},[e._v('/lp bulkupdate all update permission group.mod "permission == group.moderator"')]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-all-update-permission-groupmod-permission--groupmoderator"}},[e._v("🔗")])]),t("p",[e._v('Will update all entries, and replace any occurrence of the "group.moderator" permission with "group.mod". (effectively renaming the group)')]),t("h4",{attrs:{id:"lp-bulkupdate-users-delete-server--hub-world--nether",tabindex:"-1"}},[t("code",{pre:!0},[e._v('/lp bulkupdate users delete "server ~~ hub%" "world == nether"')]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-users-delete-server--hub-world--nether"}},[e._v("🔗")])]),t("p",[e._v('Will delete any permission assigned to a user where the server starts with "hub" and the world is equal to "nether".')]),t("h4",{attrs:{id:"lp-bulkupdate-all-delete-permission--essentialsfly",tabindex:"-1"}},[t("code",{pre:!0},[e._v('/lp bulkupdate all delete "permission == essentials.fly"')]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-all-delete-permission--essentialsfly"}},[e._v("🔗")])]),t("p",[e._v('Will delete any permission entry where the permission is equal to "essentials.fly"')]),t("h4",{attrs:{id:"lp-bulkupdate-all-delete-permission--groupvip",tabindex:"-1"}},[t("code",{pre:!0},[e._v('/lp bulkupdate all delete "permission == group.vip"')]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-all-delete-permission--groupvip"}},[e._v("🔗")])]),t("p",[e._v("Will delete all memberships of the VIP group.")]),t("h4",{attrs:{id:"lp-bulkupdate-all-update-server-global-server--factions",tabindex:"-1"}},[t("code",{pre:!0},[e._v('/lp bulkupdate all update server global "server == factions"')]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-all-update-server-global-server--factions"}},[e._v("🔗")])]),t("p",[e._v('Will change any server entries from "factions" to "global"')]),t("h4",{attrs:{id:"lp-bulkupdate-all-update-permission-essentialsban-permission--essentialsmute-server--survival",tabindex:"-1"}},[t("code",{pre:!0},[e._v('/lp bulkupdate all update permission essentials.ban "permission == essentials.mute" "server == survival"')]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-all-update-permission-essentialsban-permission--essentialsmute-server--survival"}},[e._v("🔗")])]),t("p",[e._v('Will change any permission entries for "essentials.mute" to "essentials.ban" set on the "survival" server')]),t("h4",{attrs:{id:"lp-bulkupdate-all-update-server-global-permission--groupmod-server--survival",tabindex:"-1"}},[t("code",{pre:!0},[e._v('/lp bulkupdate all update server global "permission == group.mod" "server == survival"')]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-all-update-server-global-permission--groupmod-server--survival"}},[e._v("🔗")])]),t("p",[e._v("Will change all memberships of the MOD group to use the global context (Essentially removing the context)")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},718:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("Command usage is printed to the console/chat whenever invalid arguments are provided. "),t("strong",[e._v("Simply typing /lp")]),e._v(" will list all commands a user has permission to use.")]),t("p",[e._v("If the only thing returned when you type a command is the plugin version, you do not have permission to use any of the commands. You need to use the server console to "),t("a",{attrs:{href:"Usage#granting-full-access-to-modify-permissions"}},[e._v("give yourself access to LuckPerms commands first")]),e._v(".")]),t("h3",{attrs:{id:"aliases",tabindex:"-1"}},[e._v("Aliases "),t("a",{staticClass:"header-anchor",attrs:{href:"#aliases"}},[e._v("🔗")])]),t("p",[e._v("A list of aliases for each platform are listed below. Each command works in exactly the same manner, so you can use whichever you prefer.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Bukkit / Sponge / Fabric / Forge / Nukkit")]),t("th",[e._v("BungeeCord")]),t("th",[e._v("Velocity")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("/lp")])]),t("td",[t("code",{pre:!0},[e._v("/lpb")])]),t("td",[t("code",{pre:!0},[e._v("/lpv")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("/luckperms")])]),t("td",[t("code",{pre:!0},[e._v("/luckpermsbungee")])]),t("td",[t("code",{pre:!0},[e._v("/luckpermsvelocity")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("/permissions")]),e._v(" ("),t("em",[e._v("deprecated")]),e._v(")")]),t("td"),t("td")]),t("tr",[t("td",[t("code",{pre:!0},[e._v("/perms")]),e._v(" ("),t("em",[e._v("deprecated")]),e._v(")")]),t("td"),t("td")]),t("tr",[t("td",[t("code",{pre:!0},[e._v("/perm")]),e._v(" ("),t("em",[e._v("deprecated")]),e._v(")")]),t("td"),t("td")])])]),t("p",[t("strong",[t("code",{pre:!0},[e._v("Important:")])]),e._v(" The command aliases are different on BungeeCord and Velocity. This is so you can choose where the command is executed. If the aliases were the same, you would never be able to control LuckPerms on a backend server as the command would always be handled by the proxy!")]),t("p",[e._v("If you are using Bukkit/Spigot, by default, all users with OP have access to LuckPerms commands. You can change this in the config.")]),t("h1",{attrs:{id:"overview",tabindex:"-1"}},[e._v("Overview "),t("a",{staticClass:"header-anchor",attrs:{href:"#overview"}},[e._v("🔗")])]),t("h4",{attrs:{id:"arguments-key",tabindex:"-1"}},[e._v("Arguments Key: "),t("a",{staticClass:"header-anchor",attrs:{href:"#arguments-key"}},[e._v("🔗")])]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<required>")]),e._v(" - you "),t("em",[e._v("must")]),e._v(" specify this argument when running the command")]),t("li",[t("code",{pre:!0},[e._v("[optional]")]),e._v(" - you do not need to specify this argument. a default will be used if not given.")])]),t("p",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes. "),t("code",{pre:!0},[e._v('" "')])]),t("p",[e._v("The alias used below ("),t("code",{pre:!0},[e._v("/lp")]),e._v(") can be exchanged for any of the ones listed in the aliases section above.")]),t("h3",{attrs:{id:"general-commands",tabindex:"-1"}},[e._v("General commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#general-commands"}},[e._v("🔗")])]),t("p",[e._v("General commands used to operate LuckPerms functions.")]),t("ul",[t("li",[t("a",{attrs:{href:"General-Commands#lp"}},[e._v("/lp")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-sync"}},[e._v("/lp "),t("code",{pre:!0},[e._v("sync")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-info"}},[e._v("/lp "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-editor-type"}},[e._v("/lp "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-verbose-onrecordoffupload-filter"}},[e._v("/lp "),t("code",{pre:!0},[e._v("verbose")]),e._v(" <on | record | off | upload> [filter]")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-tree-scope-player"}},[e._v("/lp "),t("code",{pre:!0},[e._v("tree")]),e._v(" [scope] [player]")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-search-comparison-permission"}},[e._v("/lp "),t("code",{pre:!0},[e._v("search")]),e._v(" [comparison] <permission>")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-networksync"}},[e._v("/lp "),t("code",{pre:!0},[e._v("networksync")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-import-filecode---upload---replace"}},[e._v("/lp "),t("code",{pre:!0},[e._v("import")]),e._v(" <file | code --upload> [--replace]")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-export-file--upload"}},[e._v("/lp "),t("code",{pre:!0},[e._v("export")]),e._v(" <file> [--upload]")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-reloadconfig"}},[e._v("/lp "),t("code",{pre:!0},[e._v("reloadconfig")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-bulkupdate-data-type-action-action-field-action-value-constraints"}},[e._v("/lp "),t("code",{pre:!0},[e._v("bulkupdate")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-translations"}},[e._v("/lp "),t("code",{pre:!0},[e._v("translations")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-creategroup-name-weight-displayname"}},[e._v("/lp "),t("code",{pre:!0},[e._v("creategroup")]),e._v(" <group> [weight] [displayname]")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-deletegroup-name"}},[e._v("/lp "),t("code",{pre:!0},[e._v("deletegroup")]),e._v(" <group>")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-listgroups"}},[e._v("/lp "),t("code",{pre:!0},[e._v("listgroups")])])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-createtrack-name"}},[e._v("/lp "),t("code",{pre:!0},[e._v("createtrack")]),e._v(" <track>")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-deletetrack-name"}},[e._v("/lp "),t("code",{pre:!0},[e._v("deletetrack")]),e._v(" <track>")])]),t("li",[t("a",{attrs:{href:"General-Commands#lp-listtracks"}},[e._v("/lp "),t("code",{pre:!0},[e._v("listtracks")])])])]),t("h3",{attrs:{id:"user-commands",tabindex:"-1"}},[e._v("User commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#user-commands"}},[e._v("🔗")])]),t("p",[e._v("Commands used to view or modify a specific user.")]),t("p",[e._v("Formed of "),t("code",{pre:!0},[e._v("/lp user <user> ...")]),e._v(" - where "),t("code",{pre:!0},[e._v("<user>")]),e._v(" is the username or uuid of the user being queried / modified.")]),t("ul",[t("li",[t("a",{attrs:{href:"User-Commands#lp-user-user-info"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Permission-Commands"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("permission")])])]),t("li",[t("a",{attrs:{href:"Parent-Commands"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("parent")])])]),t("li",[t("a",{attrs:{href:"Meta-Commands"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("meta")])])]),t("li",[t("a",{attrs:{href:"User-Commands#lp-user-user-editor"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"User-Commands#lp-user-user-promote-track-context"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("promote")]),e._v(" <track> [context...]")])]),t("li",[t("a",{attrs:{href:"User-Commands#lp-user-user-demote-track-context"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("demote")]),e._v(" <track> [context...]")])]),t("li",[t("a",{attrs:{href:"User-Commands#lp-user-user-showtracks"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("showtracks")])])]),t("li",[t("a",{attrs:{href:"User-Commands#lp-user-user-clear-context"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])]),t("li",[t("a",{attrs:{href:"User-Commands#lp-user-user-clone-user"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("clone")]),e._v(" <user>")])])]),t("h3",{attrs:{id:"group-commands",tabindex:"-1"}},[e._v("Group commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#group-commands"}},[e._v("🔗")])]),t("p",[e._v("Commands used to view or modify a specific group.")]),t("p",[e._v("Formed of "),t("code",{pre:!0},[e._v("/lp group <group> ...")]),e._v(" - where "),t("code",{pre:!0},[e._v("<group>")]),e._v(" is the name of the group being queried / modified.")]),t("ul",[t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-info"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Permission-Commands"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("permission")])])]),t("li",[t("a",{attrs:{href:"Parent-Commands"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("parent")])])]),t("li",[t("a",{attrs:{href:"Meta-Commands"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("meta")])])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-editor"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-listmembers-page"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("listmembers")]),e._v(" [page]")])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-setweight-weight"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("setweight")]),e._v(" <weight>")])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-setdisplayname-name"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("setdisplayname")]),e._v(" <name>")])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-showtracks"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("showtracks")])])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-clear-context"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-rename-new-name"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("rename")]),e._v(" <new name>")])]),t("li",[t("a",{attrs:{href:"Group-Commands#lp-group-group-clone-new-name"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("clone")]),e._v(" <name of clone>")])])]),t("h3",{attrs:{id:"permission-commands",tabindex:"-1"}},[e._v("Permission commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#permission-commands"}},[e._v("🔗")])]),t("p",[e._v("Commands used to view or modify the permissions data of a specific user or group.")]),t("p",[e._v("Formed of either "),t("code",{pre:!0},[e._v("/lp user <user> permission ...")]),e._v(" or "),t("code",{pre:!0},[e._v("/lp group <group> permission ...")])]),t("ul",[t("li",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-info"}},[t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-set-node-truefalse-context"}},[t("code",{pre:!0},[e._v("set")]),e._v(" <node> <true/false> [context...]")])]),t("li",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-unset-node-context"}},[t("code",{pre:!0},[e._v("unset")]),e._v(" <node> [context...]")])]),t("li",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-settemp-node-truefalse-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settemp")]),e._v(" <node> <true/false> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-unsettemp-node-duration-context"}},[t("code",{pre:!0},[e._v("unsettemp")]),e._v(" <node> [duration] [context...]")])]),t("li",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-check-node"}},[t("code",{pre:!0},[e._v("check")]),e._v(" <node>")])]),t("li",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-clear-context"}},[t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])])]),t("h3",{attrs:{id:"parent-commands",tabindex:"-1"}},[e._v("Parent commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#parent-commands"}},[e._v("🔗")])]),t("p",[e._v("Commands used to view or modify the inheritance properties (parents) of a specific user or group.")]),t("p",[e._v("Formed of either "),t("code",{pre:!0},[e._v("/lp user <user> parent ...")]),e._v(" or "),t("code",{pre:!0},[e._v("/lp group <group> parent ...")])]),t("ul",[t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-info"}},[t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-set-group-context"}},[t("code",{pre:!0},[e._v("set")]),e._v(" <group> [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-add-group-context"}},[t("code",{pre:!0},[e._v("add")]),e._v(" <group> [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-remove-group-context"}},[t("code",{pre:!0},[e._v("remove")]),e._v(" <group> [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-settrack-track-group-context"}},[t("code",{pre:!0},[e._v("settrack")]),e._v(" <track> <group> [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("addtemp")]),e._v(" <group> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-removetemp-group-duration-context"}},[t("code",{pre:!0},[e._v("removetemp")]),e._v(" <group> [duration] [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-clear-context"}},[t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-cleartrack-track-context"}},[t("code",{pre:!0},[e._v("cleartrack")]),e._v(" <track> [context...]")])]),t("li",[t("a",{attrs:{href:"Parent-Commands#lp-user-user-parent-switchprimarygroup-group"}},[t("code",{pre:!0},[e._v("switchprimarygroup")]),e._v(" <group>")])])]),t("h3",{attrs:{id:"meta-commands",tabindex:"-1"}},[e._v("Meta commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#meta-commands"}},[e._v("🔗")])]),t("p",[e._v("Commands used to view or modify the metadata of a specific user or group.")]),t("p",[e._v("Formed of either "),t("code",{pre:!0},[e._v("/lp user <user> meta ...")]),e._v(" or "),t("code",{pre:!0},[e._v("/lp group <group> meta ...")])]),t("ul",[t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-info"}},[t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-set-key-value-context"}},[t("code",{pre:!0},[e._v("set")]),e._v(" <key> <value> [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-unset-key-value-context"}},[t("code",{pre:!0},[e._v("unset")]),e._v(" <key> [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settemp-key-value-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settemp")]),e._v(" <key> <value> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-unsettemp-key-context"}},[t("code",{pre:!0},[e._v("unsettemp")]),e._v(" <key> [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("addprefix")]),e._v(" <priority> <prefix> [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("addsuffix")]),e._v(" <priority> <suffix> [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-setprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("setprefix")]),e._v(" [priority] <prefix> [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-setsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("setsuffix")]),e._v(" [priority] <suffix> [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removeprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("removeprefix")]),e._v(" <priority> [prefix] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removesuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("removesuffix")]),e._v(" <priority> [suffix] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addtempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("addtempprefix")]),e._v(" <priority> <prefix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addtempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("addtempsuffix")]),e._v(" <priority> <suffix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settempprefix")]),e._v(" [priority] <prefix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settempsuffix")]),e._v(" [priority] <suffix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removetempprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("removetempprefix")]),e._v(" <priority> [prefix] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removetempsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("removetempsuffix")]),e._v(" <priority> [suffix] [context...]")])]),t("li",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-clear-context"}},[t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])])]),t("h3",{attrs:{id:"track-commands",tabindex:"-1"}},[e._v("Track commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#track-commands"}},[e._v("🔗")])]),t("p",[e._v("Commands used to view or modify a specific track.")]),t("p",[e._v("Formed of "),t("code",{pre:!0},[e._v("/lp track <track> ...")]),e._v(" - where "),t("code",{pre:!0},[e._v("<track>")]),e._v(" is the name of the track being queried / modified.")]),t("ul",[t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-info"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-editor"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-append-group"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("append")]),e._v(" <group>")])]),t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-insert-group-position"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("insert")]),e._v(" <group> <position>")])]),t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-remove-group"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("remove")]),e._v(" <group>")])]),t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-clear"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("clear")])])]),t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-rename-new-name"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("rename")]),e._v(" <new name>")])]),t("li",[t("a",{attrs:{href:"Track-Commands#lp-track-track-clone-new-name"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("clone")]),e._v(" <name of clone>")])])]),t("h3",{attrs:{id:"log-commands",tabindex:"-1"}},[e._v("Log commands "),t("a",{staticClass:"header-anchor",attrs:{href:"#log-commands"}},[e._v("🔗")])]),t("p",[e._v("Commands used to view the action log.")]),t("ul",[t("li",[t("a",{attrs:{href:"Log-Commands#lp-log-recent-user-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("recent")]),e._v(" [user] [page]")])]),t("li",[t("a",{attrs:{href:"Log-Commands#lp-log-search-query-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("search")]),e._v(" <query> [page]")])]),t("li",[t("a",{attrs:{href:"Log-Commands#lp-log-notify-onoff"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("notify")]),e._v(" [on|off]")])]),t("li",[t("a",{attrs:{href:"Log-Commands#lp-log-userhistory-user-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("userhistory")]),e._v(" <user> [page]")])]),t("li",[t("a",{attrs:{href:"Log-Commands#lp-log-grouphistory-group-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("grouphistory")]),e._v(" <group> [page]")])]),t("li",[t("a",{attrs:{href:"Log-Commands#lp-log-trackhistory-track-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("trackhistory")]),e._v(" <track> [page]")])])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},747:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("The main configuration file for LuckPerms can be found at these locations.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Platform")]),t("th",[e._v("Location")])])]),t("tbody",[t("tr",[t("td",[e._v("Bukkit/Spigot")]),t("td",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/bukkit/src/main/resources/config.yml"}},[t("code",{pre:!0},[e._v("/plugins/LuckPerms/config.yml")])])])]),t("tr",[t("td",[e._v("BungeeCord")]),t("td",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/bungee/src/main/resources/config.yml"}},[t("code",{pre:!0},[e._v("/plugins/LuckPerms/config.yml")])])])]),t("tr",[t("td",[e._v("Sponge")]),t("td",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/sponge/src/main/resources/luckperms.conf"}},[t("code",{pre:!0},[e._v("/config/luckperms/luckperms.conf")])])])]),t("tr",[t("td",[e._v("Fabric")]),t("td",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/fabric/src/main/resources/luckperms.conf"}},[t("code",{pre:!0},[e._v("/config/luckperms/luckperms.conf")])])])]),t("tr",[t("td",[e._v("Forge")]),t("td",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/forge/src/main/resources/luckperms.conf"}},[t("code",{pre:!0},[e._v("/config/luckperms/luckperms.conf")])])])]),t("tr",[t("td",[e._v("Nukkit")]),t("td",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/nukkit/src/main/resources/config.yml"}},[t("code",{pre:!0},[e._v("/plugins/LuckPerms/config.yml")])])])]),t("tr",[t("td",[e._v("Velocity")]),t("td",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/velocity/src/main/resources/config.yml"}},[t("code",{pre:!0},[e._v("/plugins/luckperms/config.yml")])])])])])]),t("p",[e._v("Links to the default file for each platform are above. Please note that the configuration file does not automatically update when new options are added. The default options are used if nothing is found in the file.")]),t("h1",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("h3",{attrs:{id:"essential-settings",tabindex:"-1"}},[e._v("Essential Settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#essential-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#server"}},[t("code",{pre:!0},[e._v("server")])])]),t("li",[t("a",{attrs:{href:"#use-server-uuid-cache"}},[t("code",{pre:!0},[e._v("use-server-uuid-cache")])])])]),t("h3",{attrs:{id:"storage-settings",tabindex:"-1"}},[e._v("Storage Settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#storage-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#storage-method"}},[t("code",{pre:!0},[e._v("storage-method")])])]),t("li",[t("a",{attrs:{href:"#data"}},[t("code",{pre:!0},[e._v("data")])])]),t("li",[t("a",{attrs:{href:"#pool-settings"}},[t("code",{pre:!0},[e._v("pool-settings")])])]),t("li",[t("a",{attrs:{href:"#split-storage"}},[t("code",{pre:!0},[e._v("split-storage")])])])]),t("h3",{attrs:{id:"update-propagation--messaging-service",tabindex:"-1"}},[e._v("Update Propagation & Messaging Service "),t("a",{staticClass:"header-anchor",attrs:{href:"#update-propagation--messaging-service"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#sync-minutes"}},[t("code",{pre:!0},[e._v("sync-minutes")])])]),t("li",[t("a",{attrs:{href:"#watch-files"}},[t("code",{pre:!0},[e._v("watch-files")])])]),t("li",[t("a",{attrs:{href:"#messaging-service"}},[t("code",{pre:!0},[e._v("messaging-service")])])]),t("li",[t("a",{attrs:{href:"#auto-push-updates"}},[t("code",{pre:!0},[e._v("auto-push-updates")])])]),t("li",[t("a",{attrs:{href:"#push-log-entries"}},[t("code",{pre:!0},[e._v("push-log-entries")])])]),t("li",[t("a",{attrs:{href:"#broadcast-received-log-entries"}},[t("code",{pre:!0},[e._v("broadcast-received-log-entries")])])]),t("li",[t("a",{attrs:{href:"#redis"}},[t("code",{pre:!0},[e._v("redis")])])]),t("li",[t("a",{attrs:{href:"#rabbitmq"}},[t("code",{pre:!0},[e._v("rabbitmq")])])])]),t("h3",{attrs:{id:"customization-settings",tabindex:"-1"}},[e._v("Customization Settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#customization-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#temporary-add-behaviour"}},[t("code",{pre:!0},[e._v("temporary-add-behaviour")])])]),t("li",[t("a",{attrs:{href:"#primary-group-calculation"}},[t("code",{pre:!0},[e._v("primary-group-calculation")])])]),t("li",[t("a",{attrs:{href:"#argument-based-command-permissions"}},[t("code",{pre:!0},[e._v("argument-based-command-permissions")])])]),t("li",[t("a",{attrs:{href:"#log-notify"}},[t("code",{pre:!0},[e._v("log-notify")])])]),t("li",[t("a",{attrs:{href:"#meta-formatting"}},[t("code",{pre:!0},[e._v("meta-formatting")])])])]),t("h3",{attrs:{id:"permission-calculation--inheritance",tabindex:"-1"}},[e._v("Permission Calculation & Inheritance "),t("a",{staticClass:"header-anchor",attrs:{href:"#permission-calculation--inheritance"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#inheritance-traversal-algorithm"}},[t("code",{pre:!0},[e._v("inheritance-traversal-algorithm")])])])]),t("h5",{attrs:{id:"permission-resolution-settings",tabindex:"-1"}},[e._v("Permission resolution settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#permission-resolution-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#include-global"}},[t("code",{pre:!0},[e._v("include-global")])])]),t("li",[t("a",{attrs:{href:"#include-global-world"}},[t("code",{pre:!0},[e._v("include-global-world")])])]),t("li",[t("a",{attrs:{href:"#apply-global-groups"}},[t("code",{pre:!0},[e._v("apply-global-groups")])])]),t("li",[t("a",{attrs:{href:"#apply-global-world-groups"}},[t("code",{pre:!0},[e._v("apply-global-world-groups")])])])]),t("h5",{attrs:{id:"meta-lookup-settings",tabindex:"-1"}},[e._v("Meta lookup settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#meta-lookup-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#meta-value-selection-default"}},[t("code",{pre:!0},[e._v("meta-value-selection-default")])])]),t("li",[t("a",{attrs:{href:"#meta-value-selection"}},[t("code",{pre:!0},[e._v("meta-value-selection")])])])]),t("h5",{attrs:{id:"inheritance-settings",tabindex:"-1"}},[e._v("Inheritance settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#inheritance-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#apply-wildcards"}},[t("code",{pre:!0},[e._v("apply-wildcards")])])]),t("li",[t("a",{attrs:{href:"#apply-regex"}},[t("code",{pre:!0},[e._v("apply-regex")])])]),t("li",[t("a",{attrs:{href:"#apply-shorthand"}},[t("code",{pre:!0},[e._v("apply-shorthand")])])])]),t("h6",{attrs:{id:"bukkit",tabindex:"-1"}},[e._v("Bukkit "),t("a",{staticClass:"header-anchor",attrs:{href:"#bukkit"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#apply-bukkit-child-permissions"}},[t("code",{pre:!0},[e._v("apply-bukkit-child-permissions")])])]),t("li",[t("a",{attrs:{href:"#apply-bukkit-default-permissions"}},[t("code",{pre:!0},[e._v("apply-bukkit-default-permissions")])])]),t("li",[t("a",{attrs:{href:"#apply-bukkit-attachment-permissions"}},[t("code",{pre:!0},[e._v("apply-bukkit-attachment-permissions")])])])]),t("h6",{attrs:{id:"bungee",tabindex:"-1"}},[e._v("Bungee "),t("a",{staticClass:"header-anchor",attrs:{href:"#bungee"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#apply-bungee-config-permissions"}},[t("code",{pre:!0},[e._v("apply-bungee-config-permissions")])])])]),t("h6",{attrs:{id:"sponge",tabindex:"-1"}},[e._v("Sponge "),t("a",{staticClass:"header-anchor",attrs:{href:"#sponge"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#apply-sponge-implicit-wildcards"}},[t("code",{pre:!0},[e._v("apply-sponge-implicit-wildcards")])])]),t("li",[t("a",{attrs:{href:"#apply-sponge-default-subjects"}},[t("code",{pre:!0},[e._v("apply-sponge-default-subjects")])])])]),t("h5",{attrs:{id:"extra-settings",tabindex:"-1"}},[e._v("Extra settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#extra-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#world-rewrite"}},[t("code",{pre:!0},[e._v("world-rewrite")])])]),t("li",[t("a",{attrs:{href:"#group-weight"}},[t("code",{pre:!0},[e._v("group-weight")])])])]),t("h3",{attrs:{id:"fine-tuning-options",tabindex:"-1"}},[e._v("Fine Tuning Options "),t("a",{staticClass:"header-anchor",attrs:{href:"#fine-tuning-options"}},[e._v("🔗")])]),t("h5",{attrs:{id:"server-operator--vault-bukkit-version-only",tabindex:"-1"}},[e._v("Server Operator / Vault (Bukkit version only) "),t("a",{staticClass:"header-anchor",attrs:{href:"#server-operator--vault-bukkit-version-only"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#enable-ops"}},[t("code",{pre:!0},[e._v("enable-ops")])])]),t("li",[t("a",{attrs:{href:"#auto-op"}},[t("code",{pre:!0},[e._v("auto-op")])])]),t("li",[t("a",{attrs:{href:"#commands-allow-op"}},[t("code",{pre:!0},[e._v("commands-allow-op")])])]),t("li",[t("a",{attrs:{href:"#use-vault-server"}},[t("code",{pre:!0},[e._v("use-vault-server")])])]),t("li",[t("a",{attrs:{href:"#vault-server"}},[t("code",{pre:!0},[e._v("vault-server")])])]),t("li",[t("a",{attrs:{href:"#vault-include-global"}},[t("code",{pre:!0},[e._v("vault-include-global")])])]),t("li",[t("a",{attrs:{href:"#vault-ignore-world"}},[t("code",{pre:!0},[e._v("vault-ignore-world")])])]),t("li",[t("a",{attrs:{href:"#vault-debug"}},[t("code",{pre:!0},[e._v("vault-debug")])])])]),t("h3",{attrs:{id:"miscellaneous-settings",tabindex:"-1"}},[e._v("Miscellaneous Settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#miscellaneous-settings"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#debug-logins"}},[t("code",{pre:!0},[e._v("debug-logins")])])]),t("li",[t("a",{attrs:{href:"#allow-invalid-usernames"}},[t("code",{pre:!0},[e._v("allow-invalid-usernames")])])]),t("li",[t("a",{attrs:{href:"#prevent-primary-group-removal"}},[t("code",{pre:!0},[e._v("prevent-primary-group-removal")])])]),t("li",[t("a",{attrs:{href:"#contextsjson"}},[t("code",{pre:!0},[e._v("contexts.json")])])])]),t("h1",{attrs:{id:"config-sources",tabindex:"-1"}},[e._v("Config Sources "),t("a",{staticClass:"header-anchor",attrs:{href:"#config-sources"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms will attempt to resolve configuration settings from various sources (in the following order).")]),t("ol",[t("li",[t("strong",[e._v("System Properties")])]),t("li",[t("strong",[e._v("Environment Variables")])]),t("li",[t("strong",[e._v("Configuration File")]),e._v(" ("),t("code",{pre:!0},[e._v("config.yml")]),e._v(" or "),t("code",{pre:!0},[e._v("luckperms.conf")]),e._v(", depending on the platform)")]),t("li",[e._v("Fallback to default values")])]),t("h3",{attrs:{id:"system-properties",tabindex:"-1"}},[e._v("System Properties "),t("a",{staticClass:"header-anchor",attrs:{href:"#system-properties"}},[e._v("🔗")])]),t("p",[t("a",{attrs:{href:"https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html"}},[e._v("System properties")]),e._v(" are a generic way to configure Java applications. They can either be set using a command line flag, or programmatically using the "),t("a",{attrs:{href:"https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/System.html"}},[t("code",{pre:!0},[e._v("java.lang.System")])]),e._v(" API.")]),t("p",[e._v("e.g. To replicate the following YAML from a LuckPerms config.yml with system properties:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("example")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mysql")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("data:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("address:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("192.168")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v(".0")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v(".100")]),e._v("\n")])]),t("p",[e._v("... start your server with the following arguments:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[t("span",{pre:!0,attrs:{class:"hljs-attribute"}},[e._v("java")]),e._v("\n -Dluckperms.server=example\n -Dluckperms.storage-method=mysql\n -Dluckperms.data.address="),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("192.168.0.100")]),e._v("\n -jar server.jar\n")])]),t("h3",{attrs:{id:"environment-variables",tabindex:"-1"}},[e._v("Environment Variables "),t("a",{staticClass:"header-anchor",attrs:{href:"#environment-variables"}},[e._v("🔗")])]),t("p",[t("a",{attrs:{href:"https://en.wikipedia.org/wiki/Environment_variable"}},[e._v("Environment variables")]),e._v(" are a generic way to configure any application. The way they are defined depends on your setup. An example is given below for unix-like shells, but you can also "),t("a",{attrs:{href:"https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file"}},[e._v("easily set them")]),e._v(" if you're running your server in a Docker container, for example.")]),t("p",[e._v("e.g. To replicate the following YAML from a LuckPerms config.yml with environment variables:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("example")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mysql")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("data:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("address:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("192.168")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v(".0")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v(".100")]),e._v("\n")])]),t("p",[e._v("... start your server like so:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-bash"}},[t("span",{pre:!0,attrs:{class:"hljs-built_in"}},[e._v("export")]),e._v(" LUCKPERMS_SERVER="),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"example"')]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-built_in"}},[e._v("export")]),e._v(" LUCKPERMS_STORAGE_METHOD="),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"mysql"')]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-built_in"}},[e._v("export")]),e._v(" LUCKPERMS_DATA_ADDRESS="),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"192.168.0.100"')]),e._v("\n\njava -jar server.jar\n")])]),t("h1",{attrs:{id:"descriptions",tabindex:"-1"}},[e._v("Descriptions "),t("a",{staticClass:"header-anchor",attrs:{href:"#descriptions"}},[e._v("🔗")])]),t("h3",{attrs:{id:"server",tabindex:"-1"}},[t("code",{pre:!0},[e._v("server")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#server"}},[e._v("🔗")])]),t("p",[e._v("The name of the server, used for server specific permissions.")]),t("p",[e._v('If set to "global" this setting is ignored. More details about how server specific permissions are groups work can be found '),t("a",{attrs:{href:"Advanced-Setup"}},[e._v("here")]),e._v(".")]),t("h5",{attrs:{id:"example",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("global")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"use-server-uuid-cache",tabindex:"-1"}},[t("code",{pre:!0},[e._v("use-server-uuid-cache")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#use-server-uuid-cache"}},[e._v("🔗")])]),t("p",[e._v("If the servers own UUID cache/lookup facility should be used when there is no record for a player in the LuckPerms cache.")]),t("p",[e._v("When this setting is disabled, LP only uses its own cache.")]),t("h5",{attrs:{id:"example-1",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-1"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("use-server-uuid-cache:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"storage-method",tabindex:"-1"}},[t("code",{pre:!0},[e._v("storage-method")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#storage-method"}},[e._v("🔗")])]),t("p",[e._v("Which storage method the plugin should use.")]),t("p",[e._v("See "),t("a",{attrs:{href:"Storage-types"}},[e._v("here")]),e._v(" for a full list of supported types.")]),t("p",[t("strong",[e._v("Accepts:")]),e._v(" "),t("code",{pre:!0},[e._v("mysql")]),e._v(", "),t("code",{pre:!0},[e._v("mariadb")]),e._v(", "),t("code",{pre:!0},[e._v("postgresql")]),e._v(", "),t("code",{pre:!0},[e._v("sqlite")]),e._v(", "),t("code",{pre:!0},[e._v("h2")]),e._v(", "),t("code",{pre:!0},[e._v("json")]),e._v(", "),t("code",{pre:!0},[e._v("yaml")]),e._v(", "),t("code",{pre:!0},[e._v("hocon")]),e._v(", "),t("code",{pre:!0},[e._v("mongodb")])]),t("p",[e._v("If your MySQL server supports it, the "),t("code",{pre:!0},[e._v("mariadb")]),e._v(" option is preferred over "),t("code",{pre:!0},[e._v("mysql")]),e._v(". "),t("code",{pre:!0},[e._v("h2")]),e._v(" is also generally preferred over "),t("code",{pre:!0},[e._v("sqlite")]),e._v(".")]),t("h5",{attrs:{id:"example-2",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-2"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("h2")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"data",tabindex:"-1"}},[t("code",{pre:!0},[e._v("data")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#data"}},[e._v("🔗")])]),t("p",[e._v("This section is used for specifying credentials used for storage methods.")]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("address")])]),e._v(" - the host to be used for the database. Uses the standard DB engine port by default. If you have a non-default port, specify it here using "),t("code",{pre:!0},[e._v("host:port")]),e._v(".")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("database")])]),e._v(" - the database which should be used by LuckPerms")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("username")])]),e._v(" - the username to be used")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("password")])]),e._v(" - the password to be used. Leave empty to use no authentication.")])]),t("h5",{attrs:{id:"example-3",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-3"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("data:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("address:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("localhost")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("database:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("minecraft")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("username:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("root")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("password:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("''")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"pool-settings",tabindex:"-1"}},[t("code",{pre:!0},[e._v("pool-settings")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#pool-settings"}},[e._v("🔗")])]),t("p",[e._v("These settings apply to the MySQL connection pool. The default values will be suitable for the majority of users. Do not change these settings unless you know what you're doing!")]),t("p",[e._v("Sets the maximum size of the MySQL connection pool. Basically this value will determine the maximum number of actual connections to the database backend. More information about determining the size of connection pools can be found here:")]),t("p",[e._v("https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing")]),t("h5",{attrs:{id:"example-4",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-4"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("data:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("pool-settings:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("maximum-pool-size:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("10")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"split-storage",tabindex:"-1"}},[t("code",{pre:!0},[e._v("split-storage")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#split-storage"}},[e._v("🔗")])]),t("p",[e._v("The split storage section allows you to use multiple storage options for different types of data.")]),t("p",[t("strong",[e._v("The different types of data are:")])]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("user")])]),e._v(" - data about users, including their permissions, parents and meta")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("group")])]),e._v(" - data about groups, including their permissions, parents and meta")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("track")])]),e._v(' - data about tracks (or so called "ladders")')]),t("li",[t("strong",[t("code",{pre:!0},[e._v("uuid")])]),e._v(" - a cache of "),t("code",{pre:!0},[e._v("uuid <-- --\x3e username")]),e._v(" used by LuckPerms when usernames are used in the "),t("code",{pre:!0},[e._v("/lp user")]),e._v(" command instead of uuids.")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("log")])]),e._v(" - the action log stored by LuckPerms")])]),t("p",[e._v("The allowed storage types are detailed above.")]),t("h5",{attrs:{id:"example-5",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-5"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("split-storage:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("enabled:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("methods:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("user:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mariadb")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("group:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("yaml")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("track:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("yaml")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("uuid:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mariadb")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("log:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mariadb")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"sync-minutes",tabindex:"-1"}},[t("code",{pre:!0},[e._v("sync-minutes")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#sync-minutes"}},[e._v("🔗")])]),t("p",[e._v("This option controls how frequently LuckPerms will perform a sync task.")]),t("p",[e._v("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.")]),t("p",[e._v("This is disabled by default, as most users will not need it. However, if you're using a remote storage type without a messaging service setup, you may wish to set this value to something like 3.")]),t("p",[e._v("Set to -1 to disable the task completely.")]),t("h5",{attrs:{id:"example-6",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-6"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("data:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("sync-minutes:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("3")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"watch-files",tabindex:"-1"}},[t("code",{pre:!0},[e._v("watch-files")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#watch-files"}},[e._v("🔗")])]),t("p",[e._v("When using a file-based storage type, LuckPerms will monitor the data files for changes, and then schedule automatic updates when changes are detected.")]),t("p",[e._v("If you don't want this to happen, set this option to false.")]),t("h5",{attrs:{id:"example-7",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-7"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("watch-files:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"messaging-service",tabindex:"-1"}},[t("code",{pre:!0},[e._v("messaging-service")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#messaging-service"}},[e._v("🔗")])]),t("p",[e._v("Settings for the messaging service.")]),t("p",[e._v('If enabled and configured, LuckPerms will use the messaging system to inform other connected servers of changes. Use the command "/luckperms networksync" to push changes. Data is NOT stored using this service. It is only used as a messaging platform.')]),t("p",[e._v('If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for LuckPerms to poll the database for changes.')]),t("p",[t("strong",[e._v("Available options:")])]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("sql")])]),e._v(" - uses the SQL database to form a queue system for communication. Will only work when "),t("code",{pre:!0},[e._v("storage-method")]),e._v(" is set to MySQL or MariaDB. This is chosen by default when the option is set to 'none' and SQL storage is in use. Set to "),t("code",{pre:!0},[e._v("notsql")]),e._v(" to disable this.")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("pluginmsg")])]),e._v(" - uses the plugin messaging channels to communicate. LuckPerms must be installed on your BungeeCord/Velocity proxy & all connected backend servers. This won't work if you have multiple proxies. The option needs to be set on all LP instances. Using "),t("code",{pre:!0},[e._v("sql")]),e._v(" is recommended over this option!")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("lilypad")])]),e._v(" - uses LilyPad's pub sub to push changes. You need to have the LilyPad-Connect plugin installed.")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("redis")])]),e._v(" - uses Redis pub sub to push changes.")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("rabbitmq")])]),e._v(" - uses RabbitMQ pub sub (AMQP) to push changes.")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("none")])]),e._v(" - nothing!")])]),t("h5",{attrs:{id:"example-8",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-8"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("messaging-service:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("none")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"auto-push-updates",tabindex:"-1"}},[t("code",{pre:!0},[e._v("auto-push-updates")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#auto-push-updates"}},[e._v("🔗")])]),t("p",[e._v("If LuckPerms should automatically push updates after a change has been made with a command.")]),t("h5",{attrs:{id:"example-9",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-9"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("auto-push-updates:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"push-log-entries",tabindex:"-1"}},[t("code",{pre:!0},[e._v("push-log-entries")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#push-log-entries"}},[e._v("🔗")])]),t("p",[e._v("If LuckPerms should push logging entries to connected servers via the messaging service.")]),t("h5",{attrs:{id:"example-10",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-10"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("push-log-entries:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"broadcast-received-log-entries",tabindex:"-1"}},[t("code",{pre:!0},[e._v("broadcast-received-log-entries")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#broadcast-received-log-entries"}},[e._v("🔗")])]),t("p",[e._v("If LuckPerms should broadcast received logging entries to players on this platform.")]),t("p",[e._v("If you have LuckPerms installed on your backend servers as well as a BungeeCord proxy, you should set this option to false on either your backends or your proxies, to avoid players being messaged twice about log entries.")]),t("h5",{attrs:{id:"example-11",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-11"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("broadcast-received-log-entries:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"redis",tabindex:"-1"}},[t("code",{pre:!0},[e._v("redis")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#redis"}},[e._v("🔗")])]),t("p",[e._v("Settings for Redis.")]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("address")])]),e._v(" - the host to be used for redis (single node). Uses the standard port by default (6379). If you have a non-default port, specify it here using "),t("code",{pre:!0},[e._v("host:port")]),e._v(".")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("addresses")])]),e._v(" - the hosts to be used for redis (cluster).")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("password")])]),e._v(" - the password to be used. Leave empty to use no authentication.")])]),t("h5",{attrs:{id:"example-12",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-12"}},[e._v("🔗")])]),t("p",[e._v("For redis single node:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("redis:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("enabled:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("address:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("localhost")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("password:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'passw0rd'")]),e._v("\n")])]),t("p",[e._v("For redis cluster:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("redis:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("enabled:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("addresses:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("redis-node1")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("redis-node2")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("password:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'passw0rd'")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"rabbitmq",tabindex:"-1"}},[t("code",{pre:!0},[e._v("rabbitmq")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#rabbitmq"}},[e._v("🔗")])]),t("p",[e._v("Settings for RabbitMQ (AMQP).")]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("address")])]),e._v(" - the host to be used for rabbitmq. Uses the standard AMQP port by default (5672). If you have a non-default port, specify it here using "),t("code",{pre:!0},[e._v("host:port")]),e._v(".")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("vhost")])]),e._v(" - the virtual host to use for LuckPerms. In most cases, this can (and should) be left default. See "),t("a",{attrs:{href:"https://www.rabbitmq.com/vhosts.html"}},[e._v("here")]),e._v(" for more information on virtual hosts.")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("username")])]),e._v(" - the username to be used. Default is guest, which is a user that has all privileges on the / virtual host. See "),t("a",{attrs:{href:"https://www.rabbitmq.com/access-control.html"}},[e._v("here")]),e._v(" for more information on access control.")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("password")])]),e._v(" - the password to be used. Default is guest, which is the password for the guest user (see above)")])]),t("h5",{attrs:{id:"example-13",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-13"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("rabbitmq:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("enabled:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("address:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("localhost")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("vhost:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'/'")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("username:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'guest'")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("password:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'guest'")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"temporary-add-behaviour",tabindex:"-1"}},[t("code",{pre:!0},[e._v("temporary-add-behaviour")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#temporary-add-behaviour"}},[e._v("🔗")])]),t("p",[e._v("Controls how temporary permissions/parents/meta should be accumulated. The default behaviour is "),t("code",{pre:!0},[e._v("deny")]),e._v(".")]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("accumulate")])]),e._v(" - the duration of any existing nodes will just be added to the new duration")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("replace")])]),e._v(" - the longest duration will be kept, any others nodes will be forgotten")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("deny")])]),e._v(" - the command will just fail if you try to add a duplicate temporary node")])]),t("h5",{attrs:{id:"example-14",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-14"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("temporary-add-behaviour:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("deny")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"primary-group-calculation",tabindex:"-1"}},[t("code",{pre:!0},[e._v("primary-group-calculation")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#primary-group-calculation"}},[e._v("🔗")])]),t("p",[e._v('How should LuckPerms determine a users "primary" group. The default is '),t("code",{pre:!0},[e._v("parents-by-weight")]),e._v(".")]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("stored")])]),e._v(" - use the value stored against the users record in the file/database")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("parents-by-weight")])]),e._v(" - use the users most highly weighted parent")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("all-parents-by-weight")])]),e._v(" - same as above, but calculates based upon all parents inherited from both directly and indirectly")])]),t("h5",{attrs:{id:"example-15",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-15"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("primary-group-calculation:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("parents-by-weight")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"argument-based-command-permissions",tabindex:"-1"}},[t("code",{pre:!0},[e._v("argument-based-command-permissions")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#argument-based-command-permissions"}},[e._v("🔗")])]),t("p",[e._v("If LuckPerms should run extra permission checks when a player uses commands to modify permission data.")]),t("p",[e._v("This system is documented in detail "),t("a",{attrs:{href:"Argument-based-command-permissions"}},[e._v("here")]),e._v(".")]),t("h5",{attrs:{id:"example-16",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-16"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("argument-based-command-permissions:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"log-notify",tabindex:"-1"}},[t("code",{pre:!0},[e._v("log-notify")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#log-notify"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should send log notifications to users whenever permissions are modified. Notifications are only sent to those with the appropriate permission to receive the notification.")]),t("p",[e._v("Notifications can also be disabled temporarily in-game using "),t("code",{pre:!0},[e._v("/lp log notify off")])]),t("h5",{attrs:{id:"example-17",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-17"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("log-notify:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"meta-formatting",tabindex:"-1"}},[t("code",{pre:!0},[e._v("meta-formatting")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#meta-formatting"}},[e._v("🔗")])]),t("p",[e._v("How LuckPerms should form prefixes and suffixes.")]),t("p",[e._v("This system is documented in detail "),t("a",{attrs:{href:"Prefix-&-Suffix-Stacking"}},[e._v("here")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"inheritance-traversal-algorithm",tabindex:"-1"}},[t("code",{pre:!0},[e._v("inheritance-traversal-algorithm")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#inheritance-traversal-algorithm"}},[e._v("🔗")])]),t("p",[e._v('The algorithm LuckPerms should use when traversing the "inheritance tree".')]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("breadth-first")])]),e._v(" - See: https://en.wikipedia.org/wiki/Breadth-first_search")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("depth-first-pre-order")])]),e._v(" - See: https://en.wikipedia.org/wiki/Depth-first_search")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("depth-first-post-order")])]),e._v(" - See: https://en.wikipedia.org/wiki/Depth-first_search")])]),t("h5",{attrs:{id:"example-18",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-18"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("inheritance-traversal-algorithm:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("depth-first-pre-order")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"include-global",tabindex:"-1"}},[t("code",{pre:!0},[e._v("include-global")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#include-global"}},[e._v("🔗")])]),t("p",[e._v("If players on this server should have their global permissions applied. (permissions that were not set with a specific server).")]),t("p",[e._v('If this option is set to false, only permissions that were specifically set to apply on this server will apply. Do not set to false if the "server" option above is set to global. More details about how server specific permissions are groups work can be found '),t("a",{attrs:{href:"Advanced-Setup"}},[e._v("here")]),e._v(".")]),t("h5",{attrs:{id:"example-19",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-19"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("include-global:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"include-global-world",tabindex:"-1"}},[t("code",{pre:!0},[e._v("include-global-world")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#include-global-world"}},[e._v("🔗")])]),t("p",[e._v("Similar to the option above, except this works with worlds. If set to false, only permissions that are set in specific worlds will be given to users. Any permissions set without a specific world context will not be applied.")]),t("h5",{attrs:{id:"example-20",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-20"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("include-global-world:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-global-groups",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-global-groups")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-global-groups"}},[e._v("🔗")])]),t("p",[e._v('This option operates in the same manner as "include-global", except changes the setting for group inheritance.')]),t("p",[e._v('When calculating a players permissions, the plugin will scale the inheritance tree, resolving group memberships recursively. If this setting is set to false, and as a result, a group is not "applied", then none of that groups parents will be considered, and the inheritance lookup will stop at that point.')]),t("p",[e._v("This means that even if a player indirectly inherits a group on a specific server, the group will not be applied if it is inherited through a non-server specific group.")]),t("p",[e._v("For example, with this setting false, and the following setup:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("User")]),e._v(' "Luck" inherits '),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("from")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("group")]),e._v(' "admin" globally, '),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("and")]),e._v(" admin inherits "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("from")]),e._v(' "default" '),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("on")]),e._v(" a "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("specific")]),e._v(" server.\n")])]),t("p",[e._v("Even though Luck inherits default on the specific server, it will not be applied, because the inheritance lookup stops at admin. The parent groups of admin are therefore never even considered.")]),t("h5",{attrs:{id:"example-21",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-21"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-global-groups:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-global-world-groups",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-global-world-groups")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-global-world-groups"}},[e._v("🔗")])]),t("p",[e._v("Similar to the option above, except this works with worlds. If set to false, only groups that are set in specific worlds will be assigned and resolved for users. Any groups set without a specific world context will not be applied.")]),t("h5",{attrs:{id:"example-22",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-22"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-global-world-groups:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"meta-value-selection-default",tabindex:"-1"}},[t("code",{pre:!0},[e._v("meta-value-selection-default")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#meta-value-selection-default"}},[e._v("🔗")])]),t("p",[e._v("Defines how meta values should be selected. The default value is "),t("code",{pre:!0},[e._v("inheritance")]),e._v(".")]),t("ul",[t("li",[t("strong",[t("code",{pre:!0},[e._v("inheritance")])]),e._v(" - Selects the meta value that was inherited first")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("highest-number")])]),e._v(" - Selects the highest numerical meta value")]),t("li",[t("strong",[t("code",{pre:!0},[e._v("lowest-number")])]),e._v(" - Selects the lowest numerical meta value")])]),t("h5",{attrs:{id:"example-23",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-23"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("meta-value-selection-default:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("inheritance")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"meta-value-selection",tabindex:"-1"}},[t("code",{pre:!0},[e._v("meta-value-selection")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#meta-value-selection"}},[e._v("🔗")])]),t("p",[e._v("Defines how meta values should be selected per key.")]),t("p",[e._v("See the option above for available settings.")]),t("h5",{attrs:{id:"example-24",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-24"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("meta-value-selection:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("max-homes:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("highest-number")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-wildcards",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-wildcards")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-wildcards"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should apply wildcard permissions.")]),t("p",[e._v('If plugin authors do not provide their own wildcard permissions, then enabling this option will allow LuckPerms to parse them instead. Bukkit especially did not endorse this practice, however it has become common among server administrators. On Sponge, this setting control whether "node.part.*" style wildcards will function.')]),t("h5",{attrs:{id:"example-25",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-25"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-wildcards:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-regex",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-regex")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-regex"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should parse regex permissions.")]),t("p",[e._v('If set to true, LuckPerms will detect any regex permissions, marked with "r=" at the start of the node, and return all requests matching the node. If you do not have any regex permissions setup, enabling this option will have no impact on performance. More info on this feature can be found '),t("a",{attrs:{href:"Advanced-Setup#regex"}},[e._v("here")]),e._v(".")]),t("h5",{attrs:{id:"example-26",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-26"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-regex:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-shorthand",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-shorthand")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-shorthand"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should resolve and apply any shorthand (GLOB style) permissions.")]),t("p",[e._v("More info on this feature can be found "),t("a",{attrs:{href:"Advanced-Setup#shorthand-permissions"}},[e._v("here")]),e._v(".")]),t("h5",{attrs:{id:"example-27",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-27"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-shorthand:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-bukkit-child-permissions",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-bukkit-child-permissions")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-bukkit-child-permissions"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should apply Bukkit child permissions.")]),t("p",[e._v("Plugin authors can define custom permissions structures for their plugin, which will be resolved and used by LuckPerms if this setting is enabled.")]),t("p",[e._v("This is enabled by default, as it is a standard Bukkit feature, which most server admins expect to work. However, if you'd prefer not to use this system, it can be safely disabled.")]),t("h5",{attrs:{id:"example-28",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-28"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-bukkit-child-permissions:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-bukkit-default-permissions",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-bukkit-default-permissions")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-bukkit-default-permissions"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should apply Bukkit default permissions.")]),t("p",[e._v("Plugin authors can define permissions which should be given to all users by default, or setup permissions which should/shouldn't be given to opped players. If this option is set to false, LuckPerms will ignore these defaults.")]),t("p",[e._v("This is enabled by default, as it is a standard Bukkit feature, which most server admins expect to work. However, if you'd prefer not to use this system, it can be safely disabled.")]),t("h5",{attrs:{id:"example-29",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-29"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-bukkit-default-permissions:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-bukkit-attachment-permissions",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-bukkit-attachment-permissions")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-bukkit-attachment-permissions"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should apply Bukkit attachment permissions.")]),t("p",[e._v('Other plugins on the server are able to add their own "permission attachments" to players. This allows them to grant players additional permissions which last until the end of the session, or until they\'re removed. If this option is set to false, LuckPerms will not include these attachment permissions when considering if a player should have access to a certain permission.')]),t("p",[e._v("You may also see a slight performance improvement by enabling this feature. Combined with disabling the OP system, this system can be quite effective at disabling malicious attempts by plugins to grant arbitrary permissions to players.")]),t("p",[e._v("This is enabled by default, as it is a standard Bukkit feature, which most server admins expect to work. However, if you'd prefer not to use this system, it can be safely disabled.")]),t("h5",{attrs:{id:"example-30",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-30"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-bukkit-attachment-permissions:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-bungee-config-permissions",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-bungee-config-permissions")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-bungee-config-permissions"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should apply the permissions & groups defined in the BungeeCord config.yml")]),t("p",[e._v("If set to false, LuckPerms will ignore these values.")]),t("p",[e._v("This is disabled by default, as permissions should really be defined within LuckPerms, so they can be viewed and edited in-game alongside everything else.")]),t("h5",{attrs:{id:"example-31",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-31"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("apply-bungee-config-permissions:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"apply-sponge-implicit-wildcards",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-sponge-implicit-wildcards")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-sponge-implicit-wildcards"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should resolve and apply permissions according to Sponge's implicit wildcard inheritance system.")]),t("p",[e._v("That being: If a user has been granted "),t("code",{pre:!0},[e._v("example")]),e._v(", then the player should have also be automatically granted "),t("code",{pre:!0},[e._v("example.function")]),e._v(", "),t("code",{pre:!0},[e._v("example.another")]),e._v(", "),t("code",{pre:!0},[e._v("example.deeper.nesting")]),e._v(", and so on.")]),t("p",[e._v("If this option is set to false, this system will not be applied.")]),t("p",[e._v("This is enabled by default, as it is a standard Sponge feature, which most server admins / plugin authors expect to work. However, if you'd prefer not to use this system, it can be disabled.")]),t("h5",{attrs:{id:"example-32",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-32"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-hocon"}},[e._v("apply-sponge-implicit-wildcards=true\n")])]),t("hr"),t("h3",{attrs:{id:"apply-sponge-default-subjects",tabindex:"-1"}},[t("code",{pre:!0},[e._v("apply-sponge-default-subjects")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#apply-sponge-default-subjects"}},[e._v("🔗")])]),t("p",[e._v("If the plugin should apply Sponge default subject permissions.")]),t("p",[e._v("Plugins can manipulate a set of default permissions granted to all users. If this option is set to false, the plugin will ignore this data when considering if a player has a permission.")]),t("p",[e._v("This is enabled by default, as it is a standard Sponge feature, which most server admins / plugin authors expect to work. However, if you'd prefer not to use this system, it can be disabled.")]),t("h5",{attrs:{id:"example-33",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-33"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-hocon"}},[e._v("apply-sponge-default-subjects=true\n")])]),t("hr"),t("h3",{attrs:{id:"world-rewrite",tabindex:"-1"}},[t("code",{pre:!0},[e._v("world-rewrite")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#world-rewrite"}},[e._v("🔗")])]),t("p",[e._v('Allows you to set "aliases" for the worlds sent forward for context calculation. These aliases are provided in addition to the real world name. Applied recursively.')]),t("h5",{attrs:{id:"example-34",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-34"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("world-rewrite:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("world_nether:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("world")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("world_the_end:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("world")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"enable-ops",tabindex:"-1"}},[t("code",{pre:!0},[e._v("enable-ops")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#enable-ops"}},[e._v("🔗")])]),t("p",[e._v("If the vanilla OP system should be used.")]),t("p",[e._v("If set to false, all users will be de-opped, and the op/deop commands will be disabled.")]),t("h5",{attrs:{id:"example-35",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-35"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("enable-ops:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"auto-op",tabindex:"-1"}},[t("code",{pre:!0},[e._v("auto-op")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#auto-op"}},[e._v("🔗")])]),t("p",[e._v('If set to true, any user with the permission "luckperms.autoop" will automatically be granted server operator status.')]),t("p",[e._v('This permission can be inherited, or set on specific servers/worlds, temporarily, etc. Additionally, setting this to true will force the "enable-ops" option above to false. All users will be de-opped unless they have the permission node, and the op/deop commands will be disabled.')]),t("p",[e._v("It is important to note that this setting is only checked when a player first joins the server, and when they switch worlds. Therefore, simply removing this permission from a user will not automatically de-op them. A player may need to relog to have the change take effect.")]),t("p",[e._v("It is recommended that you use this option instead of assigning a single '*' permission.")]),t("h5",{attrs:{id:"example-36",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-36"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("auto-op:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"commands-allow-op",tabindex:"-1"}},[t("code",{pre:!0},[e._v("commands-allow-op")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#commands-allow-op"}},[e._v("🔗")])]),t("p",[e._v("If opped players should be allowed to use LuckPerms commands.")]),t("p",[e._v("Set to false to only allow users who have the permissions access to the commands")]),t("h5",{attrs:{id:"example-37",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-37"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("commands-allow-op:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"use-vault-server",tabindex:"-1"}},[t("code",{pre:!0},[e._v("use-vault-server")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#use-vault-server"}},[e._v("🔗")])]),t("p",[e._v("If the "),t("code",{pre:!0},[e._v("vault-server")]),e._v(" option below should be used.")]),t("p",[e._v('When this option is set to false, the server value defined above under "server" is used for Vault operations.')]),t("h5",{attrs:{id:"example-38",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-38"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("use-vault-server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"vault-server",tabindex:"-1"}},[t("code",{pre:!0},[e._v("vault-server")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#vault-server"}},[e._v("🔗")])]),t("p",[e._v("The name of the server used within Vault operations.")]),t("p",[e._v('If you don\'t want Vault operations to be server specific, set this to "global".')]),t("p",[e._v("Will only take effect if "),t("code",{pre:!0},[e._v("use-vault-server")]),e._v(" is set to true above.")]),t("h5",{attrs:{id:"example-39",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-39"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("vault-server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("global")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"vault-include-global",tabindex:"-1"}},[t("code",{pre:!0},[e._v("vault-include-global")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#vault-include-global"}},[e._v("🔗")])]),t("p",[e._v("If global permissions should be considered when retrieving meta or player groups.")]),t("h5",{attrs:{id:"example-40",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-40"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("vault-include-global:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"vault-ignore-world",tabindex:"-1"}},[t("code",{pre:!0},[e._v("vault-ignore-world")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#vault-ignore-world"}},[e._v("🔗")])]),t("p",[e._v("If Vault operations should ignore any world arguments if supplied.")]),t("p",[e._v("By default, if a world argument is not supplied, permissions will be set on the players current world. (Vault design is just 10/10). Set this to true to change this behaviour.")]),t("h5",{attrs:{id:"example-41",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-41"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("vault-ignore-world:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"vault-debug",tabindex:"-1"}},[t("code",{pre:!0},[e._v("vault-debug")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#vault-debug"}},[e._v("🔗")])]),t("p",[e._v("If LuckPerms should print debugging info to console when a plugin uses a Vault function")]),t("h5",{attrs:{id:"example-42",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-42"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("vault-debug:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"debug-logins",tabindex:"-1"}},[t("code",{pre:!0},[e._v("debug-logins")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#debug-logins"}},[e._v("🔗")])]),t("p",[e._v("If LuckPerms should produce extra logging output when it handles logins.")]),t("p",[e._v("Useful if you're having issues with UUID forwarding or data not being loaded.")]),t("p",[e._v("The debug messages look like this:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v("[INFO]: [LP] Processing pre"),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("-")]),e._v("login "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("for")]),e._v(" c1d60c50"),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-70")]),e._v("b5"),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-4722")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-8057")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-87767557e50")]),e._v("d "),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("-")]),e._v(" Luck\n[INFO]: UUID "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("of")]),e._v(" player Luck "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("is")]),e._v(" c1d60c50"),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-70")]),e._v("b5"),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-4722")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-8057")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-87767557e50")]),e._v("d\n[INFO]: [LP] Processing login "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("for")]),e._v(" c1d60c50"),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-70")]),e._v("b5"),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-4722")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-8057")]),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-87767557e50")]),e._v("d "),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("-")]),e._v(" Luck\n[INFO]: Luck["),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("/")]),e._v("xxx:xxx] logged "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("in")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("with")]),e._v(" entity id xxx "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("at")]),e._v(" ([xxx]x, x, x)\n")])]),t("h5",{attrs:{id:"example-43",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-43"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("debug-logins:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"allow-invalid-usernames",tabindex:"-1"}},[t("code",{pre:!0},[e._v("allow-invalid-usernames")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#allow-invalid-usernames"}},[e._v("🔗")])]),t("p",[e._v("If set to true, LuckPerms will allow usernames with non alphanumeric characters.")]),t("p",[e._v("Note that due to the design of the storage implementation, usernames must still be 16 characters or less.")]),t("h5",{attrs:{id:"example-44",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-44"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("allow-invalid-usernames:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"prevent-primary-group-removal",tabindex:"-1"}},[t("code",{pre:!0},[e._v("prevent-primary-group-removal")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#prevent-primary-group-removal"}},[e._v("🔗")])]),t("p",[e._v("If set to false, the plugin will allow a user's primary group to be removed with the "),t("code",{pre:!0},[e._v("parent remove")]),e._v(" command, and will set their primary group back to default.")]),t("h5",{attrs:{id:"example-45",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-45"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("prevent-primary-group-removal:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("hr"),t("h2",{attrs:{id:"contextsjson",tabindex:"-1"}},[e._v("contexts.json "),t("a",{staticClass:"header-anchor",attrs:{href:"#contextsjson"}},[e._v("🔗")])]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("contexts.json")]),e._v(" file is found alongside the main LuckPerms configuration file, and allows you to set two things.")]),t("h3",{attrs:{id:"static-contexts",tabindex:"-1"}},[e._v("Static Contexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#static-contexts"}},[e._v("🔗")])]),t("p",[e._v("Static contexts are "),t("a",{attrs:{href:"Command-Usage#what-is-context"}},[e._v("contexts")]),e._v(" which never change, and are granted to all players on the server by default.")]),t("p",[e._v('LuckPerms provides one static context by default, called "server". This value is set using the '),t("code",{pre:!0},[e._v("server")]),e._v(" option in the main configuration file.")]),t("p",[e._v("For example, if in my network, I have 3 factions servers, each with distinct names. The in LP config of each server, I have the server names set to "),t("code",{pre:!0},[e._v("factions1")]),e._v(", "),t("code",{pre:!0},[e._v("factions2")]),e._v(" and "),t("code",{pre:!0},[e._v("factions3")]),e._v(". However, I want to grant a permission on all of the servers.")]),t("p",[e._v("To achieve this, on all of the factions servers, I can add a static context called "),t("code",{pre:!0},[e._v("servertype")]),e._v(" and set it to "),t("code",{pre:!0},[e._v("factions")]),e._v(".")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"static-contexts"')]),e._v(": {\n \t"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"servertype"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"factions"')]),e._v("\n },\n}\n")])]),t("p",[e._v("Then, I can use "),t("code",{pre:!0},[e._v("/lp group default permission set some.permission true servertype=factions")]),e._v(" to set a permission on all of the factions servers.")]),t("h3",{attrs:{id:"default-contexts",tabindex:"-1"}},[e._v("Default Contexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#default-contexts"}},[e._v("🔗")])]),t("p",[e._v("Default contexts are "),t("a",{attrs:{href:"Command-Usage#what-is-context"}},[e._v("contexts")]),e._v(" which are used by default in all commands executed on the server, if nothing is specifically specified.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"default-contexts"')]),e._v(": {\n \t"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"server"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"survival"')]),e._v("\n },\n}\n")])]),t("p",[e._v("With the above set, running "),t("code",{pre:!0},[e._v("/lp user Luck permission set some.permission true")]),e._v(" would set "),t("code",{pre:!0},[e._v("some.permission")]),e._v(" to true for me in the "),t("code",{pre:!0},[e._v("server=survival")]),e._v(" context.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},2445:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("Contexts are a fundamental part of the way LuckPerms works. They are probably the most important concept in the whole plugin, and are incredibly powerful when used correctly.")]),t("hr"),t("p",[t("strong",[e._v("Context")]),e._v(" in the most basic sense simply means the "),t("strong",[e._v("circumstances where something will apply")]),e._v(".")]),t("p",[e._v('A single "context" consists of a '),t("code",{pre:!0},[e._v("key")]),e._v(" and a "),t("code",{pre:!0},[e._v("value")]),e._v(", and are represented in the form "),t("code",{pre:!0},[e._v("key=value")]),e._v(". This will (hopefully) begin to make more sense when coupled with an example.")]),t("h3",{attrs:{id:"example",tabindex:"-1"}},[e._v("Example "),t("a",{staticClass:"header-anchor",attrs:{href:"#example"}},[e._v("🔗")])]),t("p",[e._v("As we said previously, contexts are the circumstances where something will apply. As an example, let's suppose I wanted to set a permission, but "),t("strong",[e._v('I only want the permission to apply in the "world_nether" world')]),e._v(". To achieve this, I'd supply a context when setting the permission to specify where the permission should apply.")]),t("p",[e._v("In this case, the context "),t("strong",[e._v("key")]),e._v(" is "),t("code",{pre:!0},[e._v('"world"')]),e._v(", and the "),t("strong",[e._v("value")]),e._v(" is "),t("code",{pre:!0},[e._v('"world_nether"')]),e._v(". This would be represented in LuckPerms as "),t("code",{pre:!0},[e._v("world=world_nether")]),e._v(".")]),t("p",[e._v("In order to achieve this behaviour, I'd use something like: "),t("code",{pre:!0},[e._v("/lp user Luck permission set test.permission world=world_nether")]),e._v(" - specifying the context at the end of the command.")]),t("h3",{attrs:{id:"setting-contexts",tabindex:"-1"}},[e._v("Setting Contexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#setting-contexts"}},[e._v("🔗")])]),t("p",[e._v("There are two ways to set contexts on permissions; the command you use to set the permission, or the web editor.")]),t("ul",[t("li",[t("p",[e._v("With the command, you simply do as the above example demonstrates. At the end of the command, you add "),t("code",{pre:!0},[e._v("<key>=<value>")]),e._v(" which can be "),t("code",{pre:!0},[e._v("world=nether")]),e._v(", "),t("code",{pre:!0},[e._v("server=lobby")]),e._v(", or any other context you can use and its value. A full command would look like "),t("code",{pre:!0},[e._v("lp user Luck permission set minecraft.command.gamemode true server=lobby world=nether")]),e._v(".")])]),t("li",[t("p",[e._v("With the editor, you click on "),t("code",{pre:!0},[e._v("Add Context")]),e._v(", and simply fill in key and value. Just like the command, "),t("code",{pre:!0},[e._v("key")]),e._v(" will be the type of context, and "),t("code",{pre:!0},[e._v("value")]),e._v(" will be its value. An example:")])])]),t("p",[t("img",{attrs:{src:r(45),alt:""}})]),t("hr"),t("p",[e._v('Contexts can be combined with each other to form so called "context sets" - simply a collection of context pairs.')]),t("p",[e._v("Context sets exist in two places:")]),t("ul",[t("li",[t("p",[e._v("LuckPerms internally will calculate what it deems to be a "),t("strong",[e._v("players")]),e._v(' "current context set" - in other words, the contexts which the player currently satisfies. If the player is in the '),t("code",{pre:!0},[e._v("world_nether")]),e._v(" world, then their current context set will contain the "),t("code",{pre:!0},[e._v("world=world_nether")]),e._v(" context."),t("br"),e._v(" Players that are currently offline won't have any context set. You can see this by using the "),t("code",{pre:!0},[e._v("/lp user <user> info")]),e._v(' command and check the "Has contextual data" option on the bottom of the output.')])]),t("li",[t("p",[t("strong",[e._v("Each permission, parent/group, prefix/suffix/meta setting")]),e._v(" also has it's own context set - indicating the contexts a player must have for the respective permission/parent/meta value to apply.")])])]),t("p",[e._v("Crucially, for a permission/parent/meta value to apply, the player must satisfy "),t("strong",[e._v("one of each type")]),e._v(" of the contexts required by the value. If you set three world contexts (world, world_nether, and world_the_end) and one server context (survival), then the permission will apply in any of the three worlds on that one server. If you set only three server contexts, the permission will apply in any of the three servers. This makes it very useful if you want permissions to apply in a number of places, and yet not apply in a number of other places, as it means you do not have to create several duplicate nodes and set one context on each of them.")]),t("hr"),t("h3",{attrs:{id:"contexts-provided-by-luckperms",tabindex:"-1"}},[e._v("Contexts provided by LuckPerms "),t("a",{staticClass:"header-anchor",attrs:{href:"#contexts-provided-by-luckperms"}},[e._v("🔗")])]),t("p",[e._v("The context system is designed to be extensible - the system should not (and is not!) confined to only a few types of contexts.")]),t("p",[e._v("With that said, LuckPerms provides by default, five contexts of its own. Other plugins are also able to provide their own contexts by registering a "),t("code",{pre:!0},[e._v("ContextCalculator")]),e._v(" in the API.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Context Key")]),t("th",[e._v("Description")]),t("th",[e._v("Example")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("server")])]),t("td",[e._v("The player's current server. This value is determined by the "),t("strong",[e._v("server")]),e._v(" setting at the very top of the LuckPerms config file.")]),t("td",[t("code",{pre:!0},[e._v("server=survival")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("world")])]),t("td",[e._v("The player's current world - this value is just retrieved from the server. When LuckPerms runs on a BungeeCord/Velocity proxy, the world context value refers to the subserver the player is currently connected to.")]),t("td",[t("code",{pre:!0},[e._v("world=world_nether")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("gamemode")])]),t("td",[e._v("The player's current gamemode.")]),t("td",[t("code",{pre:!0},[e._v("gamemode=creative")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("dimension-type")])]),t("td",[e._v("The dimension of the world the player is currently in.")]),t("td",[t("code",{pre:!0},[e._v("dimension-type=the_nether")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("proxy")])]),t("td",[e._v("This context is only applied when LuckPerms is running on a BungeeCord proxy with RedisBungee installed. It refers to the proxy the player is currently connected to.")]),t("td",[t("code",{pre:!0},[e._v("proxy=redisbungee1")])])])])]),t("hr"),t("h3",{attrs:{id:"defining-your-own-contexts",tabindex:"-1"}},[e._v("Defining your own contexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#defining-your-own-contexts"}},[e._v("🔗")])]),t("p",[e._v("In addition to the contexts provided by LuckPerms, it is also possible to add extra contexts of your own.")]),t("p",[e._v("Contexts can either be provided "),t("strong",[e._v("statically")]),e._v(" or "),t("strong",[e._v("dynamically")]),e._v(".")]),t("ul",[t("li",[t("strong",[e._v("Static contexts")]),e._v(' are contexts which are given equally to all players - all players satisfy the context with the same value. (for example, the "server" context - all players get the same key & value) Static contexts can either be defined in a special config file or via the API.')]),t("li",[t("strong",[e._v("Dynamic contexts")]),e._v(" are given depending on a certain factor, and have to be registered by a plugin using the API.")])]),t("h4",{attrs:{id:"defining-static-contexts",tabindex:"-1"}},[e._v("Defining static contexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#defining-static-contexts"}},[e._v("🔗")])]),t("p",[e._v("Static contexts can be defined in the "),t("code",{pre:!0},[e._v("contexts.json")]),e._v(" file within the "),t("code",{pre:!0},[e._v("/LuckPerms/")]),e._v(" plugin directory. (in the same folder as the main config)")]),t("p",[e._v("The file contains two properties, but we're only interested in the one called "),t("code",{pre:!0},[e._v("static-contexts")]),e._v(".")]),t("p",[e._v("For example, if we wanted to add our own context called "),t("code",{pre:!0},[e._v('"server-type"')]),e._v(", to indicate the server type in addition to the server name (which would've already been provided by LuckPerms), simply add:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"static-contexts"')]),e._v(": {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"server-type"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"skyblock"')]),e._v("\n },\n}\n")])]),t("p",[e._v("Once added, we can use the "),t("code",{pre:!0},[e._v("server-type")]),e._v(" context when defining permissions/parents/meta to limit those values to specific server types. e.g. "),t("code",{pre:!0},[e._v("/lp user Luck parent add donor server-type=skyblock")]),e._v(".")]),t("p",[e._v("You can add as many contexts as you like to this file.")]),t("h3",{attrs:{id:"default-contexts",tabindex:"-1"}},[e._v("Default Contexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#default-contexts"}},[e._v("🔗")])]),t("p",[e._v("Default contexts allow you to specify contexts that are applied to commands if you don't add contexts to the end of the command - for example "),t("code",{pre:!0},[e._v("/lp user Luck permission set example.permission")]),e._v(". You can define them in the "),t("code",{pre:!0},[e._v("contexts.yml")]),e._v(" file, in the same folder as the main config.")]),t("p",[e._v("For example, to add a default context to the file, simply add, below the static-contexts section:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"default-contexts"')]),e._v(": {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"world"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world_nether"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"server"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"survival"')]),e._v("\n }\n}\n")])]),t("p",[e._v("This would mean that, for "),t("code",{pre:!0},[e._v("/lp")]),e._v(" commands on the server which you've added the default context, any commands that can be performed with a context will use "),t("code",{pre:!0},[e._v("world=world_nether,server=survival")]),e._v(" unless you specify otherwise.")]),t("h3",{attrs:{id:"extracontexts",tabindex:"-1"}},[e._v("ExtraContexts "),t("a",{staticClass:"header-anchor",attrs:{href:"#extracontexts"}},[e._v("🔗")])]),t("p",[e._v("ExtraContexts is another plugin which adds functionality for more contexts that stock LuckPerms does not, such as WorldGuard contexts, PlaceholderAPI contexts, and more!")]),t("p",[e._v("See "),t("a",{attrs:{href:"https://github.com/LuckPerms/ExtraContexts"}},[e._v("here")]),e._v(" for more information.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},9156:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("Hello!")]),t("p",[e._v("The purpose of this guide is to help developers get setup and working on the LuckPerms codebase.")]),t("p",[e._v("As well as the information below, we also have a dedicated Discord channel for talking about LuckPerms development and pull requests. Feel free to "),t("a",{attrs:{href:"https://discord.gg/luckperms"}},[e._v("join and select the #contributors channel")]),e._v(". Please ask if you get stuck, we are more than happy to help.")]),t("h2",{attrs:{id:"getting-started",tabindex:"-1"}},[e._v("Getting Started "),t("a",{staticClass:"header-anchor",attrs:{href:"#getting-started"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms uses "),t("strong",[e._v("Gradle")]),e._v(" to handle dependency management and building.")]),t("p",[e._v("Check out the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/README.md"}},[e._v("README.md")]),e._v(" file for more information about how you can clone the code to your machine.")]),t("p",[e._v("We suggest using the IntelliJ IDEA Java IDE when developing LuckPerms. It has great support for Gradle and excellent auto-completion functionality. You should just be able to get IntelliJ to clone LuckPerms from the Git repository and then sit back and relax while it sets up the rest (hopefully!).")]),t("h2",{attrs:{id:"project-layout",tabindex:"-1"}},[e._v("Project Layout "),t("a",{staticClass:"header-anchor",attrs:{href:"#project-layout"}},[e._v("🔗")])]),t("p",[e._v("The project is split up into a few separate modules.")]),t("ul",[t("li",[t("strong",[e._v("API")]),e._v(" ("),t("code",{pre:!0},[e._v("/api")]),e._v(") - The public API used by other plugins wishing to integrate with and retrieve data from LuckPerms. This module (for the most part) does not contain any implementation itself, and is provided by the plugin.")]),t("li",[t("strong",[e._v("Common")]),e._v(" ("),t("code",{pre:!0},[e._v("/common")]),e._v(") - The common module contains abstract code which is shared by all LuckPerms implementations (plugins). The idea is to reduce the amount of duplicated logic across all the different supported platforms. The common module depends on API.")]),t("li",[t("strong",[e._v("Plugin")]),e._v(" (e.g. "),t("code",{pre:!0},[e._v("/bukkit")]),e._v(') - Each use the common module to implement a "LuckPerms plugin" for a specific server platform. Plugins depend on the common module.')]),t("li",[t("strong",[e._v("Plugin Loaders")]),e._v(" (e.g. "),t("code",{pre:!0},[e._v("/bukkit/loader")]),e._v(") - An extra module that sits just before the actual plugin and acts as a loader bootstrap. The purpose of this is to implement jar-in-jar and dependency loading on platforms without native support for injecting dependency jars at runtime.")])]),t("h2",{attrs:{id:"abstraction",tabindex:"-1"}},[e._v("Abstraction "),t("a",{staticClass:"header-anchor",attrs:{href:"#abstraction"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has quite a lot of abstraction in place to reduce duplicated code and create a divide between separate logical components. This can be tricky to navigate if you're new to the codebase, but is really important for keeping things maintainable.")]),t("p",[e._v("Below is a diagram which visualises this abstraction.")]),t("p",[t("img",{attrs:{src:r(2379),alt:""}})]),t("p",[e._v("I've used Bukkit as an example, but all other platforms have similar classes.")]),t("h3",{attrs:{id:"low-level-loader",tabindex:"-1"}},[e._v("Low-level Loader "),t("a",{staticClass:"header-anchor",attrs:{href:"#low-level-loader"}},[e._v("🔗")])]),t("p",[t("code",{pre:!0},[e._v("class BukkitLoaderPlugin extends JavaPlugin")])]),t("p",[e._v("The bootstrap loader plugin is responsible for loading LuckPerms on the platform and getting things started. It is fairly slim, and for the most part you don't need to worry about it.")]),t("p",[e._v("However, it's worth noting because it's the actual entrypoint into the plugin (it's the class that "),t("code",{pre:!0},[e._v("extends JavaPlugin")]),e._v(" in Bukkit land).")]),t("p",[e._v('Not every platform has a loader, it is only needed for platforms which don\'t allow plugins to control their own class loader. In this case, LuckPerms uses a "jar-in-jar" system in which a minimal loader plugin sets up a child classloader and bootstraps the main plugin within it.')]),t("p",[e._v("For example, see the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/bukkit/loader/src/main/java/me/lucko/luckperms/bukkit/loader/BukkitLoaderPlugin.java"}},[t("code",{pre:!0},[e._v("BukkitLoaderPlugin")])]),e._v(" class.")]),t("p",[e._v("All this class does is setup a special classloader, then delegate the onEnable/onDisable/etc method calls to the bootstrap. Let's cover that next.")]),t("h3",{attrs:{id:"low-level-bootstrap",tabindex:"-1"}},[e._v("Low-level Bootstrap "),t("a",{staticClass:"header-anchor",attrs:{href:"#low-level-bootstrap"}},[e._v("🔗")])]),t("p",[t("code",{pre:!0},[e._v("class LPBukkitBootstrap implements LuckPermsBootstrap")])]),t("p",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/bootstrap/LuckPermsBootstrap.java"}},[t("code",{pre:!0},[e._v("LuckPermsBootstrap")])]),e._v(" is a low-level interface for integration with the server platform. It handles things like logging, scheduling, and provides information about low-level objects within the platform (online players and that sort of thing).")]),t("p",[e._v("For example, see the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitBootstrap.java"}},[t("code",{pre:!0},[e._v("LPBukkitBootstrap")])]),e._v(" class.")]),t("p",[e._v("This class doesn't contain any logic, it just provides things for the LuckPerms plugin.")]),t("h3",{attrs:{id:"high-level-plugin",tabindex:"-1"}},[e._v("High-level Plugin "),t("a",{staticClass:"header-anchor",attrs:{href:"#high-level-plugin"}},[e._v("🔗")])]),t("p",[t("code",{pre:!0},[e._v("class LPBukkitPlugin extends AbstractLuckPermsPlugin implements LuckPermsPlugin")])]),t("p",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/LuckPermsPlugin.java"}},[t("code",{pre:!0},[e._v("LuckPermsPlugin")])]),e._v(" is the main interface in LuckPerms. An abstract implementation is provided by "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/AbstractLuckPermsPlugin.java"}},[t("code",{pre:!0},[e._v("AbstractLuckPermsPlugin")])]),e._v(", which is extended on each platform for platform-specific integrations.")]),t("p",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/LuckPermsPlugin.java"}},[t("code",{pre:!0},[e._v("LuckPermsPlugin")])]),e._v(' is just an interface. It mostly has lots of getter methods which define what the "LuckPerms plugin" is made up of. This interface is often passed around (injected as a constructor dependency) other classes in the project to allow different components to access each other. You can also get the '),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/bootstrap/LuckPermsBootstrap.java"}},[t("code",{pre:!0},[e._v("LuckPermsBootstrap")])]),e._v(" from it if you need to access any of the lower-level components like the logger or scheduler.")]),t("p",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/AbstractLuckPermsPlugin.java"}},[t("code",{pre:!0},[e._v("AbstractLuckPermsPlugin")])]),e._v(" is the primary plugin class. It defines lots of the shared logic for LuckPerms plugins. For example, any of the LuckPerms plugins enable, they all need to perform similar steps like setting up storage and registering listeners and commands. It makes sense to abstract as much of this as possible to reduce duplication.")]),t("p",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/AbstractLuckPermsPlugin.java"}},[t("code",{pre:!0},[e._v("AbstractLuckPermsPlugin")])]),e._v(" provides the high-level logic for enabling/disabling the plugin, but also has a number of protected abstract methods allowing plugin implementations to provide their own custom logic or classes for use by the plugin.")]),t("p",[e._v("This abstract plugin class is then overridden once per platform, for example see the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java"}},[t("code",{pre:!0},[e._v("LPBukkitPlugin")])]),e._v(" class. The subclass defines custom behaviour and provides custom objects used by the plugin on a specific platform (e.g. "),t("code",{pre:!0},[e._v("BukkitContextManager")]),e._v(" is provided as an implementation of "),t("code",{pre:!0},[e._v("ContextManager")]),e._v(" by "),t("code",{pre:!0},[e._v("LPBukkitPlugin")]),e._v(").")]),t("h2",{attrs:{id:"the-rest-of-the-codebase",tabindex:"-1"}},[e._v("The rest of the codebase "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-rest-of-the-codebase"}},[e._v("🔗")])]),t("p",[e._v("As noted previously, "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/plugin/LuckPermsPlugin.java"}},[t("code",{pre:!0},[e._v("LuckPermsPlugin")])]),e._v(' is the "root" of the plugin, which then expands out into other packages and classes.')]),t("p",[e._v("For example:")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("UserManager")]),e._v(" handles the in-memory storage of LuckPerms users")]),t("li",[t("code",{pre:!0},[e._v("GroupManager")]),e._v(" handles the in-memory storage of LuckPerms groups")]),t("li",[t("code",{pre:!0},[e._v("TrackManager")]),e._v(" handles the in-memory storage of LuckPerms tracks")]),t("li",[t("code",{pre:!0},[e._v("LuckPermsConfiguration")]),e._v(" handles the plugin config file")]),t("li",[t("code",{pre:!0},[e._v("Storage")]),e._v(" is the root interface for all actions which interact with the plugin storage providers")]),t("li",[t("code",{pre:!0},[e._v("CommandManager")]),e._v(" handles all LuckPerms commands and their invocations")]),t("li",[t("code",{pre:!0},[e._v("DependencyManager")]),e._v(" handles runtime dependency loading and resolution")]),t("li",[t("code",{pre:!0},[e._v("ContextManager")]),e._v(" handles context lookup and caching for players")]),t("li",[e._v(".. and much more, but hopefully the names/JavaDocs are sufficient to explain the purpose of each.")])]),t("h2",{attrs:{id:"codestyle",tabindex:"-1"}},[e._v("Codestyle "),t("a",{staticClass:"header-anchor",attrs:{href:"#codestyle"}},[e._v("🔗")])]),t("p",[e._v("A consistent and "),t("em",[e._v("reasonably")]),e._v(" enforced codestyle is really important for the readability of project source code and ensuring that it remains maintainable.")]),t("p",[e._v("It could be argued that the odd slip-up doesn't matter, and that style nit-picks are just project maintainers being obsessive - that might even be true to an extent - but on the other hand, these things add up over time, and it is better in the long run to keep on top of things.")]),t("p",[e._v("In general:")]),t("ol",[t("li",[t("strong",[e._v("Copy the style existing code where possible")]),e._v(". This will "),t("em",[e._v("always")]),e._v(' work, regardless of the project, and is easier than trying to follow a "style guide" anyway.')]),t("li",[t("strong",[e._v("Minimise whitespace changes")]),e._v(", and "),t("strong",[e._v("review your diff")]),e._v(" before submitting a pull request for review. Most IDEs also have indicators for changed/added/removed lines, and buttons to rollback changed lines if they're not needed.")])]),t("p",[e._v("We're happy to help clean up commits at the end, but it saves lots of time if you do it as you go!")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},4788:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms is an open-source project, released freely under the terms of the permissive "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/LICENSE.txt"}},[e._v("MIT License")]),e._v(".")]),t("blockquote",[t("p",[e._v("MIT License")]),t("p",[e._v("Copyright (c) lucko (Luck) <luck@lucko.me>"),t("br"),e._v(" Copyright (c) Turbotailz <turbo@tailz.dev>"),t("br"),e._v(" Copyright (c) contributors")]),t("p",[e._v('Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:')]),t("p",[e._v("The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.")]),t("p",[e._v('THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.')])]),t("p",[e._v("LuckPerms is written and maintained by "),t("a",{attrs:{href:"https://github.com/lucko"}},[e._v("lucko (Luck)")]),e._v(" and "),t("a",{attrs:{href:"https://github.com/Turbotailz"}},[e._v("Turbotailz")]),e._v(".")]),t("h2",{attrs:{id:"contributors",tabindex:"-1"}},[e._v("Contributors "),t("a",{staticClass:"header-anchor",attrs:{href:"#contributors"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms wouldn't be the way it is today without the help of many contributors & supporters.")]),t("p",[e._v("A huge amount of thanks is owed to:")]),t("ul",[t("li",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/graphs/contributors"}},[e._v("contributors to LuckPerms")])]),t("li",[t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPermsWeb/graphs/contributors"}},[e._v("contributors to LuckPermsWeb")])]),t("li",[t("a",{attrs:{href:"https://github.com/LuckPerms/wiki/graphs/contributors"}},[e._v("contributors to the wiki")])]),t("li",[t("a",{attrs:{href:"https://crowdin.com/project/luckperms"}},[e._v("contributors to the translation/i18n effort")])]),t("li",[t("a",{attrs:{href:"https://github.com/LuckPerms"}},[e._v("contributors to any of our other projects")])])]),t("h2",{attrs:{id:"discord-moderators--helpers",tabindex:"-1"}},[e._v("Discord moderators & helpers "),t("a",{staticClass:"header-anchor",attrs:{href:"#discord-moderators--helpers"}},[e._v("🔗")])]),t("p",[e._v("Additionally, I'd like to thank the project's Discord moderators and helpers, past and present, who work incredibly hard to keep things in order & support the community in using the plugin.")]),t("h3",{attrs:{id:"moderators",tabindex:"-1"}},[e._v("Moderators "),t("a",{staticClass:"header-anchor",attrs:{href:"#moderators"}},[e._v("🔗")])]),t("ul",[t("li",[t("strong",[e._v("_11")])]),t("li",[t("strong",[e._v("aberdeener")])]),t("li",[t("strong",[e._v("DarkLaw")])]),t("li",[t("strong",[e._v("emilyy")])]),t("li",[t("strong",[e._v("Evident")])]),t("li",[t("strong",[e._v("Frying☆Pan")])]),t("li",[t("strong",[e._v("Jay")])]),t("li",[t("strong",[e._v("Larry")])]),t("li",[t("strong",[e._v("OmegaWeaponDev")])]),t("li",[t("strong",[e._v("RyanJH")])]),t("li",[t("strong",[e._v("Tobi")])]),t("li",[e._v("Andre_601 (retired)")]),t("li",[e._v("BrainStone (retired)")]),t("li",[e._v("Darktilldawn (retired)")]),t("li",[e._v("SpannerMan (retired)")])]),t("h3",{attrs:{id:"helpers",tabindex:"-1"}},[e._v("Helpers "),t("a",{staticClass:"header-anchor",attrs:{href:"#helpers"}},[e._v("🔗")])]),t("ul",[t("li",[t("strong",[e._v("ANutley")])]),t("li",[t("strong",[e._v("ben")])]),t("li",[t("strong",[e._v("Doctor Zod")])]),t("li",[t("strong",[e._v("JG")])]),t("li",[t("strong",[e._v("Lord_Samosa")])]),t("li",[t("strong",[e._v("powercas_gamer")])]),t("li",[t("strong",[e._v("Rainbow Dash")])]),t("li",[t("strong",[e._v("Unix")])]),t("li",[t("strong",[e._v("usb_hub")])]),t("li",[e._v("Zeromaniac (retired)")])]),t("h2",{attrs:{id:"patreons--donors",tabindex:"-1"}},[e._v("Patreons / donors "),t("a",{staticClass:"header-anchor",attrs:{href:"#patreons--donors"}},[e._v("🔗")])]),t("p",[e._v("A big thank you to my Patreons and donators, whose contributions allow me to continue to work on & offer the project to the community for free!")]),t("ul",[t("li",[e._v("andrewkm")]),t("li",[e._v("apflu")]),t("li",[e._v("Arclite")]),t("li",[e._v("AtariKafa")]),t("li",[e._v("Audio")]),t("li",[e._v("austin4195")]),t("li",[e._v("austind9999")]),t("li",[e._v("bloodshot")]),t("li",[e._v("BomBardyGamer")]),t("li",[e._v("Combustible")]),t("li",[e._v("Cosido")]),t("li",[e._v("Cryptic")]),t("li",[e._v("dig")]),t("li",[e._v("Dj")]),t("li",[e._v("Dracathio")]),t("li",[e._v("DrOreo002")]),t("li",[e._v("EatSleepCodeRepeat")]),t("li",[e._v("EBatuzay")]),t("li",[e._v("Ferris")]),t("li",[e._v("Forrest Hopkins")]),t("li",[e._v("HyperVx2")]),t("li",[e._v("I9hdkill")]),t("li",[e._v("Inysal")]),t("li",[e._v("James Darling")]),t("li",[e._v("jasperYAY")]),t("li",[e._v("Jay113355")]),t("li",[e._v("KaiNoMood")]),t("li",[e._v("Khan Jal")]),t("li",[e._v("kristianbinau")]),t("li",[e._v("KuNet")]),t("li",[e._v("Marco")]),t("li",[e._v("mattw")]),t("li",[e._v("metalshark")]),t("li",[e._v("Mikirae")]),t("li",[e._v("mikroskeem")]),t("li",[e._v("mr_coffee1026")]),t("li",[e._v("MrMicky")]),t("li",[e._v("Nathan A.")]),t("li",[e._v("Nogapra")]),t("li",[e._v("ofunny")]),t("li",[e._v("ozraru")]),t("li",[e._v("Paul Sauve")]),t("li",[e._v("queeirdo")]),t("li",[e._v("royalkingkb")]),t("li",[e._v("Ruinscraft")]),t("li",[e._v("Shmeeb")]),t("li",[e._v("SkippTekk")]),t("li",[e._v("StilauGamer")]),t("li",[e._v("TheBusyBiscuit")]),t("li",[e._v("Tummy")]),t("li",[e._v("waqe")]),t("li",[e._v("x313")]),t("li",[e._v("zFrost87")])]),t("p",[e._v("(the above list is those who have pledged $5 or more & have made their pledges publicly visible in their Patreon profile)")]),t("h2",{attrs:{id:"open-source",tabindex:"-1"}},[e._v("Open Source "),t("a",{staticClass:"header-anchor",attrs:{href:"#open-source"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms utilises a number of open source libraries and utilities to provide it's functionality - listed below.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Name")]),t("th",[e._v("Author")]),t("th",[e._v("License")])])]),t("tbody",[t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/google/guava"}},[e._v("Guava")])]),t("td",[t("a",{attrs:{href:"https://github.com/google"}},[e._v("Google")])]),t("td",[t("a",{attrs:{href:"https://github.com/google/guava/blob/master/COPYING"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/google/gson"}},[e._v("Gson")])]),t("td",[t("a",{attrs:{href:"https://github.com/google"}},[e._v("Google")])]),t("td",[t("a",{attrs:{href:"https://github.com/google/gson/blob/master/LICENSE"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"http://asm.ow2.org/"}},[e._v("ASM")])]),t("td",[t("a",{attrs:{href:"https://www.ow2.org/"}},[e._v("OW2")])]),t("td",[t("a",{attrs:{href:"http://asm.ow2.io/license.html"}},[e._v("BSD 3-Clause License")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/lucko/jar-relocator"}},[e._v("jar-relocator")])]),t("td",[t("a",{attrs:{href:"https://github.com/lucko"}},[e._v("Luck")])]),t("td",[t("a",{attrs:{href:"https://github.com/lucko/jar-relocator/blob/master/LICENSE.txt"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/kyoripowered/adventure"}},[e._v("adventure")])]),t("td",[t("a",{attrs:{href:"https://github.com/KyoriPowered"}},[e._v("KyoriPowered")])]),t("td",[t("a",{attrs:{href:"https://github.com/KyoriPowered/adventure/blob/master/license.txt"}},[e._v("MIT License")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/KyoriPowered/event"}},[e._v("event")])]),t("td",[t("a",{attrs:{href:"https://github.com/KyoriPowered"}},[e._v("KyoriPowered")])]),t("td",[t("a",{attrs:{href:"https://github.com/KyoriPowered/event/blob/master/license.txt"}},[e._v("MIT License")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/ben-manes/caffeine"}},[e._v("Caffeine")])]),t("td",[t("a",{attrs:{href:"https://github.com/ben-manes"}},[e._v("Ben Manes")])]),t("td",[t("a",{attrs:{href:"https://github.com/ben-manes/caffeine/blob/master/LICENSE"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/square/okio"}},[e._v("Okio")])]),t("td",[t("a",{attrs:{href:"https://square.github.io/"}},[e._v("square")])]),t("td",[t("a",{attrs:{href:"https://github.com/square/okio/blob/master/LICENSE.txt"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://square.github.io/okhttp/"}},[e._v("OkHttp")])]),t("td",[t("a",{attrs:{href:"https://square.github.io/"}},[e._v("square")])]),t("td",[t("a",{attrs:{href:"https://github.com/square/okhttp/blob/master/LICENSE.txt"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/lucko/commodore"}},[e._v("commodore")])]),t("td",[t("a",{attrs:{href:"https://github.com/lucko"}},[e._v("Luck")])]),t("td",[t("a",{attrs:{href:"https://github.com/lucko/commodore/blob/master/LICENSE.txt"}},[e._v("MIT License")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://bytebuddy.net/"}},[e._v("bytebuddy")])]),t("td",[t("a",{attrs:{href:"https://rafael.codes/"}},[e._v("Rafael Winterhalter")])]),t("td",[t("a",{attrs:{href:"https://github.com/raphw/byte-buddy/blob/master/LICENSE"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/MariaDB/mariadb-connector-j"}},[e._v("MariaDB Java Driver")])]),t("td",[t("a",{attrs:{href:"https://mariadb.org/"}},[e._v("MariaDB")])]),t("td",[t("a",{attrs:{href:"https://github.com/MariaDB/mariadb-connector-j/blob/master/LICENSE"}},[e._v("GNU Lesser General Public License v2.1")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://dev.mysql.com/downloads/connector/j/"}},[e._v("MySQL Java Driver")])]),t("td",[t("a",{attrs:{href:"https://www.mysql.com/"}},[e._v("Oracle Corporation")])]),t("td",[t("a",{attrs:{href:"https://github.com/mysql/mysql-connector-j/blob/release/5.1/COPYING"}},[e._v("GNU General Public License v2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://jdbc.postgresql.org/"}},[e._v("PostgreSQL Java Driver")])]),t("td",[t("a",{attrs:{href:"https://www.postgresql.org/"}},[e._v("PostgreSQL")])]),t("td",[t("a",{attrs:{href:"https://github.com/pgjdbc/pgjdbc/blob/master/LICENSE"}},[e._v("BSD 2-clause License")])])]),t("tr",[t("td",[t("a",{attrs:{href:"http://www.h2database.com/"}},[e._v("H2 Database")])]),t("td",[t("a",{attrs:{href:"https://github.com/h2database"}},[e._v("h2database")])]),t("td",[t("a",{attrs:{href:"http://www.h2database.com/html/license.html"}},[e._v("Mozilla Public License Version 2.0 or EPL 1.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/xerial/sqlite-jdbc"}},[e._v("SQLite Database")])]),t("td",[t("a",{attrs:{href:"https://github.com/xerial"}},[e._v("xerial")])]),t("td",[t("a",{attrs:{href:"https://github.com/xerial/sqlite-jdbc/blob/master/LICENSE"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/brettwooldridge/HikariCP"}},[e._v("HikariCP")])]),t("td",[t("a",{attrs:{href:"https://github.com/brettwooldridge"}},[e._v("Brett Wooldridge")])]),t("td",[t("a",{attrs:{href:"https://github.com/brettwooldridge/HikariCP/blob/dev/LICENSE"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/qos-ch/slf4j"}},[e._v("SLF4J")])]),t("td",[t("a",{attrs:{href:"https://www.slf4j.org/"}},[e._v("SLF4J")])]),t("td",[t("a",{attrs:{href:"https://github.com/qos-ch/slf4j/blob/master/LICENSE.txt"}},[e._v("MIT License")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://mongodb.github.io/mongo-java-driver/"}},[e._v("MongoDB Java Driver")])]),t("td",[t("a",{attrs:{href:"https://www.mongodb.com/"}},[e._v("MongoDB")])]),t("td",[t("a",{attrs:{href:"https://github.com/mongodb/mongo-java-driver/blob/master/LICENSE.txt"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/redis/jedis"}},[e._v("Jedis")])]),t("td",[t("a",{attrs:{href:"https://github.com/redis"}},[e._v("Redis")])]),t("td",[t("a",{attrs:{href:"https://github.com/redis/jedis/blob/master/LICENSE.txt"}},[e._v("MIT License")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/rabbitmq/rabbitmq-java-client/"}},[e._v("RabbitMQ Java Client")])]),t("td",[t("a",{attrs:{href:"https://github.com/rabbitmq"}},[e._v("RabbitMQ")])]),t("td",[t("a",{attrs:{href:"https://github.com/rabbitmq/rabbitmq-java-client/blob/master/LICENSE"}},[e._v("Mozilla Public License 2.0 or GNU General Public License v2.0 or Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://commons.apache.org/proper/commons-pool/"}},[e._v("Apache Commons Pool")])]),t("td",[t("a",{attrs:{href:"https://www.apache.org/"}},[e._v("Apache")])]),t("td",[t("a",{attrs:{href:"https://github.com/apache/commons-pool/blob/master/LICENSE.txt"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/SpongePowered/configurate"}},[e._v("configurate")])]),t("td",[t("a",{attrs:{href:"https://github.com/SpongePowered"}},[e._v("SpongePowered")])]),t("td",[t("a",{attrs:{href:"https://github.com/SpongePowered/configurate/blob/master/LICENSE"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://bitbucket.org/asomov/snakeyaml"}},[e._v("SnakeYAML")])]),t("td",[t("a",{attrs:{href:"https://bitbucket.org/asomov"}},[e._v("Andrey Somov")])]),t("td",[t("a",{attrs:{href:"https://bitbucket.org/asomov/snakeyaml/src/default/LICENSE.txt"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/lightbend/config"}},[e._v("HOCON")])]),t("td",[t("a",{attrs:{href:"https://github.com/lightbend"}},[e._v("lightbend")])]),t("td",[t("a",{attrs:{href:"https://github.com/lightbend/config/blob/master/LICENSE-2.0.txt"}},[e._v("Apache License 2.0")])])]),t("tr",[t("td",[t("a",{attrs:{href:"https://github.com/mwanji/toml4j"}},[e._v("toml4j")])]),t("td",[t("a",{attrs:{href:"https://github.com/mwanji"}},[e._v("Moandji Ezana")])]),t("td",[t("a",{attrs:{href:"https://github.com/mwanji/toml4j/blob/master/LICENSE"}},[e._v("MIT License")])])])])]),t("h2",{attrs:{id:"sponsors",tabindex:"-1"}},[e._v("Sponsors "),t("a",{staticClass:"header-anchor",attrs:{href:"#sponsors"}},[e._v("🔗")])]),t("h3",{attrs:{id:"yourkit",tabindex:"-1"}},[e._v("YourKit "),t("a",{staticClass:"header-anchor",attrs:{href:"#yourkit"}},[e._v("🔗")])]),t("p",[t("a",{attrs:{href:"https://www.yourkit.com/"}},[t("img",{attrs:{src:r(5651),alt:""}})])]),t("p",[e._v("YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of "),t("a",{attrs:{href:"https://www.yourkit.com/java/profiler/"}},[e._v("YourKit Java Profiler")]),e._v(" and "),t("a",{attrs:{href:"https://www.yourkit.com/.net/profiler/"}},[e._v("YourKit .NET Profiler")]),e._v(", innovative and intelligent tools for profiling Java and .NET applications.")]),t("h3",{attrs:{id:"jprofiler",tabindex:"-1"}},[e._v("JProfiler "),t("a",{staticClass:"header-anchor",attrs:{href:"#jprofiler"}},[e._v("🔗")])]),t("p",[t("a",{attrs:{href:"https://www.ej-technologies.com/products/jprofiler/overview.html"}},[t("img",{attrs:{src:r(3337),alt:""}})])]),t("p",[e._v("Thanks to ej-technologies for granting LuckPerms an open source licence to their "),t("a",{attrs:{href:"https://www.ej-technologies.com/products/jprofiler/overview.html",title:"Java Profiler"}},[e._v("Java Profiling Software")]),e._v(".")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},8017:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("The way we handle defaults and default groups in LuckPerms is probably the most disliked feature in the whole plugin. Recently we've been adding some additional / alternative features to the plugin to allow a greater degree of control compared with what's seen in any of the other permission plugins out there, and hopefully making our approach people's favourite part of the plugin, not their least favourite.")]),t("h1",{attrs:{id:"where-to-start",tabindex:"-1"}},[e._v("Where to start "),t("a",{staticClass:"header-anchor",attrs:{href:"#where-to-start"}},[e._v("🔗")])]),t("p",[e._v("So, here's our thinking.")]),t("p",[e._v("Users on your server are likely to be split into two types.")]),t("ol",[t("li",[e._v("The standard player.")]),t("li",[e._v("Players who have been added to a different group, or given their own special permissions.")])]),t("p",[e._v("You don't want to waste precious disk space storing data about Player Type #1. You only want to store data about your staff members, and people with special ranks. Regular \"members\" are just that, regular. There's no need to store any permissions data about them.")]),t("p",[e._v('The next issue we face is how to decide if a user is "regular" or not. Imagine the following situation.')]),t("ol",[t("li",[e._v('The default group is set to "default". When players join, they\'re given "default", and then get saved.')]),t("li",[e._v('A little while down the line, you decide you want to change the default group to "member".')]),t("li",[e._v('You then have all of your old players in the "default" group, and everyone else in "member". Not good.')])]),t("p",[e._v('Even if we don\'t save "regular" users, this issue can still happen.')]),t("ol",[t("li",[e._v('The default group is set to "default".')]),t("li",[e._v('You want to give "Notch" a special "essentials.fly" permission. Notch\'s permissions are saved, indicating he\'s a member of the "default" group, and has the special fly permission.')]),t("li",[e._v('You then edit the default group. All of your "regular" members get the new default group, but Notch still has default!')])]),t("p",[e._v("For this reason, we made it so that the default group is "),t("strong",[e._v("not")]),e._v(" configurable. It makes things much easier for everyone, honestly! However, we understand this can sometimes be annoying to work with.")]),t("p",[e._v("Here are your options.")]),t("h3",{attrs:{id:"keep-using-the-default-group-but-change-the-display-name",tabindex:"-1"}},[e._v('Keep using the default group, but change the "display name" '),t("a",{staticClass:"header-anchor",attrs:{href:"#keep-using-the-default-group-but-change-the-display-name"}},[e._v("🔗")])]),t("p",[e._v("We strongly recommend for the reasons above that you keep using the default group.")]),t("p",[e._v("Then, simply use "),t("code",{pre:!0},[e._v("/lp group default setdisplayname <name>")]),e._v(" to set a display name!")]),t("h3",{attrs:{id:"configure-inheritance",tabindex:"-1"}},[e._v("Configure inheritance "),t("a",{staticClass:"header-anchor",attrs:{href:"#configure-inheritance"}},[e._v("🔗")])]),t("p",[e._v('This option would mean that all users are still in the "default" group. However, a parent group is configured for default, so it can inherit permissions from a group with a different name.')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("/")]),e._v("lp creategroup "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("member")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("/")]),e._v("lp "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("group")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("default")]),e._v(" parent "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("add")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("member")]),e._v("\n")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},4403:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This page shows some sample usages of the LuckPerms API, which is introduced "),t("a",{attrs:{href:"Developer-API"}},[e._v("here")]),e._v(".")]),t("p",[e._v("As well as this documentation, we also have the "),t("a",{attrs:{href:"https://github.com/LuckPerms/api-cookbook"}},[e._v("api-cookbook")]),e._v(". This is an example Bukkit plugin which uses the API to perform certain common functions.")]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#checking-if-a-player-is-in-a-group"}},[e._v("Player group membership check")])]),t("li",[t("a",{attrs:{href:"#finding-a-players-group"}},[e._v("Player group membership lookup")])]),t("li",[t("a",{attrs:{href:"#obtaining-a-user-instance"}},[e._v("Getting a LuckPerms "),t("code",{pre:!0},[e._v("User")]),e._v(" object")]),t("ul",[t("li",[t("a",{attrs:{href:"#distinction-between-online--offline-players"}},[e._v("Distinction between online & offline players")])]),t("li",[t("a",{attrs:{href:"#loading-data-for-players"}},[e._v("Loading data for players")])])])]),t("li",[t("a",{attrs:{href:"#obtaining-a-grouptrack-instance"}},[e._v("Getting a LuckPerms "),t("code",{pre:!0},[e._v("Group")]),e._v(" or "),t("code",{pre:!0},[e._v("Track")]),e._v(" object")])]),t("li",[t("a",{attrs:{href:"#saving-changes"}},[e._v("Saving changes")])]),t("li",[t("a",{attrs:{href:"#the-basics-of-node"}},[e._v("The "),t("code",{pre:!0},[e._v("Node")]),e._v(" object")]),t("ul",[t("li",[t("a",{attrs:{href:"#creating-new-node-instances"}},[e._v("Creating new nodes")])]),t("li",[t("a",{attrs:{href:"Developer-API-Usage#modifying-existing-nodes"}},[e._v("Modifying existing nodes")])])])]),t("li",[t("a",{attrs:{href:"#reading-usergroup-data"}},[e._v("Reading user/group data")])]),t("li",[t("a",{attrs:{href:"#modifying-usergroup-data"}},[e._v("Modifying user/group data")])]),t("li",[t("a",{attrs:{href:"#the-basics-of-context"}},[e._v("Context")]),t("ul",[t("li",[t("a",{attrs:{href:"#important-classes"}},[e._v("Important classes")])]),t("li",[t("a",{attrs:{href:"#registering-contextcalculators"}},[e._v("Registering ContextCalculators")])]),t("li",[t("a",{attrs:{href:"#querying-active-contextsquery-options"}},[e._v("Querying active contexts/query options")])])])]),t("li",[t("a",{attrs:{href:"#the-basics-of-cacheddata"}},[e._v("CachedData")]),t("ul",[t("li",[t("a",{attrs:{href:"#performing-permission-checks"}},[e._v("Performing permission checks")])]),t("li",[t("a",{attrs:{href:"#retrieving-prefixessuffixes"}},[e._v("Getting prefixes and suffixes")])]),t("li",[t("a",{attrs:{href:"#retrieving-metadata"}},[e._v("Getting metadata")])])])]),t("li",[t("a",{attrs:{href:"#store-and-query-custom-metadata"}},[e._v("Store and query custom metadata")])]),t("li",[t("a",{attrs:{href:"#events"}},[e._v("Events")]),t("ul",[t("li",[t("a",{attrs:{href:"#event-listeners"}},[e._v("Event listeners")])]),t("li",[t("a",{attrs:{href:"#listening-for-changes-to-user-cached-data"}},[e._v("Listening for changes to user cached data")])]),t("li",[t("a",{attrs:{href:"#listening-for-changes-to-permissionsparent-groupsetc"}},[e._v("Listening for changes to permissions/parent groups/etc")])])])])]),t("hr"),t("h3",{attrs:{id:"checking-if-a-player-is-in-a-group",tabindex:"-1"}},[e._v("Checking if a player is in a group "),t("a",{staticClass:"header-anchor",attrs:{href:"#checking-if-a-player-is-in-a-group"}},[e._v("🔗")])]),t("p",[e._v("Checking for group membership can be most easily achieved using hasPermission checks.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("static")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("boolean")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("isPlayerInGroup")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(Player player, String group)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" player.hasPermission("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"group."')]),e._v(" + group);\n}\n")])]),t("p",[e._v("However, keep in mind that anyone with server operator status or "),t("code",{pre:!0},[e._v("*")]),e._v(" permissions will also have these permissions.")]),t("hr"),t("h3",{attrs:{id:"finding-a-players-group",tabindex:"-1"}},[e._v("Finding a players group "),t("a",{staticClass:"header-anchor",attrs:{href:"#finding-a-players-group"}},[e._v("🔗")])]),t("p",[e._v('We can use the method above with a list of "possible" groups in order to find a player\'s group.')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("static")]),e._v(" String "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("getPlayerGroup")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(Player player, Collection<String> possibleGroups)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("for")]),e._v(" (String group : possibleGroups) {\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("if")]),e._v(" (player.hasPermission("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"group."')]),e._v(" + group)) {\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" group;\n }\n }\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("null")]),e._v(";\n}\n")])]),t("p",[e._v("Remember to order your "),t("code",{pre:!0},[e._v("possibleGroups")]),e._v(" list by priority. e.g. owner first, member last.")]),t("hr"),t("h3",{attrs:{id:"obtaining-a-user-instance",tabindex:"-1"}},[e._v("Obtaining a User instance "),t("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-a-user-instance"}},[e._v("🔗")])]),t("p",[e._v("A "),t("code",{pre:!0},[e._v("User")]),e._v(" in LuckPerms is simply an object which represents a player on the server, and their associated permission data.")]),t("h4",{attrs:{id:"distinction-between-online--offline-players",tabindex:"-1"}},[e._v("Distinction between online & offline players "),t("a",{staticClass:"header-anchor",attrs:{href:"#distinction-between-online--offline-players"}},[e._v("🔗")])]),t("p",[e._v("In order to conserve memory usage, LuckPerms will only load User data when it absolutely needs to.")]),t("p",[e._v("Meaning:")]),t("ul",[t("li",[t("strong",[e._v("Online")]),e._v(" players are guaranteed to have an associated User object loaded already.")]),t("li",[t("strong",[e._v("Offline")]),e._v(" players "),t("em",[e._v("may")]),e._v(" have an associated User object loaded, but they most likely will not.")])]),t("p",[e._v("This makes getting a User instance a little complicated, depending on if the Player is online or not.")]),t("h4",{attrs:{id:"loading-data-for-players",tabindex:"-1"}},[e._v("Loading data for players "),t("a",{staticClass:"header-anchor",attrs:{href:"#loading-data-for-players"}},[e._v("🔗")])]),t("h5",{attrs:{id:"if-the-player-is-already-online",tabindex:"-1"}},[e._v("If the player is already online "),t("a",{staticClass:"header-anchor",attrs:{href:"#if-the-player-is-already-online"}},[e._v("🔗")])]),t("p",[e._v("If we know the player is connected, LuckPerms will already have data in memory for them.")]),t("p",[e._v("It's as simple as...")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Player player = ...;\nUser user = luckPerms.getPlayerAdapter(Player.class).getUser(player);\n")])]),t("p",[e._v("Or if you only have a "),t("code",{pre:!0},[e._v("UUID")]),e._v("...")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("User user = luckPerms.getUserManager().getUser(uuid);\n")])]),t("p",[e._v("However, remember that this instance "),t("em",[e._v("may")]),e._v(" not represent the user's most up-to-date state. If you want to make changes, it's a good idea to request for the user's data to be loaded again (read on...).")]),t("h5",{attrs:{id:"if-the-player-isnt-or-might-not-be-online",tabindex:"-1"}},[e._v("If the player isn't (or might not be) online "),t("a",{staticClass:"header-anchor",attrs:{href:"#if-the-player-isnt-or-might-not-be-online"}},[e._v("🔗")])]),t("p",[e._v("Let's assume we want to load some data about a user - but we only have their unique id.")]),t("p",[e._v("The first thing we need to do is obtain the "),t("code",{pre:!0},[e._v("UserManager")]),e._v(". This object is responsible for handling all operations relating to "),t("code",{pre:!0},[e._v("User")]),e._v("s. The user manager provides a method which lets us load a "),t("code",{pre:!0},[e._v("User")]),e._v(" instance, appropriately named "),t("code",{pre:!0},[e._v("loadUser")]),e._v(".")]),t("p",[e._v("The method returns a "),t("code",{pre:!0},[e._v("CompletableFuture")]),e._v(" (explained "),t("a",{attrs:{href:"Developer-API#using-completablefutures"}},[e._v("here")]),e._v(").")]),t("p",[e._v("We can simply attach a callback onto the future to apply the action.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("UserManager userManager = luckPerms.getUserManager();\nCompletableFuture<User> userFuture = userManager.loadUser(uniqueId);\n\nuserFuture.thenAcceptAsync(user -> {\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Now we have a user which we can query.")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// ...")]),e._v("\n});\n")])]),t("h5",{attrs:{id:"if-the-player-isnt-or-might-not-be-online--we-want-to-return-something",tabindex:"-1"}},[e._v("If the player isn't (or might not be) online & we want to return something "),t("a",{staticClass:"header-anchor",attrs:{href:"#if-the-player-isnt-or-might-not-be-online--we-want-to-return-something"}},[e._v("🔗")])]),t("p",[e._v('The callback approach works well if you don\'t need to actually "return" anything. It performs all of the nasty i/o away from the main server thread, and handles everything in the background.')]),t("p",[e._v("But what if we need data "),t("em",[e._v("now")]),e._v("? Well, that's where it gets fun. Unfortunately, there's no straightforward answer - but you effectively have two options.")]),t("ul",[t("li",[e._v("Define a blocking method, which will be (kind of) simple, but will lag the server if it's not called async")]),t("li",[e._v("Embrace CompletableFutures and callbacks")])]),t("p",[e._v("The first option effectively comes down to this...")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" User "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("giveMeADamnUser")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(UUID uniqueId)")]),e._v(" ")]),e._v("{\n UserManager userManager = luckPerms.getUserManager();\n CompletableFuture<User> userFuture = userManager.loadUser(uniqueId);\n\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" userFuture.join(); "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// ouch! (block until the User is loaded)")]),e._v("\n}\n")])]),t("p",[e._v("You can then do whatever you want with the user instance - but remember, this should only ever be called from an async task!")]),t("p",[e._v("The other option is to embrace callbacks.")]),t("p",[e._v("In an ideal world, we'd be able to do something like this, without any consequences.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("boolean")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("isAdmin")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(UUID who)")]),e._v(" ")]),e._v("{\n User user = luckPerms.getUserManager().loadUser(who);\n\n Collection<Group> inheritedGroups = user.getInheritedGroups(user.getQueryOptions());\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" inheritedGroups.stream().anyMatch(g -> g.getName().equals("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"admin"')]),e._v("));\n}\n\n"),t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("informIfAdmin")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(CommandSender sender, UUID who)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("if")]),e._v(" (isAdmin(who)) {\n sender.sendMessage("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"Yes! That player is an admin!"')]),e._v(");\n } "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("else")]),e._v(" {\n sender.sendMessage("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"No, that player isn\'t an admin."')]),e._v(");\n }\n}\n")])]),t("p",[e._v("However, we can't, because "),t("code",{pre:!0},[e._v("#loadUser")]),e._v(" returns a CompletableFuture - as it performs lots of expensive database queries to produce a result.")]),t("p",[e._v("The solution? More futures!")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" CompletableFuture<Boolean> "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("isAdmin")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(UUID who)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" luckPerms.getUserManager().loadUser(who)\n .thenApplyAsync(user -> {\n Collection<Group> inheritedGroups = user.getInheritedGroups(user.getQueryOptions());\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" inheritedGroups.stream().anyMatch(g -> g.getName().equals("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"admin"')]),e._v("));\n });\n}\n\n"),t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("informIfAdmin")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(CommandSender sender, UUID who)")]),e._v(" ")]),e._v("{\n isAdmin(who).thenAcceptAsync(result -> {\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("if")]),e._v(" (result) {\n sender.sendMessage("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"Yes! That player is an admin!"')]),e._v(");\n } "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("else")]),e._v(" {\n sender.sendMessage("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"No, that player isn\'t an admin."')]),e._v(");\n }\n });\n}\n")])]),t("p",[e._v("To summarise, there are two ways to obtain a user.")]),t("ul",[t("li",[e._v("Using "),t("code",{pre:!0},[e._v("UserManager#getUser")]),e._v(" or "),t("code",{pre:!0},[e._v("PlayerAdapter#getUser")]),t("ul",[t("li",[e._v("Always returns a result for online players")]),t("li",[e._v('Is "main thread friendly" (can be called sync)')]),t("li",[e._v("Will sometimes (but usually not) return a result of offline players")])])]),t("li",[e._v("Using "),t("code",{pre:!0},[e._v("UserManager#loadUser")]),t("ul",[t("li",[e._v("Returns a future")]),t("li",[e._v("Can either be used alongside callbacks, or as part of a blocking method which is only ever called async")]),t("li",[e._v("Always works for both offline/online users")])])])]),t("hr"),t("h3",{attrs:{id:"obtaining-a-grouptrack-instance",tabindex:"-1"}},[e._v("Obtaining a Group/Track instance "),t("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-a-grouptrack-instance"}},[e._v("🔗")])]),t("p",[e._v("Grabbing a "),t("code",{pre:!0},[e._v("Group")]),e._v(" or "),t("code",{pre:!0},[e._v("Track")]),e._v(" is much more simple, as they are always kept loaded in memory.")]),t("p",[e._v("Simply...")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Group group = luckPerms.getGroupManager().getGroup(groupName);\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("if")]),e._v(" (group == "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("null")]),e._v(") {\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// group doesn't exist.")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(";\n}\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// now we have a group, and can apply whatever action we want.")]),e._v("\ngroup.doSomething(...);\n")])]),t("p",[e._v("You can do exactly the same for "),t("code",{pre:!0},[e._v("Track")]),e._v("s using the "),t("code",{pre:!0},[e._v("TrackManager#getTrack")]),e._v(" method.")]),t("p",[e._v("If you need to get up-to-date data (a good idea if you're making changes), then just call "),t("code",{pre:!0},[e._v("loadGroup")]),e._v(" or "),t("code",{pre:!0},[e._v("loadTrack")]),e._v(" instead, respectively.")]),t("hr"),t("h3",{attrs:{id:"saving-changes",tabindex:"-1"}},[e._v("Saving changes "),t("a",{staticClass:"header-anchor",attrs:{href:"#saving-changes"}},[e._v("🔗")])]),t("p",[e._v("After making changes to a user/group/track, you have to save the changes back to the storage provider. It's pretty easy.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("addPermission")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(User user, String permission)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Add the permission")]),e._v("\n user.data().add(Node.builder(permission).build());\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Now we need to save changes.")]),e._v("\n luckPerms.getUserManager().saveUser(user);\n}\n")])]),t("p",[e._v("There is also a handy "),t("code",{pre:!0},[e._v("modify*")]),e._v(" method which handles loading and saving for you.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("addPermission")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(UUID userUuid, String permission)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Load, modify, then save")]),e._v("\n luckPerms.getUserManager().modifyUser(userUuid, user -> {\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Add the permission")]),e._v("\n user.data().add(Node.builder(permission).build());\n });\n}\n")])]),t("p",[e._v("The same methods also exist for groups and tracks.")]),t("hr"),t("h3",{attrs:{id:"the-basics-of-node",tabindex:"-1"}},[e._v("The basics of Node "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-basics-of-node"}},[e._v("🔗")])]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("Node")]),e._v(" interface is the core data class in LuckPerms.")]),t("p",[e._v('Most simply, it represents a "permission node". However, it actually encapsulates far more than just permission assignments. Nodes are used to store data about inherited groups, as well as assigned prefixes, suffixes and meta values.')]),t("p",[e._v('Combining these various states into one object (a "node") means that a holder only has to have one type of data set (a set of nodes) in order to take on various properties.')]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("Node")]),e._v(" interface provides a number of methods to read the attributes of the node, as well as methods to query and extract additional state and properties from these settings.")]),t("p",[e._v("Nodes have the following attributes:")]),t("ul",[t("li",[e._v("key - the key of the node")]),t("li",[e._v("value - the value of the node (false for negated)")]),t("li",[e._v("context - the contexts required for this node to apply")]),t("li",[e._v("expiry - the time when this node should expire")])]),t("p",[e._v("There are a number of node types, all of which are extensions of the base "),t("code",{pre:!0},[e._v("Node")]),e._v(" class.")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("PermissionNode")]),e._v(" - represents an assigned permission")]),t("li",[t("code",{pre:!0},[e._v("RegexPermissionNode")]),e._v(" - represents an assigned regex permission")]),t("li",[t("code",{pre:!0},[e._v("InheritanceNode")]),e._v(" - marks that the holder should inherit data from another group")]),t("li",[t("code",{pre:!0},[e._v("PrefixNode")]),e._v(" - represents an assigned prefix")]),t("li",[t("code",{pre:!0},[e._v("SuffixNode")]),e._v(" - represents an assigned suffix")]),t("li",[t("code",{pre:!0},[e._v("MetaNode")]),e._v(" - represents an assigned meta option")]),t("li",[t("code",{pre:!0},[e._v("WeightNode")]),e._v(" - marks the weight of the object holding the node")]),t("li",[t("code",{pre:!0},[e._v("DisplayNameNode")]),e._v(" - marks the display name of the object holding the node")])]),t("hr"),t("h3",{attrs:{id:"creating-new-node-instances",tabindex:"-1"}},[e._v("Creating new node instances "),t("a",{staticClass:"header-anchor",attrs:{href:"#creating-new-node-instances"}},[e._v("🔗")])]),t("p",[e._v("To obtain a "),t("code",{pre:!0},[e._v("Node")]),e._v(", you use "),t("code",{pre:!0},[e._v("NodeBuilder")]),e._v("s.")]),t("p",[e._v('If you just have a "key" and are unsure which category of node it falls into, you can simply use '),t("code",{pre:!0},[e._v("Node.builder()")]),e._v(".")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build any type of node")]),e._v("\nNode node = Node.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"some.node.key"')]),e._v(").build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// and with extra properties!")]),e._v("\nNode node = Node.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"some.node.key"')]),e._v(")\n .value("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("false")]),e._v(")\n .expiry(Duration.ofHours("),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("1")]),e._v("))\n .withContext(DefaultContextKeys.SERVER_KEY, "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"survival"')]),e._v(")\n .build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// note: all of the following classes extend from Node")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build a permission node")]),e._v("\nPermissionNode node = PermissionNode.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"my.permission"')]),e._v(").build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build a regex permission node")]),e._v("\nRegexPermissionNode node = RegexPermissionNode.builder(pattern).build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build an inheritance node")]),e._v("\nInheritanceNode node = InheritanceNode.builder(group).build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build a prefix node")]),e._v("\nPrefixNode node = PrefixNode.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"[Some Prefix]"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("100")]),e._v(").build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build a suffix node")]),e._v("\nSuffixNode node = SuffixNode.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"[Some Suffix]"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("150")]),e._v(").build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build a metadata node")]),e._v("\nMetaNode node = MetaNode.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"some-key"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"some-value"')]),e._v(").build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build a weight node")]),e._v("\nWeightNode node = WeightNode.builder("),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("25")]),e._v(").build();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// build a display name node")]),e._v("\nDisplayNameNode node = DisplayNameNode.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"SeniorModerator"')]),e._v(").build();\n")])]),t("hr"),t("h3",{attrs:{id:"modifying-existing-nodes",tabindex:"-1"}},[e._v("Modifying existing nodes "),t("a",{staticClass:"header-anchor",attrs:{href:"#modifying-existing-nodes"}},[e._v("🔗")])]),t("p",[t("code",{pre:!0},[e._v("Node")]),e._v("s are immutable - meaning their attributes cannot be changed. However, we can easily create a "),t("em",[e._v("new")]),e._v(" node based upon the properties of an existing one.")]),t("p",[e._v("e.g.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Node negated = node.toBuilder().value("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("false")]),e._v(").build();\n")])]),t("hr"),t("h3",{attrs:{id:"reading-usergroup-data",tabindex:"-1"}},[e._v("Reading user/group data "),t("a",{staticClass:"header-anchor",attrs:{href:"#reading-usergroup-data"}},[e._v("🔗")])]),t("p",[t("code",{pre:!0},[e._v("User")]),e._v("s and "),t("code",{pre:!0},[e._v("Group")]),e._v("s both inherit from a super interface called "),t("code",{pre:!0},[e._v("PermissionHolder")]),e._v(". This interface defines most of the shared permission functionality in users and groups.")]),t("p",[e._v("As explained above, most data held by users/groups are contained within "),t("code",{pre:!0},[e._v("Node")]),e._v(" instances. This means that there are only a few methods to think about. However, they all do slightly different things!")]),t("p",[e._v("Importantly, all of the methods below return "),t("strong",[e._v("immutable collections")]),e._v(". You cannot make changes to the returned connections.")]),t("h4",{attrs:{id:"getnodes",tabindex:"-1"}},[t("code",{pre:!0},[e._v(".getNodes()")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#getnodes"}},[e._v("🔗")])]),t("p",[e._v("The method signature is:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("Collection<Node> "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("getNodes")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("()")]),e._v("\n")])])]),t("ul",[t("li",[e._v("This method returns an un-flattened (or squashed) collection of the user/groups nodes.")]),t("li",[e._v("Entries nearer the start of the collection (index zero) have priority over nodes at the end.")]),t("li",[e._v("This view does "),t("strong",[e._v("not")]),e._v(" consider inherited data.")])]),t("p",[e._v("It's a relatively cheap call, and will return quite quickly.")]),t("p",[e._v("You can use the Stream API to easily filter the returned data to find what you need. For example, if you wanted to get a list of groups a holder inherits from, you could use something like this:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Set<String> groups = user.getNodes().stream()\n .filter(NodeType.INHERITANCE::matches)\n .map(NodeType.INHERITANCE::cast)\n .map(InheritanceNode::getGroupName)\n .collect(Collectors.toSet());\n")])]),t("p",[e._v("You can make this a bit simpler by passing the node type as a parameter!")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Set<String> groups = user.getNodes(NodeType.INHERITANCE).stream()\n .map(InheritanceNode::getGroupName)\n .collect(Collectors.toSet());\n")])]),t("p",[e._v("Or even more complicated queries, like finding the max priority of a temporary prefix held on a specific server.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("int")]),e._v(" maxWeight = user.getNodes(NodeType.PREFIX).stream()\n .filter(Node::hasExpiry)\n .filter(n -> n.getContexts().getAnyValue(DefaultContextKeys.SERVER_KEY)\n .map(v -> v.equals("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"factions"')]),e._v(")).orElse("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("false")]),e._v("))\n .mapToInt(ChatMetaNode::getPriority)\n .max()\n .orElse("),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("0")]),e._v(");\n")])]),t("p",[e._v("If you need to do a more specific lookup or check, prefer using one of the other methods (described later) to avoid iterating over the whole collection of nodes.")]),t("h4",{attrs:{id:"getdistinctnodes",tabindex:"-1"}},[t("code",{pre:!0},[e._v(".getDistinctNodes()")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#getdistinctnodes"}},[e._v("🔗")])]),t("p",[e._v("The method signature is:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("SortedSet<Node> "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("getDistinctNodes")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("()")])]),e._v(";\n")])]),t("ul",[t("li",[e._v("This method returns a sorted view of "),t("code",{pre:!0},[e._v("#getNodes")]),e._v(". If you are not worried about ordering, it's faster to use "),t("code",{pre:!0},[e._v("#getNodes")]),e._v(".")]),t("li",[e._v('The nodes are sorted according to "priority order". As the returned type is a set, duplicate elements may be missing.')]),t("li",[e._v("This view does "),t("strong",[e._v("not")]),e._v(" consider inherited data.")])]),t("h4",{attrs:{id:"resolveinheritednodes",tabindex:"-1"}},[t("code",{pre:!0},[e._v(".resolveInheritedNodes()")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#resolveinheritednodes"}},[e._v("🔗")])]),t("p",[e._v("The method signature is:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("Collection<Node> "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("resolveInheritedNodes")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(QueryOptions queryOptions)")]),e._v("\n")])])]),t("ul",[t("li",[e._v("This method returns an un-flattened (or squashed) list of the user/groups nodes, and all nodes they inherit from their parents.")]),t("li",[e._v("Entries nearer the start of the list (index zero) have priority over nodes at the end.")]),t("li",[e._v("This view "),t("strong",[e._v("does")]),e._v(" consider inherited data. If you don't need this, use the "),t("code",{pre:!0},[e._v("getNodes")]),e._v(" method instead.")])]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("QueryOptions")]),e._v(" parameter encapsulates the lookup settings for the query. This class is explained in a later section. If you're not worried particularly about filtering by context, simply use "),t("code",{pre:!0},[e._v("QueryOptions.nonContextual()")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"modifying-usergroup-data",tabindex:"-1"}},[e._v("Modifying user/group data "),t("a",{staticClass:"header-anchor",attrs:{href:"#modifying-usergroup-data"}},[e._v("🔗")])]),t("p",[e._v("User/group data can be modified by adding and removing "),t("code",{pre:!0},[e._v("Node")]),e._v("s from the holders data. This can be done by calling "),t("code",{pre:!0},[e._v("#data")]),e._v(" and calling the methods on the returned "),t("code",{pre:!0},[e._v("NodeMap")]),e._v(".")]),t("p",[e._v("Here is an example of adding a permission to a user:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("DataMutateResult result = user.data().add(Node.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"your.node.here"')]),e._v(").build());\n")])]),t("p",[e._v("Don't forget to "),t("a",{attrs:{href:"#saving-changes"}},[e._v("save")]),e._v(" your changes!")]),t("hr"),t("h3",{attrs:{id:"the-basics-of-context",tabindex:"-1"}},[e._v("The basics of Context "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-basics-of-context"}},[e._v("🔗")])]),t("p",[e._v("Contexts are an important concept in LuckPerms, and are introduced "),t("a",{attrs:{href:"Context"}},[e._v("here")]),e._v(". They are encapsulated within the API by a few important classes.")]),t("p",[e._v("A very basic overview is that:")]),t("blockquote",[t("p",[t("strong",[e._v("Context")]),e._v(" in the most basic sense simply means the "),t("strong",[e._v("circumstances where something will apply")]),e._v(".")]),t("p",[e._v('A single "context" consists of a key and a value, both strings. The key represents the type of context, and the value represents the setting of the context key.')]),t("p",[e._v('Contexts can be combined with each other to form so called "context sets" - simply a collection of context pairs.')]),t("p",[e._v("Context keys are case-insensitive, and will be converted to lowercase by all implementations. Values however are case-sensitive. Context keys and values may not be null or empty. A key/value will be deemed empty if it's length is zero, or if it consists of only space characters.")])]),t("h4",{attrs:{id:"important-classes",tabindex:"-1"}},[e._v("Important classes "),t("a",{staticClass:"header-anchor",attrs:{href:"#important-classes"}},[e._v("🔗")])]),t("h4",{attrs:{id:"contextset",tabindex:"-1"}},[t("code",{pre:!0},[e._v("ContextSet")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#contextset"}},[e._v("🔗")])]),t("p",[e._v('A "context set" is simply a set of contexts.')]),t("p",[e._v("Internally, a context set is effectively a "),t("code",{pre:!0},[e._v("Multimap<String, String>")]),e._v(", or a "),t("code",{pre:!0},[e._v("<Map<String, Collection<String>>")]),e._v(", but importantly, it is "),t("strong",[e._v("not")]),e._v(" a "),t("code",{pre:!0},[e._v("Map<String, String>")]),e._v(".")]),t("p",[e._v("Keys can be mapped to multiple values.")]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("ContextSet")]),e._v(" interface defines a number of methods which can be used to interact with context set implementations. These methods should be fairly self explanatory - and are sufficiently explained in the Javadocs.")]),t("h4",{attrs:{id:"immutablecontextset",tabindex:"-1"}},[t("code",{pre:!0},[e._v("ImmutableContextSet")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#immutablecontextset"}},[e._v("🔗")])]),t("p",[e._v("An "),t("em",[e._v("immutable")]),e._v(" implementation of ContextSet. You can obtain an instance in a number of ways.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("ImmutableContextSet set1 = ImmutableContextSet.empty(); \n\nImmutableContextSet set2 = ImmutableContextSet.of("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world_nether"')]),e._v(");\n\nImmutableContextSet set3 = ImmutableContextSet.builder() \n .add("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world_nether"')]),e._v(")\n .add("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"server"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"survival"')]),e._v(")\n .build();\n\nMap<String, String> map = "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("new")]),e._v(" HashMap<>();\nmap.put("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"region"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something"')]),e._v(");\n\nImmutableContextSet.Builder builder = ImmutableContextSet.builder();\nmap.forEach(builder::add);\n\nImmutableContextSet set4 = builder.build();\n")])]),t("p",[e._v("You can of course also create an "),t("code",{pre:!0},[e._v("ImmutableContextSet")]),e._v(" by first creating (or obtaining) a "),t("code",{pre:!0},[e._v("MutableContextSet")]),e._v(" and converting it.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("MutableContextSet set = MutableContextSet.create();\nset.add("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something"')]),e._v(");\n\nImmutableContextSet immutableSet = set.immutableCopy();\n")])]),t("h4",{attrs:{id:"mutablecontextset",tabindex:"-1"}},[t("code",{pre:!0},[e._v("MutableContextSet")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#mutablecontextset"}},[e._v("🔗")])]),t("p",[e._v("A "),t("em",[e._v("mutable")]),e._v(" implementation of ContextSet. You can obtain an instance in a number of ways.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("MutableContextSet set1 = MutableContextSet.create();\nset1.add("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"text"')]),e._v(");\n\nMutableContextSet set2 = MutableContextSet.of("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"world_nether"')]),e._v(");\n\nMap<String, String> map = "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("new")]),e._v(" HashMap<>();\nmap.put("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"region"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something"')]),e._v(");\n\nMutableContextSet set3 = MutableContextSet.create();\nmap.forEach(set3::add);\n\nset3.removeAll("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"region"')]),e._v(");\n")])]),t("p",[e._v("To edit an "),t("code",{pre:!0},[e._v("ImmutableContextSet")]),e._v(', you can make a "mutable copy" of it.')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("ImmutableContextSet set = ImmutableContextSet.of("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something"')]),e._v(");\n\nMutableContextSet mutableCopy = set.mutableCopy();\nmutableCopy.add("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something"')]),e._v(", "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"something-else"')]),e._v(");\n")])]),t("h4",{attrs:{id:"registering-contextcalculators",tabindex:"-1"}},[e._v("Registering ContextCalculators "),t("a",{staticClass:"header-anchor",attrs:{href:"#registering-contextcalculators"}},[e._v("🔗")])]),t("p",[e._v('A "subject" (a player in most cases) is just an object which can have contexts applied to them.')]),t("p",[e._v('In other words, a "subject" is an object which has an '),t("strong",[e._v("active context set")]),e._v(". A "),t("code",{pre:!0},[e._v("ContextCalculator")]),e._v(' is an object which determines the "active" contexts for a given type of Subject.')]),t("p",[e._v("The subject type varies between platforms.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Platform")]),t("th",[e._v("Subject type")])])]),t("tbody",[t("tr",[t("td",[e._v("Bukkit")]),t("td",[t("code",{pre:!0},[e._v("org.bukkit.entity.Player")])])]),t("tr",[t("td",[e._v("BungeeCord")]),t("td",[t("code",{pre:!0},[e._v("net.md_5.bungee.api.connection.ProxiedPlayer")])])]),t("tr",[t("td",[e._v("Sponge")]),t("td",[t("code",{pre:!0},[e._v("org.spongepowered.api.service.permission.Subject")])])]),t("tr",[t("td",[e._v("Fabric")]),t("td",[t("code",{pre:!0},[e._v("net.minecraft.server.network.ServerPlayerEntity")])])]),t("tr",[t("td",[e._v("Forge")]),t("td",[t("code",{pre:!0},[e._v("net.minecraft.server.level.ServerPlayer")])])]),t("tr",[t("td",[e._v("Nukkit")]),t("td",[t("code",{pre:!0},[e._v("cn.nukkit.Player")])])]),t("tr",[t("td",[e._v("Velocity")]),t("td",[t("code",{pre:!0},[e._v("com.velocitypowered.api.proxy.Player")])])])])]),t("p",[e._v("In order to provide your own context, you need to create and register a "),t("code",{pre:!0},[e._v("ContextCalculator")]),e._v(".")]),t("p",[e._v("For example, if I wanted to provide a context for the player's gamemode, in order to set permissions for players only when they are in creative, I'd create a calculator as follows. The "),t("code",{pre:!0},[e._v("estimatePotentialContexts")]),e._v(" method can be added, but is not necessary, to show context suggestions in the tab completion.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-class"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("class")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("CustomCalculator")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("implements")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("ContextCalculator")]),e._v("<"),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("Player")]),e._v("> ")]),e._v("{\n\n "),t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("@Override \n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("calculate")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(Player target, ContextConsumer contextConsumer)")]),e._v(" ")]),e._v("{\n contextConsumer.accept("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"gamemode"')]),e._v(", target.getGameMode().name());\n }\n \n "),t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("@Override\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" ContextSet "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("estimatePotentialContexts")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("()")]),e._v(" ")]),e._v("{\n ImmutableContextSet.Builder builder = ImmutableContextSet.builder();\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("for")]),e._v(" (GameMode gameMode : GameMode.values()) {\n builder.add("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"gamemode"')]),e._v(", gameMode.name().toLowerCase());\n }\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" builder.build();\n }\n \n}\n")])]),t("p",[e._v("Then register it using")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("luckPerms.getContextManager().registerCalculator("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("new")]),e._v(" CustomCalculator());\n")])]),t("h4",{attrs:{id:"querying-active-contextsquery-options",tabindex:"-1"}},[e._v("Querying active contexts/query options "),t("a",{staticClass:"header-anchor",attrs:{href:"#querying-active-contextsquery-options"}},[e._v("🔗")])]),t("p",[e._v('You can query the "active" contexts/query options of a Subject using the '),t("code",{pre:!0},[e._v("ContextManager")]),e._v(".")]),t("p",[e._v("If you already have an instance of the subject type, you can query directly using this.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Player player = ...;\n\nImmutableContextSet contextSet = luckPerms.getContextManager().getContext(player);\nQueryOptions queryOptions = luckPerms.getContextManager().getQueryOptions(player);\n")])]),t("p",[e._v("If you only have a "),t("code",{pre:!0},[e._v("User")]),e._v(", you can still perform a lookup, however, a result will only be returned if the corresponding subject (player) is online.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Optional<ImmutableContextSet> contextSet = luckPerms.getContextManager().getContext(user);\nOptional<QueryOptions> queryOptions = luckPerms.getContextManager().getQueryOptions(user);\n")])]),t("p",[e._v('If you absolutely need to obtain an instance, you can fallback to the server\'s "static" context/query option. (these are formed using calculators which provide contexts/query options regardless of the passed subject.)')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("User user = ...;\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// This is the easy way...")]),e._v("\nImmutableContextSet contextSet = user.getQueryOptions().context();\nQueryOptions queryOptions = user.getQueryOptions();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// But is equivalent to this...")]),e._v("\nContextManager cm = luckPerms.getContextManager();\nImmutableContextSet contextSet = cm.getContext(user).orElse(cm.getStaticContext());\nQueryOptions queryOptions = cm.getQueryOptions(user).orElse(cm.getStaticQueryOptions());\n")])]),t("hr"),t("h3",{attrs:{id:"the-basics-of-cacheddata",tabindex:"-1"}},[e._v("The basics of CachedData "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-basics-of-cacheddata"}},[e._v("🔗")])]),t("p",[e._v("All "),t("code",{pre:!0},[e._v("User")]),e._v("s and "),t("code",{pre:!0},[e._v("Group")]),e._v("s also have an extra object attached to them called "),t("code",{pre:!0},[e._v("CachedData")]),e._v(". This is the name of the caching class used by LuckPerms to store easily query-able data for all permission holders. The lookup methods provided by this class are very fast. If you're doing frequent data lookups, it is highly recommended that you use "),t("code",{pre:!0},[e._v("CachedData")]),e._v(" over the methods in "),t("code",{pre:!0},[e._v("User")]),e._v(" and "),t("code",{pre:!0},[e._v("Group")]),e._v(".")]),t("p",[e._v("Everything in "),t("code",{pre:!0},[e._v("CachedData")]),e._v(" is indexed by "),t("code",{pre:!0},[e._v("QueryOptions")]),e._v(", as this is how LuckPerms processes all lookups internally.")]),t("p",[e._v("The contained data is split into two separate sections: "),t("code",{pre:!0},[e._v("CachedPermissionData")]),e._v(" and "),t("code",{pre:!0},[e._v("CachedMetaData")]),e._v(".")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("CachedPermissionData")]),e._v(" contains the user/groups fully resolved map of permissions, and allows you to run permission checks in exactly the same way as you would using the Player class provided by the platform.")]),t("li",[t("code",{pre:!0},[e._v("CachedMetaData")]),e._v(" contains information about a user/groups prefixes, suffixes, and meta values.")])]),t("h4",{attrs:{id:"obtaining-cachedpermissiondata-and-cachedmetadata",tabindex:"-1"}},[e._v("Obtaining "),t("code",{pre:!0},[e._v("CachedPermissionData")]),e._v(" and "),t("code",{pre:!0},[e._v("CachedMetaData")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-cachedpermissiondata-and-cachedmetadata"}},[e._v("🔗")])]),t("p",[e._v("You need either:")]),t("ul",[t("li",[e._v("A platform "),t("code",{pre:!0},[e._v("Player")]),e._v(" instance")]),t("li",[e._v("A LuckPerms "),t("code",{pre:!0},[e._v("User")]),e._v(" or "),t("code",{pre:!0},[e._v("Group")]),e._v(" instance + optionally some "),t("code",{pre:!0},[e._v("QueryOptions")]),e._v(" (see above for how to obtain this)")])]),t("p",[e._v("If you have a "),t("code",{pre:!0},[e._v("Player")]),e._v(" platform instance (like "),t("em",[e._v("org.bukkit.entity.Player")]),e._v("), you can use the "),t("code",{pre:!0},[e._v("PlayerAdapter")]),e._v(" to obtain cached data.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Player player = ...;\nPlayerAdapter<Player> adapter = luckperms.getPlayerAdapter(Player.class);\n\nCachedPermissionData permissionData = adapter.getPermissionData(player);\nCachedMetaData metaData = adapter.getMetaData(player);\n")])]),t("p",[e._v("If you already have a LuckPerms "),t("code",{pre:!0},[e._v("User")]),e._v(" or "),t("code",{pre:!0},[e._v("Group")]),e._v(" instance, you can use the following methods to obtain cached data.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Will attempt to use the most appropriate currect query options for the User")]),e._v("\nCachedPermissionData permissionData = user.getCachedData().getPermissionData();\nCachedMetaData metaData = user.getCachedData().getMetaData();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// You can also manually specify which query options to use")]),e._v("\nCachedPermissionData permissionData = user.getCachedData().getPermissionData(queryOptions);\nCachedMetaData metaData = user.getCachedData().getMetaData(queryOptions);\n")])]),t("p",[e._v("Once you have a cached data instance, you can perform lots of different queries.")]),t("h4",{attrs:{id:"performing-permission-checks",tabindex:"-1"}},[e._v("Performing permission checks "),t("a",{staticClass:"header-anchor",attrs:{href:"#performing-permission-checks"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// run a permission check!")]),e._v("\nTristate checkResult = permissionData.checkPermission("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"some.permission.node"')]),e._v(");\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// the same as what Player#hasPermission would return")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("boolean")]),e._v(" checkResultAsBoolean = checkResult.asBoolean();\n")])]),t("p",[e._v('We can put all of this together to create a method that can run a "normal" permission check when passed a '),t("code",{pre:!0},[e._v("User")]),e._v(" and a "),t("code",{pre:!0},[e._v("String")]),e._v(" (the permission).")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("boolean")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("hasPermission")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(User user, String permission)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" user.getCachedData().getPermissionData().checkPermission(permission).asBoolean();\n}\n")])]),t("h4",{attrs:{id:"retrieving-prefixessuffixes",tabindex:"-1"}},[e._v("Retrieving prefixes/suffixes "),t("a",{staticClass:"header-anchor",attrs:{href:"#retrieving-prefixessuffixes"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("String prefix = user.getCachedData().getMetaData().getPrefix();\nString suffix = user.getCachedData().getMetaData().getSuffix();\n")])]),t("h4",{attrs:{id:"retrieving-metadata",tabindex:"-1"}},[e._v("Retrieving metadata "),t("a",{staticClass:"header-anchor",attrs:{href:"#retrieving-metadata"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("String metaValue = user.getCachedData().getMetaData().getMetaValue("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"some-key"')]),e._v(");\n")])]),t("p",[e._v("These methods work with "),t("code",{pre:!0},[e._v("Group")]),e._v("s too!")]),t("hr"),t("h3",{attrs:{id:"store-and-query-custom-metadata",tabindex:"-1"}},[e._v("Store and query custom metadata "),t("a",{staticClass:"header-anchor",attrs:{href:"#store-and-query-custom-metadata"}},[e._v("🔗")])]),t("p",[e._v("The metadata stored by LuckPerms isn't limited to only a few types. You use the API to easily store any sort of data about players, whilst also taking advantage of the storage / caching systems built into LP.")]),t("h4",{attrs:{id:"setting-metadata",tabindex:"-1"}},[e._v("Setting metadata "),t("a",{staticClass:"header-anchor",attrs:{href:"#setting-metadata"}},[e._v("🔗")])]),t("p",[e._v("You can set metadata by creating & adding a "),t("code",{pre:!0},[e._v("MetaNode")]),e._v(" to a user.")]),t("p",[e._v('To illustrate this, let\'s store a player "level" meta value.')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("setLevel")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(Player player, "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("int")]),e._v(" level)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// obtain a User instance (by any means! see above for other ways)")]),e._v("\n User user = luckPerms.getPlayerAdapter(Player.class).getUser(player);\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// create a new MetaNode holding the level value")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// of course, this can have context/expiry/etc too!")]),e._v("\n MetaNode node = MetaNode.builder("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"level"')]),e._v(", Integer.toString(level)).build();\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// clear any existing meta nodes with the same key - we want to override")]),e._v("\n user.data().clear(NodeType.META.predicate(mn -> mn.getMetaKey().equals("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"level"')]),e._v(")));\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// add the new node")]),e._v("\n user.data().add(node);\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// save!")]),e._v("\n luckPerms.getUserManager().saveUser(user);\n}\n")])]),t("h4",{attrs:{id:"querying-metadata",tabindex:"-1"}},[e._v("Querying metadata "),t("a",{staticClass:"header-anchor",attrs:{href:"#querying-metadata"}},[e._v("🔗")])]),t("p",[e._v("Once the metadata is set, querying it is easy!")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("int")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("getLevel")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(Player player)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// obtain CachedMetaData - the easiest way is via the PlayerAdapter")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// of course, you can get it via a User too if the player is offline.")]),e._v("\n CachedMetaData metaData = luckPerms.getPlayerAdapter(Player.class).getMetaData(player);\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// query & parse the meta value")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(" metaData.getMetaValue("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"level"')]),e._v(", Integer::parseInt).orElse("),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("0")]),e._v(");\n}\n")])]),t("hr"),t("h3",{attrs:{id:"events",tabindex:"-1"}},[e._v("Events "),t("a",{staticClass:"header-anchor",attrs:{href:"#events"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms uses it's own event system, completely separate from the event systems used by platforms (e.g. Bukkit or Sponge). This means that instead of registering your listener with the server, you must register it directly with LuckPerms.")]),t("p",[e._v("The events supported by LuckPerms are defined as "),t("code",{pre:!0},[e._v("interface")]),e._v("s that extend from "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/LuckPermsEvent.java"}},[t("code",{pre:!0},[e._v("LuckPermsEvent")])]),e._v(". They can be found in the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/tree/master/api/src/main/java/net/luckperms/api/event"}},[t("code",{pre:!0},[e._v("net.luckperms.api.event")])]),e._v(" package.")]),t("h4",{attrs:{id:"event-listeners",tabindex:"-1"}},[e._v("Event listeners "),t("a",{staticClass:"header-anchor",attrs:{href:"#event-listeners"}},[e._v("🔗")])]),t("p",[e._v("To listen to events, you first need to obtain the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/EventBus.java"}},[t("code",{pre:!0},[e._v("EventBus")])]),e._v(" instance using "),t("code",{pre:!0},[e._v("LuckPerms#getEventBus")]),e._v(", then register each listener using the "),t("code",{pre:!0},[e._v("subscribe")]),e._v(" method.")]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("subscribe")]),e._v(" method accepts a "),t("code",{pre:!0},[e._v("java.util.function.Consumer")]),e._v(" object - which allows listeners to be defined as:")]),t("ol",[t("li",[t("a",{attrs:{href:"https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html#syntax"}},[e._v("Expression lambdas")])]),t("li",[t("a",{attrs:{href:"https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html#syntax"}},[e._v("Statement lambdas")])]),t("li",[t("a",{attrs:{href:"https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html"}},[e._v("Method references")])])]),t("p",[e._v("It's usually a good idea to create a separate class for your listeners. Here's a short example class demonstrating how to subscribe to events.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("import")]),e._v(" net.luckperms.api.event.EventBus;\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("import")]),e._v(" net.luckperms.api.event.log.LogPublishEvent;\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("import")]),e._v(" net.luckperms.api.event.user.UserLoadEvent;\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("import")]),e._v(" net.luckperms.api.event.user.track.UserPromoteEvent;\n\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-class"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("class")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("MyListener")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("private")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("final")]),e._v(" MyPlugin plugin;\n\n "),t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("MyListener")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(MyPlugin plugin, LuckPerms luckPerms)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("this")]),e._v(".plugin = plugin;\n\n EventBus eventBus = luckPerms.getEventBus();\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// 1. Subscribe to an event using an expression lambda")]),e._v("\n eventBus.subscribe("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("this")]),e._v(".plugin, LogPublishEvent.class, e -> "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("/* ... */")]),e._v(");\n\n \t"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// 2. Subscribe to an event using a statement lambda")]),e._v("\n eventBus.subscribe("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("this")]),e._v(".plugin, UserLoadEvent.class, e -> {\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// ...")]),e._v("\n });\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// 3. Subscribe to an event using a method reference")]),e._v("\n eventBus.subscribe("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("this")]),e._v(".plugin, UserPromoteEvent.class, "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("this")]),e._v("::onUserPromote);\n }\n\n "),t("span",{pre:!0,attrs:{class:"hljs-function"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("private")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("onUserPromote")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(UserPromoteEvent event)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// ...")]),e._v("\n }\n}\n")])]),t("p",[e._v("If your listener is simple, then an expression or statement lambda is best. If your listener is complex, then method references are probably going to be more organised.")]),t("h4",{attrs:{id:"listening-for-changes-to-user-cached-data",tabindex:"-1"}},[e._v("Listening for changes to user cached data "),t("a",{staticClass:"header-anchor",attrs:{href:"#listening-for-changes-to-user-cached-data"}},[e._v("🔗")])]),t("p",[e._v("If you have a system that depends on a users cached data (e.g. their prefix or permission state), then you may find it necessary to perform some action in your plugin when the data changes (e.g. invalidate or update a cache). The best & most simple event to use to achieve this is the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/user/UserDataRecalculateEvent.java"}},[t("code",{pre:!0},[e._v("UserDataRecalculateEvent")])]),e._v(".")]),t("p",[e._v("This is a simple event that is \"called when a User's cached data is refreshed\". It doesn't give any information about what caused the refresh - just that it happened!")]),t("h4",{attrs:{id:"listening-for-changes-to-permissionsparent-groupsetc",tabindex:"-1"}},[e._v("Listening for changes to permissions/parent groups/etc "),t("a",{staticClass:"header-anchor",attrs:{href:"#listening-for-changes-to-permissionsparent-groupsetc"}},[e._v("🔗")])]),t("p",[e._v("Recall from earlier that "),t("a",{attrs:{href:"#the-basics-of-node"}},[e._v("all user/group data is stored as "),t("code",{pre:!0},[e._v("Node")]),e._v("s")]),e._v(" - introducing:")]),t("ul",[t("li",[e._v("the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/node/NodeAddEvent.java"}},[t("code",{pre:!0},[e._v("NodeAddEvent")])]),e._v(" - called when a node is added to a user/group")]),t("li",[e._v("the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/node/NodeRemoveEvent.java"}},[t("code",{pre:!0},[e._v("NodeRemoveEvent")])]),e._v(" - called when a node is removed from a user/group")]),t("li",[e._v("the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/node/NodeClearEvent.java"}},[t("code",{pre:!0},[e._v("NodeClearEvent")])]),e._v(" - called when a user/group has all/some their existing nodes removed")])]),t("p",[e._v("All of these events extend from "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/node/NodeMutateEvent.java"}},[t("code",{pre:!0},[e._v("NodeMutateEvent")])]),e._v(" which defines the base properties.")]),t("p",[e._v("These events cover all possible changes that could be made to a user/groups LuckPerms data. The trick is to figure out which event you need, and how to filter down to only catch the desired changes.")]),t("p",[e._v("For example, to catch "),t("em",[e._v("prefixes")]),e._v(" being added to "),t("em",[e._v("groups")]),e._v(", you would need to listen to the "),t("code",{pre:!0},[e._v("NodeAddEvent")]),e._v(", then check if "),t("code",{pre:!0},[e._v("e.isGroup() && e.getNode().getType() == NodeType.PREFIX")]),e._v(". Of course, afterwards, you could then cast "),t("code",{pre:!0},[e._v("((Group) e.getTarget())")]),e._v(" and "),t("code",{pre:!0},[e._v("((PrefixNode) node)")]),e._v(" to extract further information.")]),t("p",[e._v("To catch both additions and removals, you can either subscribe to the generic "),t("code",{pre:!0},[e._v("NodeMutateEvent")]),e._v(", or to both the add and remove events separately.")]),t("p",[e._v("There is an "),t("a",{attrs:{href:"https://github.com/LuckPerms/api-cookbook/blob/master/src/main/java/me/lucko/lpcookbook/listener/PlayerNodeChangeListener.java"}},[e._v("example listener in the API Cookbook")]),e._v(" which demonstrates this nicely.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6738:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h3",{attrs:{id:"intro",tabindex:"-1"}},[e._v("Intro "),t("a",{staticClass:"header-anchor",attrs:{href:"#intro"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has a complete developer API, which allows other plugins on the server to read and modify LuckPerms data, and easily integrate LuckPerms deeply into existing plugins and systems.")]),t("h3",{attrs:{id:"versioning",tabindex:"-1"}},[e._v("Versioning "),t("a",{staticClass:"header-anchor",attrs:{href:"#versioning"}},[e._v("🔗")])]),t("p",[e._v("The API uses "),t("a",{attrs:{href:"https://semver.org/"}},[e._v("Semantic Versioning")]),e._v(", meaning whenever a non-backwards compatible change is made, the major version will increment. You can rest assured knowing your integration will not break between versions, providing the major version remains the same.")]),t("p",[e._v("The current API release is "),t("code",{pre:!0},[e._v("5.5")]),e._v(".")]),t("ul",[t("li",[e._v("The API package in LuckPerms is "),t("code",{pre:!0},[e._v("net.luckperms.api")]),e._v(".")]),t("li",[e._v("JavaDocs are available either in "),t("a",{attrs:{href:"https://javadoc.io/doc/net.luckperms/api/latest/"}},[e._v("a standard JavaDoc layout")]),e._v(", or within the API "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/tree/master/api/src/main/java/net/luckperms/api"}},[e._v("source code")]),e._v(".")])]),t("h4",{attrs:{id:"changelogs",tabindex:"-1"}},[e._v("Changelogs "),t("a",{staticClass:"header-anchor",attrs:{href:"#changelogs"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("Version "),t("code",{pre:!0},[e._v("2.x")]),e._v(" represented the initial release of the API.")]),t("li",[e._v("Version "),t("code",{pre:!0},[e._v("3.x")]),e._v(" (19th Feb 17) introduced a number of backwards incompatible changes. ["),t("a",{attrs:{href:"https://gist.github.com/lucko/fdf6ae4b2d9e466d8103dd9c68e5db9e"}},[e._v("changelog")]),e._v("]")]),t("li",[e._v("Version "),t("code",{pre:!0},[e._v("4.x")]),e._v(" (7th Nov 17) introduced a number of backwards incompatible changes. ["),t("a",{attrs:{href:"https://gist.github.com/lucko/34c5c3c52ad80f8541395a096a937e91"}},[e._v("changelog")]),e._v("]")]),t("li",[e._v("Version "),t("code",{pre:!0},[e._v("5.x")]),e._v(" was a complete rewrite of the API. Bridging tools are provided to maintain compatibility with older versions.")])]),t("h2",{attrs:{id:"quick-start-guide",tabindex:"-1"}},[e._v("Quick start guide "),t("a",{staticClass:"header-anchor",attrs:{href:"#quick-start-guide"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#adding-luckperms-to-your-project"}},[e._v("Adding LuckPerms to your project")]),t("ul",[t("li",[t("a",{attrs:{href:"#maven"}},[e._v("Maven")])]),t("li",[t("a",{attrs:{href:"#gradle"}},[e._v("Gradle")])]),t("li",[t("a",{attrs:{href:"#manual"}},[e._v("Manual")])])])]),t("li",[t("a",{attrs:{href:"#obtaining-an-instance-of-the-api"}},[e._v("Obtaining an instance of the API")]),t("ul",[t("li",[t("a",{attrs:{href:"#using-the-bukkit-servicesmanager"}},[e._v("Using the Bukkit ServicesManager")])]),t("li",[t("a",{attrs:{href:"#using-the-sponge-servicesmanager"}},[e._v("Using the Sponge ServicesManager")])]),t("li",[t("a",{attrs:{href:"#using-the-singleton-static-access"}},[e._v("Using the singleton")])])])]),t("li",[t("a",{attrs:{href:"#useful-information"}},[e._v("Useful information")]),t("ul",[t("li",[t("a",{attrs:{href:"#thread-safety"}},[e._v("Thread safety")])]),t("li",[t("a",{attrs:{href:"#immutability"}},[e._v("Immutability")])]),t("li",[t("a",{attrs:{href:"#blocking-operations"}},[e._v("Blocking operations")])]),t("li",[t("a",{attrs:{href:"#using-completablefutures"}},[e._v("Using CompletableFutures")])]),t("li",[t("a",{attrs:{href:"#asynchronous-events--callbacks"}},[e._v("Asynchronous events & callbacks")])])])])]),t("hr"),t("h3",{attrs:{id:"adding-luckperms-to-your-project",tabindex:"-1"}},[e._v("Adding LuckPerms to your project "),t("a",{staticClass:"header-anchor",attrs:{href:"#adding-luckperms-to-your-project"}},[e._v("🔗")])]),t("p",[e._v("The API artifact is published to the "),t("a",{attrs:{href:"http://central.sonatype.org/"}},[e._v("Maven Central")]),e._v(" repository.")]),t("h4",{attrs:{id:"maven",tabindex:"-1"}},[e._v("Maven "),t("a",{staticClass:"header-anchor",attrs:{href:"#maven"}},[e._v("🔗")])]),t("p",[e._v("If you're using Maven, simply add this to the "),t("code",{pre:!0},[e._v("dependencies")]),e._v(" section of your POM.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-xml"}},[t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("<"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("dependencies")]),e._v(">")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("<"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("dependency")]),e._v(">")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("<"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("groupId")]),e._v(">")]),e._v("net.luckperms"),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("</"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("groupId")]),e._v(">")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("<"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("artifactId")]),e._v(">")]),e._v("api"),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("</"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("artifactId")]),e._v(">")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("<"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("version")]),e._v(">")]),e._v("5.5"),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("</"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("version")]),e._v(">")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("<"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("scope")]),e._v(">")]),e._v("provided"),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("</"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("scope")]),e._v(">")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("</"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("dependency")]),e._v(">")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-tag"}},[e._v("</"),t("span",{pre:!0,attrs:{class:"hljs-name"}},[e._v("dependencies")]),e._v(">")]),e._v("\n")])]),t("h4",{attrs:{id:"gradle",tabindex:"-1"}},[e._v("Gradle "),t("a",{staticClass:"header-anchor",attrs:{href:"#gradle"}},[e._v("🔗")])]),t("p",[e._v("If you're using Gradle, you need to add these lines to your build script.")]),t("h5",{attrs:{id:"groovy-dsl",tabindex:"-1"}},[e._v("Groovy DSL: "),t("a",{staticClass:"header-anchor",attrs:{href:"#groovy-dsl"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-gradle"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("repositories")]),e._v(" {\n mavenCentral()\n}\n\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("dependencies")]),e._v(" {\n compileOnly "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'net.luckperms:api:5.5'")]),e._v("\n}\n")])]),t("h5",{attrs:{id:"kotlin-dsl",tabindex:"-1"}},[e._v("Kotlin DSL: "),t("a",{staticClass:"header-anchor",attrs:{href:"#kotlin-dsl"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-gradle"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("repositories")]),e._v(" {\n mavenCentral()\n}\n\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("dependencies")]),e._v(" {\n compileOnly("),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"net.luckperms:api:5.5"')]),e._v(")\n}\n")])]),t("h4",{attrs:{id:"manual",tabindex:"-1"}},[e._v("Manual "),t("a",{staticClass:"header-anchor",attrs:{href:"#manual"}},[e._v("🔗")])]),t("p",[e._v("If you want to manually add the API dependency to your classpath, you can obtain the jar by:")]),t("ol",[t("li",[e._v("Navigating to "),t("a",{attrs:{href:"https://repo1.maven.org/maven2/net/luckperms/api/"}},[t("code",{pre:!0},[e._v("https://repo1.maven.org/maven2/net/luckperms/api/")])])]),t("li",[e._v("Selecting the version you wish to use")]),t("li",[e._v("Downloading the jar titled "),t("code",{pre:!0},[e._v("api-x.x.jar")])])]),t("hr"),t("h3",{attrs:{id:"obtaining-an-instance-of-the-api",tabindex:"-1"}},[e._v("Obtaining an instance of the API "),t("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-an-instance-of-the-api"}},[e._v("🔗")])]),t("p",[e._v("The root API interface is "),t("code",{pre:!0},[e._v("LuckPerms")]),e._v(". You need to obtain an instance of this interface in order to do anything.")]),t("p",[e._v("It can be obtained in a number of ways.")]),t("h4",{attrs:{id:"using-the-bukkit-servicesmanager",tabindex:"-1"}},[e._v("Using the Bukkit ServicesManager "),t("a",{staticClass:"header-anchor",attrs:{href:"#using-the-bukkit-servicesmanager"}},[e._v("🔗")])]),t("p",[e._v("When the plugin is enabled, an instance of "),t("code",{pre:!0},[e._v("LuckPerms")]),e._v(" will be provided in the Bukkit ServicesManager. (obviously you need to be writing your plugin for Bukkit!)")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("RegisteredServiceProvider<LuckPerms> provider = Bukkit.getServicesManager().getRegistration(LuckPerms.class);\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("if")]),e._v(" (provider != "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("null")]),e._v(") {\n LuckPerms api = provider.getProvider();\n \n}\n")])]),t("h4",{attrs:{id:"using-the-sponge-servicesmanager",tabindex:"-1"}},[e._v("Using the Sponge ServicesManager "),t("a",{staticClass:"header-anchor",attrs:{href:"#using-the-sponge-servicesmanager"}},[e._v("🔗")])]),t("p",[e._v("When the plugin is enabled, an instance of "),t("code",{pre:!0},[e._v("LuckPerms")]),e._v(" will be provided in the Sponge ServicesManager. (obviously you need to be writing your plugin for Sponge!)")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("Optional<ProviderRegistration<LuckPerms>> provider = Sponge.getServiceManager().getRegistration(LuckPerms.class);\n"),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("if")]),e._v(" (provider.isPresent()) {\n LuckPerms api = provider.get().getProvider();\n \n}\n")])]),t("h4",{attrs:{id:"using-the-singleton-static-access",tabindex:"-1"}},[e._v("Using the singleton (static access) "),t("a",{staticClass:"header-anchor",attrs:{href:"#using-the-singleton-static-access"}},[e._v("🔗")])]),t("p",[e._v("When the plugin is enabled, an instance of "),t("code",{pre:!0},[e._v("LuckPerms")]),e._v(" can be obtained statically from the "),t("code",{pre:!0},[e._v("LuckPermsProvider")]),e._v(" class. (this will work on all platforms)")]),t("p",[t("strong",[e._v("Note:")]),e._v(" this method will throw an "),t("code",{pre:!0},[e._v("IllegalStateException")]),e._v(" if the API is not loaded.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("LuckPerms api = LuckPermsProvider.get();\n")])]),t("hr"),t("h3",{attrs:{id:"useful-information",tabindex:"-1"}},[e._v("Useful information "),t("a",{staticClass:"header-anchor",attrs:{href:"#useful-information"}},[e._v("🔗")])]),t("p",[e._v("Now you've added the API classes to your project, and obtained an instance of the "),t("code",{pre:!0},[e._v("LuckPerms")]),e._v(", you're almost ready to start using the API. However, before you go any further, please make sure you read and understand the information below.")]),t("h4",{attrs:{id:"thread-safety",tabindex:"-1"}},[e._v("Thread safety "),t("a",{staticClass:"header-anchor",attrs:{href:"#thread-safety"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("All LuckPerms internals are thread-safe. You can safely interact with the API from async scheduler tasks (or just generally from other threads)")]),t("li",[e._v("This also extends to the permission querying methods in Bukkit/Bungee/Sponge. These can be safely called async when LuckPerms is being used as the permissions plugin.")])]),t("h4",{attrs:{id:"immutability",tabindex:"-1"}},[e._v("Immutability "),t("a",{staticClass:"header-anchor",attrs:{href:"#immutability"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("In cases where methods return classes from the Java collections framework, assume that the returned methods are always immutable, unless indicated otherwise. (in the JavaDocs)")]),t("li",[e._v("This means that you cannot make changes to any returned collections, and that the collections are only an accurate representation of the underlying data at the time of the method call.")])]),t("h4",{attrs:{id:"blocking-operations",tabindex:"-1"}},[e._v("Blocking operations "),t("a",{staticClass:"header-anchor",attrs:{href:"#blocking-operations"}},[e._v("🔗")])]),t("ul",[t("li",[e._v('Some methods are not "main thread friendly", meaning that if they are called from the main Minecraft Server thread, the server will lag.')]),t("li",[e._v("This is because many methods conduct I/O with either the file system or the network.")]),t("li",[e._v("In most cases, these methods return "),t("a",{attrs:{href:"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html"}},[e._v("CompletableFutures")]),e._v(".")]),t("li",[e._v("Futures can be an initially complex paradigm for some users - however, it is crucial that you have at least a basic understanding of how they work before attempting to use them.")]),t("li",[e._v("As a general rule, it is advised that if it's convenient to do so, you conduct as much work with the API as possible within async scheduler tasks. Some methods don't return futures, but may still involve a number of relatively complex computations.")])]),t("h4",{attrs:{id:"using-completablefutures",tabindex:"-1"}},[e._v("Using CompletableFutures "),t("a",{staticClass:"header-anchor",attrs:{href:"#using-completablefutures"}},[e._v("🔗")])]),t("p",[e._v("This is a super quick guide. If you'd like more comprehensive info, see the "),t("a",{attrs:{href:"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html"}},[e._v("CompletableFuture")]),e._v(" or "),t("a",{attrs:{href:"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletionStage.html"}},[e._v("CompletionStage")]),e._v(" JavaDoc pages.")]),t("p",[e._v("For the purposes of explaining, take the following method in the "),t("code",{pre:!0},[e._v("ActionLogger")]),e._v(" class.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("CompletableFuture<ActionLog> "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("getLog")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("()")])]),e._v(";\n")])]),t("p",[e._v("After calling the method, we get a "),t("code",{pre:!0},[e._v("CompletableFuture<ActionLog>")]),e._v(" - the object we actually want is the "),t("code",{pre:!0},[e._v("ActionLog")]),e._v(". The "),t("code",{pre:!0},[e._v("CompletableFuture")]),e._v(" represents the result of some computation (in this case the computation to obtain the ActionLog), and provides us with methods to obtain the "),t("code",{pre:!0},[e._v("ActionLog")]),e._v(" object.")]),t("p",[e._v("If the context of our method call is already asynchronous (if we're calling the method from an async scheduler task), then we can do-away with the future entirely.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v('/*\n Calling this method "requests" an ActionLog from the API.\n \n However, it\'s unlikely that the log will be available immediately...\n We need to wait for it to be supplied.\n*/')]),e._v("\nCompletableFuture<ActionLog> logFuture = actionLogger.getLog();\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("/*\n Since we're already on an async thread, it doesn't matter how long we\n have to wait for the elusive Log to show up.\n \n The #join method will block - and wait until the Log has been supplied,\n and then return it.\n \n If for whatever reason the process to obtain a ActionLog threw an exception,\n this method will rethrow an the same exception wrapped in a CompletionException\n*/")]),e._v("\nActionLog log = logFuture.join();\n")])]),t("p",[e._v("An alternative to using "),t("code",{pre:!0},[e._v("#join")]),e._v(" is to register a callback with the CompletableFuture, to be executed once the "),t("code",{pre:!0},[e._v("Log")]),e._v(" is supplied.")]),t("p",[e._v("If we need to use the instance on the main server thread, then a special executor can be passed to the callback is executed on the server thread.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Create an executor that will run our callback on the server thread.")]),e._v("\nExecutor executor = runnable -> Bukkit.getScheduler().runTask(plugin, runnable);\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Register a callback with the future.")]),e._v("\nlogFuture.whenCompleteAsync("),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("new")]),e._v(" BiConsumer<ActionLog, Throwable>() { "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// can be reduced to a lambda, I've left it as an anonymous class for clarity")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("@Override\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("public")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("accept")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("(ActionLog log, Throwable exception)")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("if")]),e._v(" (exception != "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("null")]),e._v(") {\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// There was some error whilst getting the log.")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("return")]),e._v(";\n }\n\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Use the log for something...")]),e._v("\n }\n}, executor);\n")])]),t("p",[e._v("If you don't care about errors, this can be simplified further.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v("logFuture.thenAcceptAsync(log -> { "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("/* Use the log for something */")]),e._v(" }, executor);\n")])]),t("p",[e._v("The CompletableFuture class can initially be very confusing to use (it's still a relatively new API in Java!), however it is a great way to encapsulate async computations, and in the case of Minecraft, ensures that users don't accidentally block the server thread waiting on lengthy I/O calls.")]),t("h4",{attrs:{id:"asynchronous-events--callbacks",tabindex:"-1"}},[e._v("Asynchronous events & callbacks "),t("a",{staticClass:"header-anchor",attrs:{href:"#asynchronous-events--callbacks"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("The vast majority of LuckPerms' work is done in async tasks away from the server thread.")]),t("li",[e._v("With that in mind, it would be silly to call LuckPerms events synchronously - meaning that, without exception, all events listeners are called asynchronously.")])]),t("p",[e._v("Please keep in mind that many parts of Bukkit, Sponge and the Minecraft server in general are not thread-safe, and should only be interacted with from the server thread. If you need to use Bukkit or Sponge methods from within LuckPerms event listeners or callbacks, you need to perform your action using the scheduler.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},5764:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v('Extensions are a way to "bolt on" additional functionality to the plugin. Extensions work independently of the platform LuckPerms is running on (i.e. Bukkit, Sponge, etc) and can therefore be installed in the same way on all platforms. They use the native API provided by the plugin.')]),t("p",[e._v('They\'re essentially "plugins for a plugin" - a bit confusing, and maybe overkill - but it seems to be a good solution to me!')]),t("hr"),t("h3",{attrs:{id:"installing-extensions",tabindex:"-1"}},[e._v("Installing extensions "),t("a",{staticClass:"header-anchor",attrs:{href:"#installing-extensions"}},[e._v("🔗")])]),t("p",[e._v("Extensions come in the form of "),t("code",{pre:!0},[e._v(".jar")]),e._v(" files. To install them:")]),t("ol",[t("li",[e._v("Navigate to the main "),t("code",{pre:!0},[e._v("/LuckPerms/")]),e._v(" folder (the one where "),t("code",{pre:!0},[e._v("config.yml")]),e._v(" is.)")]),t("li",[e._v("Create a sub-folder called "),t("code",{pre:!0},[e._v("extensions")])]),t("li",[e._v("Add the extension "),t("code",{pre:!0},[e._v(".jar")]),e._v(" file to the extensions folder.")]),t("li",[e._v("Restart the server.")])]),t("hr"),t("h2",{attrs:{id:"official-extensions",tabindex:"-1"}},[e._v("Official extensions "),t("a",{staticClass:"header-anchor",attrs:{href:"#official-extensions"}},[e._v("🔗")])]),t("h3",{attrs:{id:"rest-api",tabindex:"-1"}},[e._v("REST API "),t("a",{staticClass:"header-anchor",attrs:{href:"#rest-api"}},[e._v("🔗")])]),t("p",[e._v("See "),t("a",{attrs:{href:"Standalone-and-REST-API"}},[e._v("here")]),e._v(" for info. 😃")]),t("h3",{attrs:{id:"deprecated-extensions",tabindex:"-1"}},[e._v("Deprecated extensions "),t("a",{staticClass:"header-anchor",attrs:{href:"#deprecated-extensions"}},[e._v("🔗")])]),t("p",[e._v("The extensions below were released approximately 6 years ago (as of June 2025) to help ease the upgrade burden from LuckPerms v4 to LuckPerms v5. We now consider that users have had long enough to update, and they are now deprecated and no longer supported.")]),t("ul",[t("li",[t("a",{attrs:{href:"https://github.com/LuckPerms/extension-legacy-api"}},[e._v("extension-legacy-api")])]),t("li",[t("a",{attrs:{href:"https://github.com/LuckPerms/extension-default-assignments"}},[e._v("extension-default-assignments")])])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},1207:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h3",{attrs:{id:"summary",tabindex:"-1"}},[e._v("Summary "),t("a",{staticClass:"header-anchor",attrs:{href:"#summary"}},[e._v("🔗")])]),t("p",[e._v("The tl;dr is...")]),t("ul",[t("li",[e._v("LuckPerms uses an internet connection to securely download required libraries and translation bundles when it first starts")]),t("li",[e._v("LuckPerms will send data to a external service in order to provide certain functions ("),t("code",{pre:!0},[e._v("/lp editor")]),e._v(" etc)")]),t("li",[e._v("LuckPerms does not report to metrics or analytics services")])]),t("p",[e._v("The specific nature of these interactions and usages are documented below.")]),t("hr"),t("h3",{attrs:{id:"downloading-libraries",tabindex:"-1"}},[e._v("Downloading libraries "),t("a",{staticClass:"header-anchor",attrs:{href:"#downloading-libraries"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms makes use of a lot of libraries - all of which are listed "),t("a",{attrs:{href:"Credits#open-source"}},[e._v("here")]),e._v(".")]),t("p",[e._v('The plugin can be configured and used in a number of ways. For example, it supports a number of storage methods, each of which require their own set of drivers. Most plugins simply bundle (or "shade") these libraries into the plugin jar file - however, this is not practical for LuckPerms, as the high number of libraries would produce a huge final jar size. The solution is to download the '),t("em",[e._v("required")]),e._v(" libraries at runtime, depending on the configuration being used.")]),t("h5",{attrs:{id:"the-download-process",tabindex:"-1"}},[e._v("The download process "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-download-process"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("Downloads will only be attempted for libraries which are required")]),t("li",[e._v("Downloaded binaries are cached in the "),t("code",{pre:!0},[e._v("/LuckPerms/libs/")]),e._v(" folder after the initial download. If a library is already present here, a connection to the download server will not be attempted.")]),t("li",[e._v("The URL and version of libraries is hardcoded within the plugin - they will never automatically update.")])]),t("p",[e._v("All libraries are downloaded from "),t("a",{attrs:{href:"https://libraries.luckperms.net/"}},[e._v("https://libraries.luckperms.net/")]),e._v(" or "),t("a",{attrs:{href:"https://repo1.maven.org/maven2/"}},[e._v("https://repo1.maven.org/maven2/")]),e._v('. The latter is a public software repository commonly referred to as the "Central Repository" or "Maven Central", and the former is a repository owned and controlled by the LuckPerms project which mirrors Maven Central.')]),t("p",[e._v("Maven Central is a trustworthy source - it is used by most Java developers and open source projects.")]),t("p",[e._v("As a precautionary measure in case either of the sites become compromised, the plugin will perform additional verification during the download process to ensure that libraries are intact and as expected.")]),t("h5",{attrs:{id:"the-verification-process",tabindex:"-1"}},[e._v("The verification process "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-verification-process"}},[e._v("🔗")])]),t("p",[e._v("Each dependency that can be downloaded at runtime, along with it's version and location within Maven Central is defined in "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/dependencies/Dependency.java"}},[e._v("this source code file")]),e._v(" in LuckPerms.")]),t("p",[e._v("Each entry also includes a SHA-256 hash of the dependency file, at the time the release was first included within LuckPerms. This hash is used as a checksum for downloaded files.")]),t("p",[e._v("When a dependency is downloaded from the repository, the same hashing process is performed on the downloaded data, and the hash of this is compared with the checksum of the dependency.")]),t("p",[e._v("The integrity of the downloaded file can be assumed to be ok if the two hashes are equal. If the hashes are not equal, then one of two things has most likely happened:")]),t("ul",[t("li",[e._v("Only a part of the file has been downloaded, something went wrong in the download process")]),t("li",[e._v("The dependency file has been tampered with in some way, and should not be trusted")])]),t("p",[e._v("In both cases, the downloaded binary data is discarded by LuckPerms, and the plugins startup is cancelled.")]),t("p",[e._v("These checks are put in place to minimise the risk of malicious code from being executed should the download servers become compromised. It effectively eliminates the possibility of "),t("a",{attrs:{href:"https://en.wikipedia.org/wiki/Arbitrary_code_execution"}},[e._v("arbitrary code execution")]),e._v(" taking place, and makes the system just as secure as shading the dependencies directly into the jar.")]),t("hr"),t("h3",{attrs:{id:"downloading-translation-bundles",tabindex:"-1"}},[e._v("Downloading translation bundles "),t("a",{staticClass:"header-anchor",attrs:{href:"#downloading-translation-bundles"}},[e._v("🔗")])]),t("p",[e._v("The messages used in LuckPerms commands have kindly been "),t("a",{attrs:{href:"Locale-and-Translations"}},[e._v("translated by the community")]),e._v(".")]),t("p",[e._v('These translations are automatically exported, compiled into "translation bundle" files, and then made available from an API endpoint. This means that translations can be added/improved over time, without requiring a recompilation of the plugin.')]),t("p",[e._v("The translation bundles are updated automatically (roughly every 24 hours) by the plugin. This is a relatively safe process, as the translations themselves do not affect how the plugin works.")]),t("p",[e._v("The functionality can be disabled in the LuckPerms config.")]),t("hr"),t("h3",{attrs:{id:"web-apps-lp-editor-etc",tabindex:"-1"}},[e._v("Web apps ("),t("code",{pre:!0},[e._v("/lp editor")]),e._v(" etc) "),t("a",{staticClass:"header-anchor",attrs:{href:"#web-apps-lp-editor-etc"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has a number of web apps that are hosted centrally for everyone to use.")]),t("ul",[t("li",[t("strong",[e._v("Web Editor")]),e._v(" - an editor for permissions data")]),t("li",[t("strong",[e._v("Verbose Viewer")]),e._v(" - a viewer for verbose recording logs")]),t("li",[t("strong",[e._v("Tree Viewer")]),e._v(" - a viewer to visualise tree permission structures")])]),t("p",[e._v("The clients for each of these applications can be found at")]),t("ul",[t("li",[t("a",{attrs:{href:"https://luckperms.net/editor/"}},[e._v("https://luckperms.net/editor/")])]),t("li",[t("a",{attrs:{href:"https://luckperms.net/verbose/"}},[e._v("https://luckperms.net/verbose/")])]),t("li",[t("a",{attrs:{href:"https://luckperms.net/treeview/"}},[e._v("https://luckperms.net/treeview/")])])]),t("p",[e._v("respectively.")]),t("p",[e._v("The source code for these sites is freely available here: "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPermsWeb"}},[e._v("https://github.com/LuckPerms/LuckPermsWeb")])]),t("p",[e._v("Communication between the editors/viewers and the plugin (which runs on your Minecraft server) is performed using isolated data payloads. There is never any direct communication between the editors/viewers and the server.")]),t("p",[e._v("You can freely share the links to editor sessions - any changes must always be applied by running a command on the Minecraft server, or by explictly trusting the editor session.")]),t("p",[e._v("Data is posted to & read from https://usercontent.luckperms.net - effectively a very simple content storage system. This service is written and hosted by Luck.")]),t("p",[e._v("Again, the source is freely available here: https://github.com/lucko/bytebin")]),t("p",[e._v("Additional technical details can be found "),t("a",{attrs:{href:"Web-Editor-Technical-Details"}},[e._v("here")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"metrics-and-auto-updaters",tabindex:"-1"}},[e._v("Metrics and auto-updaters "),t("a",{staticClass:"header-anchor",attrs:{href:"#metrics-and-auto-updaters"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("LuckPerms "),t("strong",[e._v("does not")]),e._v(" and never will report back to analytics or monitoring services.")]),t("li",[e._v("LuckPerms "),t("strong",[e._v("does not")]),e._v(" and never will automatically check for (or automatically install 😠) updates.")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},8407:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h1",{attrs:{id:"frequently-asked-questions",tabindex:"-1"}},[e._v("Frequently Asked Questions "),t("a",{staticClass:"header-anchor",attrs:{href:"#frequently-asked-questions"}},[e._v("🔗")])]),t("p",[e._v("These are some of the questions that are asked quite frequently. Please check to see if your question has already been answered here before seeking support.")]),t("p",[t("strong",[e._v("Tip: Always check your console for any errors during start up or whenever something goes wrong!")])]),t("hr"),t("h3",{attrs:{id:"why-are-permissions-not-working",tabindex:"-1"}},[e._v("Why are permissions not working? "),t("a",{staticClass:"header-anchor",attrs:{href:"#why-are-permissions-not-working"}},[e._v("🔗")])]),t("p",[e._v("First, "),t("em",[e._v("make sure LuckPerms is your only permission plugin!")]),e._v(" We have had many issues where people will install LuckPerms and not remove another permission manager like PermissionsEx. You "),t("em",[e._v("must")]),e._v(" remove any other permission plugins otherwise LuckPerms will not be used for permission checking. The only exception is when you are performing a migration, in which case you must have both permission plugins installed but please remember to remove the old plugin afterwards.")]),t("p",[e._v("If LuckPerms is your only permission plugin, then the issue could be that you have not added the correct permissions for what you require. Always make sure to consult the documentation of the plugins you are using to see what the available permissions are. If the documentation is incomplete or you're unable to find any, then you can use "),t("a",{attrs:{href:"Verbose"}},[e._v("Verbose mode")]),e._v(" to see which permissions are being checked in real-time and what value LuckPerms returns for the user that is being checked.")]),t("p",[e._v("If you are running a Fabric server with LuckPerms, you "),t("strong",[e._v("cannot use permissions with vanilla commands")]),e._v(". Unlike Bukkit/Spigot and Sponge, Fabric does not add permission checks for vanilla commands. This is not an issue with LuckPerms. However, since Fabric supports modifying the base game, you may install an additional mod to add those permission checks, such as "),t("a",{attrs:{href:"https://github.com/lucko/minecraft-command-permissions-fabric"}},[e._v("Minecraft Command Permissions")]),e._v(" or "),t("a",{attrs:{href:"https://github.com/LoganDark/fabric-command-hider"}},[e._v("Command Hider")]),e._v(".")]),t("p",[e._v("Also note that individual mods may not support permissions either, as permissions in Fabric are not yet as standardized as they are in Bukkit/Spigot or Sponge.")]),t("hr"),t("h3",{attrs:{id:"why-are-prefixessuffixes-not-working",tabindex:"-1"}},[e._v("Why are prefixes/suffixes not working? "),t("a",{staticClass:"header-anchor",attrs:{href:"#why-are-prefixessuffixes-not-working"}},[e._v("🔗")])]),t("p",[e._v("Most of the time this isn't actually an issue with LuckPerms itself but here are a few troubleshooting tips:")]),t("ul",[t("li",[e._v("LuckPerms is "),t("em",[e._v("not")]),e._v(" a chat formatter and another plugin is required to format the chat or tab list to include prefixes and suffixes. "),t("ul",[t("li",[e._v("If you are running a Bukkit based server (CraftBukkit, Spigot, Paper) then you also need to install "),t("a",{attrs:{href:"https://dev.bukkit.org/bukkit-plugins/vault/"}},[e._v("Vault")]),e._v(".")]),t("li",[e._v("Some popular chat formatting plugins are listed "),t("a",{attrs:{href:"Prefixes,-Suffixes-&-Meta#displaying-prefixes-and-suffixes"}},[e._v("here")]),e._v(".")])])]),t("li",[e._v("Firstly, you should check if a prefix/suffix is actually set with LuckPerms - run "),t("code",{pre:!0},[e._v("/lp user <user> info")]),e._v(" and see if the prefix/suffix is displayed correctly. If so, great! LuckPerms has done its job and now it's up to your chat/tab/whatever formatter to display it correctly. If not, you need to "),t("a",{attrs:{href:"Prefixes,-Suffixes-&-Meta"}},[e._v("set a prefix or suffix")]),e._v(".")]),t("li",[e._v("If you are using Essentials, make sure you are running "),t("a",{attrs:{href:"https://ci.ender.zone/job/EssentialsX/"}},[e._v("EssentialsX and EssentialsXChat")]),e._v(". The X is important! Other versions of Essentials may not work correctly with LuckPerms. "),t("ul",[t("li",[e._v("Run "),t("code",{pre:!0},[e._v("/ess version")]),e._v(' for a quick rundown on your Essentials setup, this also reports whether Vault is installed and which permission plugin you are running - preferably LuckPerms! If the command only returns a message like "Reloaded Essentials [version]" then you are using an unsupported version of Essentials and should update to EssentialsX (linked above).')]),t("li",[e._v("Essentials provides the "),t("code",{pre:!0},[e._v("{DISPLAYNAME}")]),e._v(" placeholder to its chat formats which will combine the prefix, nickname and suffix into one. If you do not like this behaviour then you can change the "),t("code",{pre:!0},[e._v("add-prefix-suffix")]),e._v(" option to "),t("code",{pre:!0},[e._v("false")]),e._v(" in the Essentials config.")])])]),t("li",[e._v("Are your prefixes/suffixes displaying, but not the right ones? You most likely need to set the priority/weight correctly. If you type "),t("code",{pre:!0},[e._v("/lp user <user> meta info")]),e._v(" and see a bunch of zeroes, or some/all of the numbers (priorities) are the same, LuckPerms will take the first highest one and use that as that user's prefix/suffix. To change these, you will need to "),t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-setprefix-priority-prefix-context"}},[e._v("set the prefix again using the correct command")]),e._v(" - or you can easily edit the number using the web editor. Prefixes and suffixes are stored as permissions, just like everything else, they look similar to this: "),t("code",{pre:!0},[e._v("prefix.100.[Admin]")]),e._v(" - the "),t("code",{pre:!0},[e._v("100")]),e._v(" there is the priority and this is the number you would change to edit it.")]),t("li",[e._v("Lastly, the "),t("code",{pre:!0},[e._v("meta-formatting")]),e._v(" section of the LuckPerms config is very important and you should make sure you only change it when necessary (e.g. "),t("a",{attrs:{href:"Prefix-&-Suffix-Stacking"}},[e._v("prefix/suffix stacking")]),e._v("). It's possible your prefixes/suffixes are not working because this section has been tampered with. If you want to set it back to default, make sure the "),t("code",{pre:!0},[e._v("format")]),e._v(" looks like this:")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v(" format:\n - "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest"')]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"how-do-i-get-permissions-to-sync-across-multiple-servers",tabindex:"-1"}},[e._v("How do I get permissions to sync across multiple servers? "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-do-i-get-permissions-to-sync-across-multiple-servers"}},[e._v("🔗")])]),t("p",[e._v("This is explained in detail on the "),t("a",{attrs:{href:"Network-Installation"}},[e._v("Network Installation")]),e._v(" page. You should also read "),t("a",{attrs:{href:"Syncing-data-between-servers"}},[e._v("Syncing data between servers")]),e._v(". Here is a brief rundown:")]),t("ul",[t("li",[e._v("You need the Bungeecord version of LuckPerms installed on your proxy if: "),t("ul",[t("li",[e._v("you want to manage Bungeecord permissions (in most cases, you do), or")]),t("li",[e._v("you set your messaging-service to "),t("code",{pre:!0},[e._v("pluginmsg")]),e._v(" (not recommended when using a SQL database).")])])]),t("li",[e._v("You need LuckPerms installed on each of your backend (Spigot, Sponge) servers.")]),t("li",[e._v("You must ensure IP forwarding is enabled on Bungeecord and that the Spigot servers have "),t("code",{pre:!0},[e._v("bungeecord: true")]),e._v(" set in their spigot.yml file.")]),t("li",[e._v("You must use the same "),t("a",{attrs:{href:"Storage-types#remote-databases"}},[e._v("remote storage method")]),e._v(" (such as MySQL) on ALL of your LuckPerms installations. This requires the "),t("code",{pre:!0},[e._v("storage-method")]),e._v(" property to be set as well as the database credentials to be identical on all servers.")]),t("li",[e._v("Ensure your servers are all connected to the correct database by running "),t("code",{pre:!0},[e._v("/lp info")]),e._v(" and checking if the storage method is correct. Use "),t("code",{pre:!0},[e._v("/lpb info")]),e._v(" for Bungeecord (run it from the console if you run into permission errors).")]),t("li",[e._v("If you are using MySQL or MariaDB, set the "),t("a",{attrs:{href:"Configuration#messaging-service"}},[t("code",{pre:!0},[e._v("messaging-service")])]),e._v(" to "),t("code",{pre:!0},[e._v("sql")]),e._v(" on all servers. This will enable syncing for all of your servers when a change is made to the database.")])]),t("hr"),t("h3",{attrs:{id:"mysql-errors",tabindex:"-1"}},[e._v("MySQL errors "),t("a",{staticClass:"header-anchor",attrs:{href:"#mysql-errors"}},[e._v("🔗")])]),t("p",[e._v("Such as:")]),t("ul",[t("li",[e._v("LuckPerms cannot connect to my MySQL server")]),t("li",[e._v("I'm getting an annoying SSL warning message")]),t("li",[e._v('"No operations allowed after connection closed" error')])]),t("p",[e._v("Please see "),t("a",{attrs:{href:"Storage-system-errors"}},[e._v("here")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"i-use-spongeforge-and-when-i-install-luckperms-i-lose-all-my-permissions-why",tabindex:"-1"}},[e._v("I use SpongeForge and when I install LuckPerms I lose all my permissions, why? "),t("a",{staticClass:"header-anchor",attrs:{href:"#i-use-spongeforge-and-when-i-install-luckperms-i-lose-all-my-permissions-why"}},[e._v("🔗")])]),t("p",[e._v("This is intentional behaviour of SpongeForge. As soon as a permission plugin is installed, it will disable the OP system."),t("br"),e._v(" To fix this, you need to give your groups and users the required permissions. If you want OP-like permissions, you can use the wildcard "),t("code",{pre:!0},[e._v("*")]),e._v(" but this is "),t("a",{attrs:{href:"https://nucleuspowered.org/docs/nowildcard.html"}},[e._v("not recommended")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"what-versions-does-luckperms-support",tabindex:"-1"}},[e._v("What versions does LuckPerms support? "),t("a",{staticClass:"header-anchor",attrs:{href:"#what-versions-does-luckperms-support"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms supports Minecraft versions from 1.8.8 up to the latest release.")]),t("p",[e._v("If you want to use LuckPerms on a Bukkit 1.7.10 server, you will need to use the Bukkit-Legacy jar, available "),t("a",{attrs:{href:"https://luckperms.net/download"}},[e._v("here")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"when-i-install-luckperms-my-server-shuts-down",tabindex:"-1"}},[e._v("When I install LuckPerms my server shuts down "),t("a",{staticClass:"header-anchor",attrs:{href:"#when-i-install-luckperms-my-server-shuts-down"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms will never shut down your server.")]),t("p",[e._v("If you use AuthMe, make sure to check your console for the following lines:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v("[AuthMe] Aborting initialization "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("of")]),e._v(" AuthMe: [InjectorReflectionException]: Could "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("not")]),e._v(" invoke "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("method")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'setup'")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("for")]),e._v(" fr.xephi.authme.permission.PermissionsManager@xxxxxxxx\n[AuthMe] THE SERVER "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("IS")]),e._v(" GOING "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("TO")]),e._v(" SHUT DOWN "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("AS")]),e._v(" DEFINED "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("IN")]),e._v(" THE CONFIGURATION"),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("!")]),e._v("\n")])]),t("p",[e._v("If those lines are shown, the server was shut down by AuthMe, due to a configuration setting it has by default.")]),t("p",[e._v("To fix, open the AuthMe config.yml and change "),t("code",{pre:!0},[e._v("forceVaultHook")]),e._v(" from false to true.")]),t("hr"),t("h3",{attrs:{id:"luckperms-cannot-download-dependencies",tabindex:"-1"}},[e._v("LuckPerms cannot download dependencies "),t("a",{staticClass:"header-anchor",attrs:{href:"#luckperms-cannot-download-dependencies"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms requires an internet connection to be able to download its dependencies. If LuckPerms does not have a connection or a host is blocking it, the plugin will "),t("strong",[e._v("not")]),e._v(" work.")]),t("blockquote",[t("p",[e._v("me.lucko.luckperms.common.dependencies.DependencyDownloadException: java.net.ConnectException: Connection refused (Connection refused)")])]),t("p",[e._v("An error like this either means that "),t("strong",[e._v("a)")]),e._v(" the server doesn't have an internet connection or "),t("strong",[e._v("b)")]),e._v(" your host is blocking the connection.")]),t("p",[e._v("Do either of the following to resolve this:")]),t("ul",[t("li",[t("p",[e._v("You can install LP locally (where you do have an internet connection), and then copy the content of the "),t("code",{pre:!0},[e._v("/LuckPerms/libs/")]),e._v(" directory to your other server, into the folder "),t("code",{pre:!0},[e._v("/LuckPerms/libs/")]),e._v(".")])]),t("li",[t("p",[e._v("Contact your server host to allow connections from "),t("a",{attrs:{href:"https://libraries.luckperms.net/"}},[e._v("libraries.luckperms.net")]),e._v(" and "),t("a",{attrs:{href:"https://repo1.maven.org/maven2/"}},[e._v("repo1.maven.org")]),e._v(".")])])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},9078:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp"}},[e._v("/lp")])]),t("li",[t("a",{attrs:{href:"#lp-sync"}},[e._v("/lp "),t("code",{pre:!0},[e._v("sync")])])]),t("li",[t("a",{attrs:{href:"#lp-info"}},[e._v("/lp "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"#lp-editor-type-filter"}},[e._v("/lp "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"#lp-verbose-onrecordoffupload-filter"}},[e._v("/lp "),t("code",{pre:!0},[e._v("verbose")]),e._v(" <on | record | off | upload> [filter]")])]),t("li",[t("a",{attrs:{href:"#lp-verbose-command-meplayer-command"}},[e._v("/lp "),t("code",{pre:!0},[e._v("verbose command")]),e._v(" <me | player> <command>")])]),t("li",[t("a",{attrs:{href:"#lp-tree-scope-player"}},[e._v("/lp "),t("code",{pre:!0},[e._v("tree")]),e._v(" [scope] [player]")])]),t("li",[t("a",{attrs:{href:"#lp-search-comparison-permission"}},[e._v("/lp "),t("code",{pre:!0},[e._v("search")]),e._v(" [comparison] <permission>")])]),t("li",[t("a",{attrs:{href:"#lp-networksync"}},[e._v("/lp "),t("code",{pre:!0},[e._v("networksync")])])]),t("li",[t("a",{attrs:{href:"#lp-import-filecode---upload---replace"}},[e._v("/lp "),t("code",{pre:!0},[e._v("import")]),e._v(" <file | code --upload> [--replace]")])]),t("li",[t("a",{attrs:{href:"#lp-export-file--upload"}},[e._v("/lp "),t("code",{pre:!0},[e._v("export")]),e._v(" <file> [--upload]")])]),t("li",[t("a",{attrs:{href:"#lp-reloadconfig"}},[e._v("/lp "),t("code",{pre:!0},[e._v("reloadconfig")])])]),t("li",[t("a",{attrs:{href:"#lp-bulkupdate-data-type-action-action-field-action-value-constraints"}},[e._v("/lp "),t("code",{pre:!0},[e._v("bulkupdate")])])]),t("li",[t("a",{attrs:{href:"#lp-translations"}},[e._v("/lp "),t("code",{pre:!0},[e._v("translations")])])]),t("li",[t("a",{attrs:{href:"#lp-creategroup-name-weight-displayname"}},[e._v("/lp "),t("code",{pre:!0},[e._v("creategroup")]),e._v(" <group> [weight] [displayname]")])]),t("li",[t("a",{attrs:{href:"#lp-deletegroup-name"}},[e._v("/lp "),t("code",{pre:!0},[e._v("deletegroup")]),e._v(" <group>")])]),t("li",[t("a",{attrs:{href:"#lp-listgroups"}},[e._v("/lp "),t("code",{pre:!0},[e._v("listgroups")])])]),t("li",[t("a",{attrs:{href:"#lp-createtrack-name"}},[e._v("/lp "),t("code",{pre:!0},[e._v("createtrack")]),e._v(" <track>")])]),t("li",[t("a",{attrs:{href:"#lp-deletetrack-name"}},[e._v("/lp "),t("code",{pre:!0},[e._v("deletetrack")]),e._v(" <track>")])]),t("li",[t("a",{attrs:{href:"#lp-listtracks"}},[e._v("/lp "),t("code",{pre:!0},[e._v("listtracks")])])])]),t("hr"),t("h4",{attrs:{id:"lp",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": n/a"),t("br"),e._v(" Base LuckPerms command. Will print a list of the LuckPerms commands a user has permission to use, with brief information about what each command does, and what arguments it accepts.")]),t("hr"),t("h4",{attrs:{id:"lp-sync",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp sync")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-sync"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.sync"),t("br"),e._v(" Performs a refresh of all currently loaded data. If any changes have been made to the data in the storage, this command will update the copy on the server to include those changes.")]),t("hr"),t("h4",{attrs:{id:"lp-info",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp info")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-info"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.info"),t("br"),e._v(" Lists some information/data about LuckPerms, including debugging output, statistics, settings, and important values from the configuration.")]),t("hr"),t("h4",{attrs:{id:"lp-editor-type-filter",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp editor [type] [filter]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-editor-type-filter"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.editor"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[type]")]),e._v(' - the types to include in the editor session. can be "all", "users", "online" or "groups"')]),t("li",[t("code",{pre:!0},[e._v("[filter]")]),e._v(' - if the session includes users (e.g. type = "all", "users" or "online"), it will exclude those whose nodes don\'t start with the provided filter. Groups are unaffected by this filter')])]),t("p",[e._v("Opens a web interface to edit permissions data. After changes are saved, a command will be given that you need to run for the changes to take effect.")]),t("hr"),t("h4",{attrs:{id:"lp-verbose-onrecordoffupload-filter",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp verbose <on|record|off|upload> [filter]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-verbose-onrecordoffupload-filter"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.verbose"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<on|record|off|upload>")]),e._v(" - whether to enable/disable logging, or to upload the logged output")]),t("li",[t("code",{pre:!0},[e._v("[filter]")]),e._v(" - the filter to sort the output")])]),t("p",[e._v("Controls the LuckPerms verbose logging system. This allows you to listen for all permission checks against players on the server. Whenever a permission is checked by a plugin, the check is passed onto the verbose handler.")]),t("p",[e._v("If your filters match the permission check, you will be notified.")]),t("p",[t("code",{pre:!0},[e._v("on")]),e._v(" will enable the system, and will send you an alert in chat when the filter is matched. "),t("code",{pre:!0},[e._v("record")]),e._v(" will do the same, however you will not be notified of checks in the chat. "),t("code",{pre:!0},[e._v("off")]),e._v(" will simply disable the checking, and "),t("code",{pre:!0},[e._v("upload")]),e._v(" will upload the first results to the web viewer, and provide you with a link.")]),t("p",[e._v("Filters match the start of permissions or the user being checked. You can use "),t("code",{pre:!0},[e._v("&")]),e._v(" (and) and "),t("code",{pre:!0},[e._v("|")]),e._v(" (or) symbols, and "),t("code",{pre:!0},[e._v("!")]),e._v(" to negate a match. Parenthesis "),t("code",{pre:!0},[e._v("( )")]),e._v(" are also supported.")]),t("p",[t("strong",[e._v("For example:")])]),t("ul",[t("li",[t("code",{pre:!0},[e._v("Luck & (essentials | worldedit)")]),e._v(' - matches any checks made against my user starting with "essentials" or "worldedit"')]),t("li",[t("code",{pre:!0},[e._v("!Luck & !anticheat")]),e._v(' - matches any checks not against my user and not starting with "anticheat"')]),t("li",[t("code",{pre:!0},[e._v("anticheat & !anticheat.check")]),e._v(' - matches any checks starting with "anticheat" but not starting with "anticheat.check"')])]),t("p",[e._v("More information can be found "),t("a",{attrs:{href:"Verbose"}},[t("strong",[e._v("here")])])]),t("hr"),t("h4",{attrs:{id:"lp-verbose-command-meplayer-command",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp verbose command <me|player> <command>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-verbose-command-meplayer-command"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.verbose"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<me|player>")]),e._v(" - the player to perform the verbose check on. Use "),t("code",{pre:!0},[e._v("me")]),e._v(" to select yourself")]),t("li",[t("code",{pre:!0},[e._v("<command>")]),e._v(" - the command to use for the verbose check")])]),t("p",[e._v("Controls the LuckPerms verbose logging system. This allows you to execute a command as a specific player and listen for all permission checks against the player on the server for this command.")]),t("hr"),t("h4",{attrs:{id:"lp-tree-scope-player",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp tree [scope] [player]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-tree-scope-player"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.tree"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[scope]")]),e._v(" - the root of the tree (specify "),t("code",{pre:!0},[e._v(".")]),e._v(" to include all permissions)")]),t("li",[t("code",{pre:!0},[e._v("[player]")]),e._v(" - the name of an online player to check against")])]),t("p",[e._v("Generates a tree view of permissions registered to the server. The tree is built using data exposed to the server by plugins, and expanded over time as plugins check for permissions.")]),t("p",[e._v("All arguments are optional. The default selection is "),t("code",{pre:!0},[e._v(".")]),e._v(" (just a dot, which means all).")]),t("p",[e._v("Scope allows you to only generate a part of the tree. For example, a scope of "),t("code",{pre:!0},[e._v("luckperms.user")]),e._v(' will only return the branch of the tree starting with "luckperms.user".')]),t("hr"),t("h4",{attrs:{id:"lp-search-comparison-permission",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp search [comparison] <permission>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-search-comparison-permission"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.search"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[comparison]")]),e._v(" - the relation between the search and the results")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Comparison")]),t("th",[e._v("Meaning")]),t("th",[e._v("Function")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("==")])]),t("td",[e._v('"Equal to"')]),t("td",[e._v("Default comparator - returns permissions equal to the "),t("code",{pre:!0},[e._v("<permission>")]),e._v(" searched.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!=")])]),t("td",[e._v('"Not Equal to"')]),t("td",[e._v("Returns permissions not equal to the "),t("code",{pre:!0},[e._v("<permission>")]),e._v(" searched.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("~~")])]),t("td",[e._v('"Similar to"')]),t("td",[e._v("Returns permissions 'similar' to the "),t("code",{pre:!0},[e._v("<permission>")]),e._v(" searched. (SQL Style)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!~")])]),t("td",[e._v('"Not Similar to')]),t("td",[e._v("Returns permissions 'not similar' to the "),t("code",{pre:!0},[e._v("<permission>")]),e._v(" searched. (SQL Style)")])])])]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<permission>")]),e._v(" - the permission to search for")])]),t("p",[e._v("Searches all users/groups for a specific permission, and returns a paginated list of all found entries.")]),t("hr"),t("h4",{attrs:{id:"lp-networksync",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp networksync")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-networksync"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.sync"),t("br"),e._v(' Refreshes all cached data with the storage provider, and then uses the plugins Messaging Service (if configured) to "ping" all other connected servers and request that they sync too.')]),t("hr"),t("h4",{attrs:{id:"lp-import-filecode---upload---replace",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp import <file|code --upload> [--replace]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-import-filecode---upload---replace"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.import"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<file>")]),e._v(" - the file to import from")]),t("li",[t("code",{pre:!0},[e._v("<code> --upload")]),e._v(" - the code to web-import from")]),t("li",[t("code",{pre:!0},[e._v("[--replace]")]),e._v(" - if included, will overwrite and replace the existing permissions with the import. If not, they will merge.")])]),t("p",[e._v("Imports data into LuckPerms from a file or from the web. If a file, it must be a JSON GZIP type file, exported from Luckperms v5. If from the web, the code must be generated when exporting with the "),t("code",{pre:!0},[e._v("--upload")]),e._v(" flag. The file is expected to be in the plugin directory. When importing a file, the extension "),t("code",{pre:!0},[e._v(".json.gz")]),e._v(" should be included in the name of the import file. When importing a file or web-export, the "),t("code",{pre:!0},[e._v("--replace")]),e._v(" flag may be added to the end of the command to overwrite and replace the existing permissions setup. If the "),t("code",{pre:!0},[e._v("--replace")]),e._v(" flag is not included, the existing permissions setup will be merged with the imported one.")]),t("hr"),t("h4",{attrs:{id:"lp-export-file--upload",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp export <file|--upload>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-export-file--upload"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.export"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<file>")]),e._v(" - the file to export to")]),t("li",[t("code",{pre:!0},[e._v("<--upload>")]),e._v(" - if added, will export to the web and provide a code for web-based imports.")]),t("li",[t("code",{pre:!0},[e._v("[--without-users]")]),e._v(" - if added, will export only all the group data. The export will not include any user data.")]),t("li",[t("code",{pre:!0},[e._v("[--without-groups]")]),e._v(" - if added, will export only all the user data. The export will not include any group data.")])]),t("p",[e._v("Exports data from LuckPerms into a file or into web-based datastorage. This file can either be used as a backup, or used to move data between LuckPerms installations. The web-based export will expire and should not be used as a backup. The file and the web-based export can be re-imported using the import command. The generated file will be in the plugin directory.")]),t("hr"),t("h4",{attrs:{id:"lp-reloadconfig",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp reloadconfig")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-reloadconfig"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.reloadconfig"),t("br"),e._v(" Reloads some values from the configuration file. Not all entries are reloaded by this command, and some require a full server reboot to take effect. (storage settings, for example)")]),t("hr"),t("h4",{attrs:{id:"lp-bulkupdate-data-type-action-action-field-action-value-constraints",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp bulkupdate <data type> <action> [action field] [action value] [constraints...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-bulkupdate-data-type-action-action-field-action-value-constraints"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": "),t("strong",[e._v("Console Only")]),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<data type>")]),e._v(" - the type of data being changed. (can be "),t("code",{pre:!0},[e._v("all")]),e._v(", "),t("code",{pre:!0},[e._v("users")]),e._v(" or "),t("code",{pre:!0},[e._v("groups")]),e._v(")")]),t("li",[t("code",{pre:!0},[e._v("<action>")]),e._v(" - the action to perform on the data. (can be "),t("code",{pre:!0},[e._v("update")]),e._v(" or "),t("code",{pre:!0},[e._v("delete")]),e._v(")")]),t("li",[t("code",{pre:!0},[e._v("[action field]")]),e._v(" - the field to act upon. only required for update actions. (can be "),t("code",{pre:!0},[e._v("permission")]),e._v(", "),t("code",{pre:!0},[e._v("server")]),e._v(" or "),t("code",{pre:!0},[e._v("world")]),e._v(")")]),t("li",[t("code",{pre:!0},[e._v("[action value]")]),e._v(" - the value to replace with. only required for update actions")]),t("li",[t("code",{pre:!0},[e._v("[constraints]")]),e._v(" - the constraints required for the update")])]),t("p",[e._v("Allows you to perform a bulk modification to all permission data. A detailed guide on how to use this command can be found "),t("a",{attrs:{href:"Bulk-Editing"}},[e._v("here")]),e._v(".")]),t("hr"),t("h4",{attrs:{id:"lp-translations",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp translations")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-translations"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.translations"),t("br"),e._v(" Shows information about loaded translations, and allows installation of community provided translation bundles.")]),t("hr"),t("h4",{attrs:{id:"lp-creategroup-name-weight-displayname",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp creategroup <name> [weight] [displayname]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-creategroup-name-weight-displayname"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.creategroup"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<name>")]),e._v(" - the name of the group")]),t("li",[t("code",{pre:!0},[e._v("[weight]")]),e._v(" - the weight of the group")]),t("li",[t("code",{pre:!0},[e._v("[displayname]")]),e._v(" - the displayname of the group")])]),t("p",[e._v("Creates a new group.")]),t("hr"),t("h4",{attrs:{id:"lp-deletegroup-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp deletegroup <name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-deletegroup-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.deletegroup"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<name>")]),e._v(" - the name of the group")])]),t("p",[e._v("Permanently deletes a group.")]),t("hr"),t("h4",{attrs:{id:"lp-listgroups",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp listgroups")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-listgroups"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.listgroups"),t("br"),e._v(" Displays a list of all current groups.")]),t("hr"),t("h4",{attrs:{id:"lp-createtrack-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp createtrack <name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-createtrack-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.createtrack"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<name>")]),e._v(" - the name of the track")])]),t("p",[e._v("Creates a new track.")]),t("hr"),t("h4",{attrs:{id:"lp-deletetrack-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp deletetrack <name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-deletetrack-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.deletetrack"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<name>")]),e._v(" - the name of the track")])]),t("p",[e._v("Permanently deletes a track.")]),t("hr"),t("h4",{attrs:{id:"lp-listtracks",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp listtracks")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-listtracks"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.listtracks"),t("br"),e._v(" Displays a list of all current tracks.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},4123:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp-group-group-info"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Permission-Commands"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("permission")])])]),t("li",[t("a",{attrs:{href:"Parent-Commands"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("parent")])])]),t("li",[t("a",{attrs:{href:"Meta-Commands"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("meta")])])]),t("li",[t("a",{attrs:{href:"#lp-group-group-editor"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"#lp-group-group-listmembers-page"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("listmembers")]),e._v(" [page]")])]),t("li",[t("a",{attrs:{href:"#lp-group-group-setweight-weight"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("setweight")]),e._v(" <weight>")])]),t("li",[t("a",{attrs:{href:"#lp-group-group-setdisplayname-name"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("setdisplayname")]),e._v(" <name> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-group-group-showtracks"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("showtracks")])])]),t("li",[t("a",{attrs:{href:"#lp-group-group-clear-context"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-group-group-rename-new-name"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("rename")]),e._v(" <new name>")])]),t("li",[t("a",{attrs:{href:"#lp-group-group-clone-new-name"}},[e._v("/lp group <group> "),t("code",{pre:!0},[e._v("clone")]),e._v(" <name of clone>")])])]),t("hr"),t("h4",{attrs:{id:"lp-group-group-info",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> info")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-info"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.info"),t("br"),e._v(" Displays information about a group.")]),t("hr"),t("h4",{attrs:{id:"lp-group-group-editor",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> editor")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-editor"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.editor"),t("br"),e._v(" Opens a web interface to edit permissions for the specified group. After changes are saved, a command will be given that you need to run for the changes to take effect.")]),t("hr"),t("h4",{attrs:{id:"lp-group-group-listmembers-page",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> listmembers [page]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-listmembers-page"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.listmembers"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page to view")])]),t("p",[e._v("Gets a list of the other users/groups which inherit directly from this group.")]),t("hr"),t("h4",{attrs:{id:"lp-group-group-setweight-weight",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> setweight <weight>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-setweight-weight"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.setweight"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<weight>")]),e._v(" - the weight to set")])]),t("p",[e._v("Sets the groups weight value, which determines the order in which groups will be considered when accumulating a users permissions. Higher value = higher weight.")]),t("hr"),t("h4",{attrs:{id:"lp-group-group-setdisplayname-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> setdisplayname <name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-setdisplayname-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.setdisplayname"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<name>")]),e._v(" - the name to set")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the display name in")])]),t("p",[e._v('Sets the groups display name. This can effectively be used as an "alias" for the group.')]),t("hr"),t("h4",{attrs:{id:"lp-group-group-showtracks",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> showtracks")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-showtracks"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.showtracks"),t("br"),e._v(" Displays a list of all of the tracks a group is currently on.")]),t("hr"),t("h4",{attrs:{id:"lp-group-group-clear-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> clear [context]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-clear-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.clear"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to filter by")])]),t("p",[e._v("Clears the group's permissions, parent groups and meta.")]),t("hr"),t("h4",{attrs:{id:"lp-group-group-rename-new-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> rename <new name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-rename-new-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.rename"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<new name>")]),e._v(" - the new name for the group")])]),t("p",[e._v("Changes a group's name. Note that any members of this group will not know about the change, and will still point to the old group name. If you wish to update this, you'll need to use the bulk change feature to update the existing entries.")]),t("hr"),t("h4",{attrs:{id:"lp-group-group-clone-new-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp group <group> clone <new name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-group-group-clone-new-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.group.clone"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<new name>")]),e._v(" - the name of the clone")])]),t("p",[e._v("Makes an exact copy of the group under a different name.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},7661:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("Hello! 👋")]),t("p",[e._v("Welcome to the LuckPerms wiki. Here you will find a complete set of documentation for the plugin, outlining how to install, setup, configure and effectively use LuckPerms.")]),t("h3",{attrs:{id:"where-to-start",tabindex:"-1"}},[e._v("Where to start? "),t("a",{staticClass:"header-anchor",attrs:{href:"#where-to-start"}},[e._v("🔗")])]),t("p",[e._v("If you've never used a permissions plugin before, we suggest you just start at the top and work your way down!")]),t("p",[e._v("The basics of permissions are covered in detail in the "),t("a",{attrs:{href:"Usage"}},[e._v("Getting Started")]),e._v(" page.")]),t("p",[e._v("A more to the point command reference can be found in the "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Command Usage")]),e._v(" subpages.")]),t("h3",{attrs:{id:"how-to-get-help",tabindex:"-1"}},[e._v("How to get help "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-to-get-help"}},[e._v("🔗")])]),t("p",[e._v("Support for the project is provided on "),t("a",{attrs:{href:"https://discord.gg/luckperms"}},[e._v("Discord")]),e._v(".")]),t("p",[e._v("We would appreciate it if you try to look for an answer to your question here on the wiki first. It saves us having to repeatedly answer the same questions!")]),t("p",[e._v("In particular, check the "),t("a",{attrs:{href:"FAQ"}},[e._v("FAQ")]),e._v(' page and the "How To" section. 🙂')]),t("h3",{attrs:{id:"how-to-report-bugs",tabindex:"-1"}},[e._v("How to report bugs "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-to-report-bugs"}},[e._v("🔗")])]),t("p",[e._v("Bug reports live on "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/issues"}},[e._v("GitHub")]),e._v(".")]),t("p",[e._v('You\'ll need to create a GitHub account, then open a new "issue".')]),t("p",[e._v("Before reporting a bug, please make sure it is actually being caused by or related to LuckPerms. We get a lot of reports which are caused by other things - please double check! If you're unsure, feel free to ask us in Discord "),t("em",[e._v("before")]),e._v(" making a report.")]),t("h3",{attrs:{id:"how-to-contribute-to-the-wiki",tabindex:"-1"}},[e._v("How to contribute to the wiki "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-to-contribute-to-the-wiki"}},[e._v("🔗")])]),t("p",[e._v("The text files that make up this wiki are "),t("a",{attrs:{href:"https://github.com/LuckPerms/wiki"}},[e._v("open source")]),e._v(" - we always appreciate contributions!")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},3097:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("There is an "),t("strong",[e._v("beta")]),e._v(" version of "),t("strong",[e._v("LuckPerms for "),t("a",{attrs:{href:"https://hytale.com/"}},[e._v("Hytale")])]),e._v(" available from our "),t("a",{attrs:{href:"https://luckperms.net/download"}},[e._v("downloads page")]),e._v(". This is the same LuckPerms you know and (maybe/hopefully) love from Minecraft, ported across and integrated with Hytale! 🎉")]),t("p",[e._v("LuckPerms for Hytale is built on top of the same common codebase as the other LuckPerms plugin/mods. We believe that basing the Hytale version of LuckPerms on top of the same established core platform as our existing "),t("strong",[e._v("well-proven")]),e._v(" Minecraft releases enables us to provide a very "),t("strong",[e._v("stable")]),e._v(" and "),t("strong",[e._v("performant")]),e._v(' permissions implementation for Hytale, to a higher quality than "bespoke" plugins could. 🥳')]),t("p",[e._v('Some of the documentation here on the wiki and elsewhere in the project is lagging behind slightly and still references Minecraft in a few places. However, thankfully the permissions system in Hytale is very similar to the "Bukkit" system that most of the Minecraft ecosystem has adopted, so most if not all of the existing concepts in LuckPerms for Minecraft apply in Hytale too! Yay!')]),t("p",[e._v("We hope you enjoy using LuckPerms on your Hytale servers!")]),t("h2",{attrs:{id:"faqs",tabindex:"-1"}},[e._v("FAQs "),t("a",{staticClass:"header-anchor",attrs:{href:"#faqs"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#ive-never-used-luckperms-before-how-do-i-get-started"}},[e._v("I've never used LuckPerms before! How do I get started?")])]),t("li",[t("a",{attrs:{href:"#op-doesnt-work-anymore"}},[e._v("OP doesn't work anymore!")])]),t("li",[t("a",{attrs:{href:"#compatibility-with-other-modsplugins"}},[e._v("Compatibility with other mods/plugins")])]),t("li",[t("a",{attrs:{href:"#finding-permissions-and-troubleshooting"}},[e._v("Finding permissions and troubleshooting")])]),t("li",[t("a",{attrs:{href:"#chat-formatting"}},[e._v("Chat formatting")])]),t("li",[t("a",{attrs:{href:"#integrating-with-the-luckperms-api"}},[e._v("Integrating with the LuckPerms API")])]),t("li",[t("a",{attrs:{href:"#known-caveatsissues"}},[e._v("Known caveats/issues")])])]),t("h3",{attrs:{id:"ive-never-used-luckperms-before-how-do-i-get-started",tabindex:"-1"}},[e._v("I've never used LuckPerms before! How do I get started? "),t("a",{staticClass:"header-anchor",attrs:{href:"#ive-never-used-luckperms-before-how-do-i-get-started"}},[e._v("🔗")])]),t("p",[e._v("Hello and welcome! 👋")]),t("p",[e._v("The short answer is, check out the:")]),t("ul",[t("li",[t("strong",[t("a",{attrs:{href:"Installation"}},[e._v("Installation")])]),e._v(" page to learn how to install LuckPerms, then the")]),t("li",[t("strong",[t("a",{attrs:{href:"Usage"}},[e._v("Getting Started")])]),e._v(" page for how to start using it!")])]),t("p",[e._v("After that, if you've never used a permissions plugin before and want to find out more, we suggest you just start at the top and work your way down! A more to the point command reference can be found in the "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Command Usage")]),e._v(" subpages.")]),t("h3",{attrs:{id:"op-doesnt-work-anymore",tabindex:"-1"}},[e._v("OP doesn't work anymore! "),t("a",{staticClass:"header-anchor",attrs:{href:"#op-doesnt-work-anymore"}},[e._v("🔗")])]),t("p",[e._v("When LuckPerms is installed, the built-in Hytale permission system is largely replaced. This is so LuckPerms can intercept and handle permissions checks for players.")]),t("p",[e._v("This means that:")]),t("ul",[t("li",[t("p",[e._v("The built-in "),t("code",{pre:!0},[e._v("/op")]),e._v(" command will not work as expected. Use LuckPerms to configure permissions instead.")])]),t("li",[t("p",[e._v("The built-in "),t("code",{pre:!0},[e._v("/perm")]),e._v(" command will not work as expected. You must use the LuckPerms "),t("code",{pre:!0},[e._v("/lp")]),e._v(" commands to configure permissions for players.")])])]),t("p",[e._v("If you want to replicate OP-like functionality (full access to "),t("strong",[e._v("all")]),e._v(" commands, features, etc), you can use the following LuckPerms commands:")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("/lp user <user> permission set *")]),e._v(" - give "),t("code",{pre:!0},[e._v("<user>")]),e._v(" all permissions")]),t("li",[t("code",{pre:!0},[e._v("/lp group <group> permission set *")]),e._v(" - give any user in "),t("code",{pre:!0},[e._v("<group>")]),e._v(' all permissions (e.g. you may want to do this for your "admin" or "owner" group)')])]),t("h3",{attrs:{id:"compatibility-with-other-modsplugins",tabindex:"-1"}},[e._v("Compatibility with other mods/plugins "),t("a",{staticClass:"header-anchor",attrs:{href:"#compatibility-with-other-modsplugins"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms aims to maintain compatibility with other mods checking permissions via "),t("code",{pre:!0},[e._v("CommandSender#hasPermission")]),e._v(" or "),t("code",{pre:!0},[e._v("PermissionsModule#hasPermission")]),e._v(". If you other mods check for permissions this way, everything should work absolutely fine!")]),t("p",[e._v("By default, LuckPerms will delegate permission checks for non-Player entities to the built-in Hytale permissions system. This means that you "),t("em",[e._v("can")]),e._v(" use the built-in "),t("code",{pre:!0},[e._v("/perm")]),e._v(" commands to configure permissions for "),t("strong",[e._v("non-Player")]),e._v(' NPCs, "service accounts", or the Nitrado "anonymous" user. Player permissions '),t("strong",[e._v("must")]),e._v(" be configured through LuckPerms.")]),t("h3",{attrs:{id:"finding-permissions-and-troubleshooting",tabindex:"-1"}},[e._v("Finding permissions and troubleshooting "),t("a",{staticClass:"header-anchor",attrs:{href:"#finding-permissions-and-troubleshooting"}},[e._v("🔗")])]),t("p",[e._v("If you don't know the permissions associated with a given command or feature, use the LuckPerms verbose feature! See the "),t("a",{attrs:{href:"Verbose"}},[e._v("Verbose")]),e._v(" wiki page for details.")]),t("p",[e._v("You can also use the built-in "),t("code",{pre:!0},[e._v("/help")]),e._v(" command, which will bring up a UI listing available commands and their corresponding permissions.")]),t("h3",{attrs:{id:"chat-formatting",tabindex:"-1"}},[e._v("Chat formatting "),t("a",{staticClass:"header-anchor",attrs:{href:"#chat-formatting"}},[e._v("🔗")])]),t("p",[e._v("In early beta versions, LuckPerms had a built-in chat formatter. Now that the mod/plugin ecosystem has developed a bit, this functionality has been removed from LuckPerms as there are better alternatives available. We suggest you use one of the following approaches format your chat.")]),t("h4",{attrs:{id:"mini-chat-formatter",tabindex:"-1"}},[e._v("mini-chat-formatter "),t("a",{staticClass:"header-anchor",attrs:{href:"#mini-chat-formatter"}},[e._v("🔗")])]),t("p",[t("a",{attrs:{href:"https://github.com/lucko/mini-chat-formatter"}},[e._v("mini-chat-formatter")]),e._v(" is written by the same author as LuckPerms and is a simple Hytale chat formatting mod. It has native integration with LuckPerms.")]),t("p",[e._v("Simply download and install it, then set the following config in "),t("code",{pre:!0},[e._v("mods/lucko_mini-chat-formatter/config.json")]),e._v(":")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"Format"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"<prefix><username><suffix>: <message>"')]),e._v("\n}\n")])]),t("p",[e._v("The format string, as well as the prefix and suffix values support formatting using "),t("a",{attrs:{href:"https://docs.papermc.io/adventure/minimessage/format/"}},[e._v("MiniMessage")]),e._v(". (Yes, this is a Minecraft format, but it's good and it was easier to reuse it!)")]),t("p",[e._v('Formatting from the prefix and suffix will intentionally "'),t("em",[e._v("spill over")]),e._v('" into subsequent parts of the format.')]),t("p",[e._v("Some examples:")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Command")]),t("th",[e._v("Result")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v('/lp user lucko meta setprefix 10 "<red>[ADMIN] "')])]),t("td",[t("img",{attrs:{src:r(5291),alt:""}})])]),t("tr",[t("td",[t("code",{pre:!0},[e._v('/lp user lucko meta setprefix 10 "<red>[ADMIN]</red> "')]),t("br"),e._v("(note the close "),t("code",{pre:!0},[e._v("</red>")]),e._v(" tag).")]),t("td",[t("img",{attrs:{src:r(3312),alt:""}})])]),t("tr",[t("td",[t("code",{pre:!0},[e._v('/lp user lucko meta setprefix 10 "<red>[ADMIN] "')]),t("br"),t("code",{pre:!0},[e._v('/lp user lucko meta setsuffix 10 "<gray>"')])]),t("td",[t("img",{attrs:{src:r(8137),alt:""}})])])])]),t("p",[e._v("Hopefully you get the idea. For more information:")]),t("ul",[t("li",[t("a",{attrs:{href:"https://github.com/lucko/mini-chat-formatter"}},[e._v("mini-chat-formatter")]),e._v(" (GitHub)")]),t("li",[t("a",{attrs:{href:"Prefixes,-Suffixes-&-Meta"}},[e._v("Prefixes, Suffixes & Meta")]),e._v(" (LP wiki)")]),t("li",[t("a",{attrs:{href:"https://docs.papermc.io/adventure/minimessage/format/"}},[e._v("MiniMessage format")]),e._v(" (PaperMC docs)")])]),t("h4",{attrs:{id:"advanced-chat-formatting-options",tabindex:"-1"}},[e._v("Advanced chat formatting options "),t("a",{staticClass:"header-anchor",attrs:{href:"#advanced-chat-formatting-options"}},[e._v("🔗")])]),t("p",[e._v("For more advanced chat formatting, we recommend using a dedicated chat plugin that integrates with LuckPerms. Some options include: HeroChat, EliteEssentials, EssentialsPlus, and others.")]),t("h3",{attrs:{id:"integrating-with-the-luckperms-api",tabindex:"-1"}},[e._v("Integrating with the LuckPerms API "),t("a",{staticClass:"header-anchor",attrs:{href:"#integrating-with-the-luckperms-api"}},[e._v("🔗")])]),t("p",[e._v("We have created a basic example plugin which demonstrates how to access the LuckPerms API from a Hytale plugin.")]),t("p",[t("a",{attrs:{href:"https://github.com/LuckPerms/api-cookbook-hytale"}},[e._v("https://github.com/LuckPerms/api-cookbook-hytale")])]),t("p",[e._v("The key things are:")]),t("h4",{attrs:{id:"1-declare-luckperms-as-a-dependency-or-optional-dependency",tabindex:"-1"}},[e._v("1) Declare LuckPerms as a dependency or optional dependency "),t("a",{staticClass:"header-anchor",attrs:{href:"#1-declare-luckperms-as-a-dependency-or-optional-dependency"}},[e._v("🔗")])]),t("p",[e._v("In your plugin "),t("code",{pre:!0},[e._v("manifest.json")]),e._v(", you must include either:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"Dependencies"')]),e._v(": {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"LuckPerms:LuckPerms"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"*"')]),e._v("\n }\n}\n")])]),t("p",[e._v("or")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"OptionalDependencies"')]),e._v(": {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"LuckPerms:LuckPerms"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"*"')]),e._v("\n }\n}\n")])]),t("p",[e._v("This is because Hytale's plugin manager isolates classloaders between plugins, except if a dependency is declared.")]),t("h4",{attrs:{id:"2-obtain-the-api-instance-from-javapluginstart-or-later",tabindex:"-1"}},[e._v("2) Obtain the API instance from JavaPlugin.start() or later "),t("a",{staticClass:"header-anchor",attrs:{href:"#2-obtain-the-api-instance-from-javapluginstart-or-later"}},[e._v("🔗")])]),t("p",[e._v('LuckPerms performs it\'s final initialisation during the "start" phase, it is '),t("strong",[e._v("not")]),e._v(' ready during the "setup" phase.')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("@Override\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("protected")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("setup")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("()")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// doesn't work! ❌")]),e._v("\n LuckPerms luckPerms = LuckPermsProvider.get();\n }\n\n "),t("span",{pre:!0,attrs:{class:"hljs-function"}},[e._v("@Override\n "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("protected")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("void")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-title"}},[e._v("start")]),t("span",{pre:!0,attrs:{class:"hljs-params"}},[e._v("()")]),e._v(" ")]),e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// works! ✅")]),e._v("\n LuckPerms luckPerms = LuckPermsProvider.get();\n }\n")])]),t("h4",{attrs:{id:"3-playeradapter-and-contextmanager-expect-playerref",tabindex:"-1"}},[e._v("3) PlayerAdapter and ContextManager expect "),t("code",{pre:!0},[e._v("PlayerRef")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#3-playeradapter-and-contextmanager-expect-playerref"}},[e._v("🔗")])]),t("p",[e._v('Methods in the LuckPerms API that expect a "player" object need to be passed a '),t("code",{pre:!0},[e._v("PlayerRef")]),e._v(", "),t("strong",[e._v("not")]),e._v(" a "),t("code",{pre:!0},[e._v("Player")]),e._v(".")]),t("p",[e._v("For example:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-java"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// PlayerAdapter is a convenience class for converting")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// between Hytale's PlayerRef and LuckPerms' User objects")]),e._v("\nPlayerAdapter<PlayerRef> playerAdapter = LuckPermsProvider.get().getPlayerAdapter(PlayerRef.class);\n\nUser user = playerAdapter.getUser(playerRef);\nCachedPermissionData permissionData = playerAdapter.getPermissionData(playerRef);\nCachedMetaData metaData = playerAdapter.getMetaData(playerRef);\n\n"),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("// Get the players prefix, for example :)")]),e._v("\nString prefix = metaData.getPrefix();\n")])]),t("h3",{attrs:{id:"other",tabindex:"-1"}},[e._v("Other "),t("a",{staticClass:"header-anchor",attrs:{href:"#other"}},[e._v("🔗")])]),t("p",[e._v("Please come and chat with us in "),t("a",{attrs:{href:"https://discord.gg/luckperms"}},[e._v("Discord")]),e._v(" for help. There is a dedicated channel for Hytale questions 😃")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},3931:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h2",{attrs:{id:"step-1-download-the-luckperms-jar-file",tabindex:"-1"}},[e._v("Step 1: Download the LuckPerms jar file "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-1-download-the-luckperms-jar-file"}},[e._v("🔗")])]),t("p",[e._v("The first thing you will need to do is download LuckPerms. You can always find the latest versions of LuckPerms for all of the platforms we support on our "),t("a",{attrs:{href:"https://luckperms.net/download"}},[e._v("downloads page")]),e._v(".")]),t("p",[e._v("Just click the link to download and save the file somewhere easily accessible.")]),t("ul",[t("li",[e._v("If you are running a "),t("em",[e._v("non-modded")]),e._v(" server for Minecraft: Java Edition, we recommend that you use "),t("a",{attrs:{href:"https://papermc.io/"}},[e._v("Paper")]),e._v(" as your server.")]),t("li",[e._v("If you are running a "),t("em",[e._v("modded")]),e._v(" server for Minecraft: Java Edition, we recommend that you use "),t("a",{attrs:{href:"https://fabricmc.net/"}},[e._v("Fabric")]),e._v(" or "),t("a",{attrs:{href:"https://neoforged.net/"}},[e._v("NeoForge")]),e._v(" as your server.")]),t("li",[e._v("If you are running a server for Minecraft: Bedrock Edition, we recommend that you use "),t("a",{attrs:{href:"https://cloudburstmc.org/"}},[e._v("Nukkit")]),e._v(" as your server.")]),t("li",[e._v("If you are running a proxy to connect multiple Minecraft servers together, we recommend that you use "),t("a",{attrs:{href:"https://velocitypowered.com/"}},[e._v("Velocity")]),e._v(" or "),t("a",{attrs:{href:"https://papermc.io/downloads#Waterfall"}},[e._v("Waterfall")]),e._v(" (BungeeCord) as your proxy.")]),t("li",[e._v("If you are running a server for Hytale - you don't have much choice (currently)! The vanilla server is fine!")])]),t("p",[e._v("If you haven't got anywhere to host your server yet, check out our partner "),t("a",{attrs:{href:"https://bisecthosting.com/luck"}},[e._v("BisectHosting")]),e._v(", who offer LuckPerms users 25% off all of their game server hosting plans.")]),t("h2",{attrs:{id:"step-2-add-the-luckperms-jar-to-your-servers-plugins-or-mods-folder",tabindex:"-1"}},[e._v("Step 2: Add the LuckPerms jar to your server's "),t("code",{pre:!0},[e._v("plugins")]),e._v(" or "),t("code",{pre:!0},[e._v("mods")]),e._v(" folder "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-2-add-the-luckperms-jar-to-your-servers-plugins-or-mods-folder"}},[e._v("🔗")])]),t("p",[e._v("Next, we need to install LuckPerms onto the server. Make sure you have selected & installed the correct server jar, and that your server has successfully started at least once (this is to ensure the necessary folders will have been generated).")]),t("p",[e._v('Navigate to your hosting panel\'s "File Manager", and open the '),t("code",{pre:!0},[e._v("plugins")]),e._v(" folder (for Bukkit, Paper, etc) or "),t("code",{pre:!0},[e._v("mods")]),e._v(" folder (for Forge, Fabric, Sponge or Hytale).")]),t("p",[t("img",{attrs:{src:r(6883),alt:""}})]),t("p",[e._v('Once you\'re in the plugins or mods folder, click upload and when prompted, select the LuckPerms jar you downloaded in Step 1. Then click "Upload".')]),t("p",[t("img",{attrs:{src:r(4904),alt:""}})]),t("p",[e._v("If you've installed an older version of LuckPerms before, make sure to delete any existing jar files.")]),t("h2",{attrs:{id:"step-3-fully-restart-your-server",tabindex:"-1"}},[e._v("Step 3: Fully restart your server "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-3-fully-restart-your-server"}},[e._v("🔗")])]),t("p",[e._v('Go to your server console and click "restart" or type '),t("code",{pre:!0},[e._v("stop")]),e._v(".")]),t("p",[t("img",{attrs:{src:r(3297),alt:""}})]),t("p",[e._v("When your server starts back up, LuckPerms will enable and generate the default configuration file. You should monitor the console to make sure LuckPerms starts up and enables correctly.")]),t("p",[t("img",{attrs:{src:r(8734),alt:""}})]),t("p",[e._v("LuckPerms is now installed and you can start using it right away! Move onto the "),t("a",{attrs:{href:"Usage"}},[e._v("Getting Started")]),e._v(" section of the wiki for more information about what to do next!")]),t("h2",{attrs:{id:"step-4-configure-luckperms",tabindex:"-1"}},[e._v("Step 4: Configure LuckPerms "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-4-configure-luckperms"}},[e._v("🔗")])]),t("p",[e._v("To customize LuckPerms, you can make changes to its configuration file.")]),t("p",[e._v('Go back to the "File Manager", then open the '),t("code",{pre:!0},[e._v("plugins")]),e._v("/"),t("code",{pre:!0},[e._v("mods")]),e._v(" folder or "),t("code",{pre:!0},[e._v("config")]),e._v(" folder (for Sponge, Fabric or Forge). Then, open the "),t("code",{pre:!0},[e._v("LuckPerms")]),e._v(" folder within.")]),t("p",[t("img",{attrs:{src:r(4519),alt:""}})]),t("p",[e._v("Here you will find a number of files. The important ones are:")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("config.yml")]),e._v(" or "),t("code",{pre:!0},[e._v("luckperms.conf")]),e._v(" - this is the LuckPerms configuration file.")]),t("li",[t("code",{pre:!0},[e._v("luckperms-h2-v2.mv.db")]),e._v(" - this is the database file LuckPerms uses to store your permissions data (don't delete it!)")])]),t("p",[e._v("You can click on the "),t("code",{pre:!0},[e._v("config.yml")]),e._v(" or "),t("code",{pre:!0},[e._v("luckperms.conf")]),e._v(" files to view/edit them.")]),t("h2",{attrs:{id:"step-5-optional-setup-luckperms-to-use-a-mysql-database-or-yml-files-to-store-data",tabindex:"-1"}},[e._v("Step 5 (optional): Setup LuckPerms to use a MySQL database or .yml files to store data "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-5-optional-setup-luckperms-to-use-a-mysql-database-or-yml-files-to-store-data"}},[e._v("🔗")])]),t("p",[e._v("By default, LuckPerms stores all of it's data in a file-based database file called \"H2\". This is great because it's efficient and lets people start using LuckPerms without any extra config steps.")]),t("p",[e._v("However, if you would prefer for LuckPerms data to be stored in "),t("strong",[e._v("readable, editable .yml files")]),e._v(": open "),t("code",{pre:!0},[e._v("config.yml")]),e._v("/"),t("code",{pre:!0},[e._v("luckperms.conf")]),e._v(', scroll down to the "Storage Settings" section and set '),t("code",{pre:!0},[e._v("storage-method")]),e._v(" to "),t("code",{pre:!0},[e._v("yaml")]),e._v(". Then restart your server.")]),t("p",[e._v("If you run multiple servers in a network (or plan to do so in the future), then you will need to setup a remote database like "),t("strong",[e._v("MySQL")]),e._v(" for LuckPerms to store its data in.")]),t("p",[e._v('Most server hosts provide these for free! Find the "Databases" menu, then click "Create database". If prompted, choose "MySQL" as the database type and input a sensible name.')]),t("p",[t("img",{attrs:{src:r(3836),alt:""}})]),t("p",[e._v("After your database has been created, you should be presented with the following: a hostname, database name, username and password.")]),t("p",[t("img",{attrs:{src:r(5461),alt:""}})]),t("p",[e._v("Once you have these details, take a note of them (or duplicate your tab), then navigate back to the LuckPerms "),t("code",{pre:!0},[e._v("config.yml")]),e._v("/"),t("code",{pre:!0},[e._v("luckperms.conf")]),e._v(" file in the file manager and open it.")]),t("p",[e._v('Scroll down to "Storage Settings" secton and set '),t("code",{pre:!0},[e._v("storage-method")]),e._v(" to "),t("code",{pre:!0},[e._v("mysql")]),e._v(". Then fill out your database info under the "),t("code",{pre:!0},[e._v("data:")]),e._v(" section.")]),t("p",[t("img",{attrs:{src:r(6306),alt:""}})]),t("p",[e._v("Click save, then restart your server.")]),t("p",[e._v("You can then confirm in the console that MySQL has been setup correctly. If you see "),t("code",{pre:!0},[e._v("Loading storage provider... [MYSQL]")]),e._v(" followed by no errors, everything is working correctly!")]),t("p",[t("img",{attrs:{src:r(1499),alt:""}})]),t("p",[e._v("Remember, you'll need to complete these steps for all servers you have in your network.")]),t("h2",{attrs:{id:"faq",tabindex:"-1"}},[e._v("FAQ "),t("a",{staticClass:"header-anchor",attrs:{href:"#faq"}},[e._v("🔗")])]),t("h3",{attrs:{id:"where-do-i-install-luckperms",tabindex:"-1"}},[e._v("Where do I install LuckPerms? "),t("a",{staticClass:"header-anchor",attrs:{href:"#where-do-i-install-luckperms"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("If you run a network of servers, you should install LuckPerms into the plugin folder of every server you want to use LuckPerms on.")]),t("li",[e._v("If you also want to use LuckPerms to apply permissions on your Velocity/BungeeCord proxy, you should place LuckPerms-Velocity.jar or LuckPerms-Bungee.jar into your proxy plugins folder too.")]),t("li",[e._v("If you choose to only install LuckPerms on your proxy, it will have no impact on any permission checks performed by plugins on any backend servers. If you want that functionality, you need to install LuckPerms on those servers too.")])]),t("h3",{attrs:{id:"can-i-just-install-luckperms-on-my-proxy",tabindex:"-1"}},[e._v("Can I just install LuckPerms on my proxy? "),t("a",{staticClass:"header-anchor",attrs:{href:"#can-i-just-install-luckperms-on-my-proxy"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("The permissions system used on Velocity/BungeeCord is completely separate from the systems used on the backend server.")]),t("li",[e._v("You "),t("strong",[e._v("can")]),e._v(" just install it on the proxy, but any permission checks which are performed by backend Bukkit/Sponge plugins or Fabric/Forge mods will not be handled by LuckPerms.")])]),t("h2",{attrs:{id:"requirements",tabindex:"-1"}},[e._v("Requirements "),t("a",{staticClass:"header-anchor",attrs:{href:"#requirements"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has a few requirements. The "),t("em",[e._v("vast")]),e._v(" majority of servers will meet these requirements already.")]),t("ul",[t("li",[e._v("You need Java 11 or higher")]),t("li",[e._v("Your server needs access to the internet the first time you load LuckPerms")])]),t("hr"),t("h3",{attrs:{id:"java-11",tabindex:"-1"}},[e._v("Java 11 "),t("a",{staticClass:"header-anchor",attrs:{href:"#java-11"}},[e._v("🔗")])]),t("p",[e._v("Your server must be running "),t("strong",[e._v("Java 11")]),e._v(" or higher. LuckPerms does not work on older versions of Java.")]),t("p",[e._v("Some platforms / Minecraft releases necessitate even new versions of Java (e.g. Java 21) which LuckPerms also supports.")]),t("hr"),t("h3",{attrs:{id:"internet-connection",tabindex:"-1"}},[e._v("Internet Connection "),t("a",{staticClass:"header-anchor",attrs:{href:"#internet-connection"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms uses a number of "),t("a",{attrs:{href:"External-connections"}},[e._v("external libraries")]),e._v(", some of which are "),t("a",{attrs:{href:"External-connections#downloading-libraries"}},[e._v("downloaded automatically at runtime")]),e._v(".")]),t("p",[e._v("If your server does not have an internet connection, you can install LP locally (where you do have an internet connection), and then copy the content of the "),t("code",{pre:!0},[e._v("/LuckPerms/libs/")]),e._v(" directory to your other server.")]),t("h2",{attrs:{id:"compatibility",tabindex:"-1"}},[e._v("Compatibility "),t("a",{staticClass:"header-anchor",attrs:{href:"#compatibility"}},[e._v("🔗")])]),t("p",[e._v("Some known compatibility issues are outlined below. In all cases, these issues are out of our control - and there's nothing we can do to resolve them in LuckPerms itself. 🙁")]),t("p",[e._v("Some of the compatibility issues are resolved in newer releases of the server - but the fixes are not backdated.")]),t("h3",{attrs:{id:"other-permission-plugins",tabindex:"-1"}},[e._v("Other permission plugins "),t("a",{staticClass:"header-anchor",attrs:{href:"#other-permission-plugins"}},[e._v("🔗")])]),t("p",[e._v("For LuckPerms to fully work & handle all permission checks, it must be the only permission plugin installed on your server (unless you want to perform automatic migration)!")]),t("hr"),t("h3",{attrs:{id:"older-minecraft-versions",tabindex:"-1"}},[e._v("Older Minecraft versions "),t("a",{staticClass:"header-anchor",attrs:{href:"#older-minecraft-versions"}},[e._v("🔗")])]),t("p",[e._v("The main release of LuckPerms is not compatible with Minecraft: Java Edition versions earlier than 1.8.8.")]),t("p",[e._v("A Bukkit LuckPerms release for 1.7.10 can be found on our "),t("a",{attrs:{href:"https://luckperms.net/download/"}},[e._v("downloads page")]),e._v(".")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},1098:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h3",{attrs:{id:"overview",tabindex:"-1"}},[e._v("Overview "),t("a",{staticClass:"header-anchor",attrs:{href:"#overview"}},[e._v("🔗")])]),t("p",[e._v("All in-game messages in LuckPerms can be customised and translated using the translation system.")]),t("p",[e._v("The base translation file for "),t("em",[e._v("English")]),e._v(" can be found here: "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/resources/luckperms_en.properties"}},[t("code",{pre:!0},[e._v("luckperms_en.properties")])])]),t("h2",{attrs:{id:"contributing",tabindex:"-1"}},[e._v("Contributing "),t("a",{staticClass:"header-anchor",attrs:{href:"#contributing"}},[e._v("🔗")])]),t("p",[e._v("Translation into other languages is organised on our "),t("a",{attrs:{href:"https://crowdin.com/project/luckperms"}},[e._v("Crowdin project")]),e._v(".")]),t("p",[e._v("We greatly appreciate any help! ❤️")]),t("h2",{attrs:{id:"using-official-community-provided-translations",tabindex:"-1"}},[e._v('Using "official" community provided translations '),t("a",{staticClass:"header-anchor",attrs:{href:"#using-official-community-provided-translations"}},[e._v("🔗")])]),t("p",[e._v("To view a list of installed/available translations, run "),t("code",{pre:!0},[e._v("/lp translations")]),e._v(".")]),t("p",[e._v("To install the latest community provided translations, run "),t("strong",[t("code",{pre:!0},[e._v("/lp translations install")])]),e._v(". (you can keep running this command to re-install and pull any updates)")]),t("p",[e._v("Players will be sent messages translated to the language selected in their Minecraft client settings, if possible. If no such translation exists, the built-in English messages are used.")]),t("h2",{attrs:{id:"using-custom-translations",tabindex:"-1"}},[e._v("Using custom translations "),t("a",{staticClass:"header-anchor",attrs:{href:"#using-custom-translations"}},[e._v("🔗")])]),t("p",[e._v("Translations can be loaded into the plugin as follows:")]),t("ul",[t("li",[e._v("Create the folder "),t("code",{pre:!0},[e._v("/plugins/LuckPerms/translations/")])]),t("li",[e._v("Export the modified "),t("code",{pre:!0},[e._v(".properties")]),e._v(" file, and rename it to "),t("code",{pre:!0},[e._v("<locale id>.properties")]),e._v(". "),t("ul",[t("li",[e._v("A list of the supported locale ids can be found "),t("a",{attrs:{href:"https://www.localeplanet.com/java/"}},[e._v("here")])]),t("li",[e._v("For example, to load translations for "),t("em",[e._v("Spanish")]),e._v(" use "),t("code",{pre:!0},[e._v("es.properties")]),e._v(", or for "),t("em",[e._v("Portuguese (Brazil)")]),e._v(" use "),t("code",{pre:!0},[e._v("pt_BR.properties")])])])]),t("li",[e._v("Restart the server")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},1946:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp-log-recent-user-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("recent")]),e._v(" [user] [page]")])]),t("li",[t("a",{attrs:{href:"#lp-log-search-query-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("search")]),e._v(" <query> [page]")])]),t("li",[t("a",{attrs:{href:"#lp-log-notify-onoff"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("notify")]),e._v(" [on|off]")])]),t("li",[t("a",{attrs:{href:"#lp-log-userhistory-user-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("userhistory")]),e._v(" <user> [page]")])]),t("li",[t("a",{attrs:{href:"#lp-log-grouphistory-group-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("grouphistory")]),e._v(" <group> [page]")])]),t("li",[t("a",{attrs:{href:"#lp-log-trackhistory-track-page"}},[e._v("/lp log "),t("code",{pre:!0},[e._v("trackhistory")]),e._v(" <track> [page]")])])]),t("hr"),t("h4",{attrs:{id:"lp-log-recent-user-page",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp log recent [user] [page]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-log-recent-user-page"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.log.recent"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[user]")]),e._v(" - the name/uuid of the user to filter by")]),t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page number to view")])]),t("p",[e._v("Shows a list of recent actions.")]),t("hr"),t("h4",{attrs:{id:"lp-log-search-query-page",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp log search <query> [page]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-log-search-query-page"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.log.search"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<query>")]),e._v(" - the query to search for")]),t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page number to view")])]),t("p",[e._v("Searches for log entries matching the given query.")]),t("hr"),t("h4",{attrs:{id:"lp-log-notify-onoff",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp log notify [on|off]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-log-notify-onoff"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.log.notify"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[on|off]")]),e._v(" - whether to enable or disable")])]),t("p",[e._v("Toggles log notifications for the sender executing the command.")]),t("hr"),t("h4",{attrs:{id:"lp-log-userhistory-user-page",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp log userhistory <user> [page]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-log-userhistory-user-page"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.log.userhistory"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<user>")]),e._v(" - the user to search for")]),t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page number to view")])]),t("p",[e._v("Searches for log entries acting upon the given user.")]),t("hr"),t("h4",{attrs:{id:"lp-log-grouphistory-group-page",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp log grouphistory <group> [page]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-log-grouphistory-group-page"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.log.grouphistory"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to search for")]),t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page number to view")])]),t("p",[e._v("Searches for log entries acting upon the given group.")]),t("hr"),t("h4",{attrs:{id:"lp-log-trackhistory-track-page",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp log trackhistory <track> [page]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-log-trackhistory-track-page"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.log.trackhistory"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<track>")]),e._v(" - the track to search for")]),t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page number to view")])]),t("p",[e._v("Searches for log entries acting upon the given track.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},3225:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-info"}},[t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-set-key-value-context"}},[t("code",{pre:!0},[e._v("set")]),e._v(" <key> <value> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-unset-key-value-context"}},[t("code",{pre:!0},[e._v("unset")]),e._v(" <key> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-settemp-key-value-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settemp")]),e._v(" <key> <value> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-unsettemp-key-context"}},[t("code",{pre:!0},[e._v("unsettemp")]),e._v(" <key> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-addprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("addprefix")]),e._v(" <priority> <prefix> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-addsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("addsuffix")]),e._v(" <priority> <suffix> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-setprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("setprefix")]),e._v(" [priority] <prefix> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-setsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("setsuffix")]),e._v(" [priority] <suffix> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-removeprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("removeprefix")]),e._v(" <priority> [prefix] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-removesuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("removesuffix")]),e._v(" <priority> [suffix] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-addtempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("addtempprefix")]),e._v(" <priority> <prefix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-addtempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("addtempsuffix")]),e._v(" <priority> <suffix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-settempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settempprefix")]),e._v(" [priority] <prefix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-settempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settempsuffix")]),e._v(" [priority] <suffix> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-removetempprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("removetempprefix")]),e._v(" <priority> [prefix] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-removetempsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("removetempsuffix")]),e._v(" <priority> [suffix] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-meta-clear-type-context"}},[t("code",{pre:!0},[e._v("clear")]),e._v(" [type] [context...]")])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-info",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta info")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-info"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.info or luckperms.group.meta.info"),t("br"),e._v(" Displays a list of a user/group's inherited meta (options), prefixes and suffixes.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-set-key-value-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta set <key> <value> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-set-key-value-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.set or luckperms.group.meta.set"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<key>")]),e._v(" - the key to set")]),t("li",[t("code",{pre:!0},[e._v("<value>")]),e._v(" - the value to set the key to")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the meta in")])]),t("p",[e._v("Sets a meta key value pair for a user/group. These values can be read and modified by other plugins using Vault or the Sponge Permissions API.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-unset-key-value-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta unset <key> <value> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-unset-key-value-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.unset or luckperms.group.meta.unset"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<key>")]),e._v(" - the key to unset")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to unset the meta in")])]),t("p",[e._v("Unsets a meta key value pair for a user/group.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-settemp-key-value-duration-temporary-modifier-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta settemp <key> <value> <duration> [temporary modifier] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-settemp-key-value-duration-temporary-modifier-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.settemp or luckperms.group.meta.settemp"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<key>")]),e._v(" - the key to set")]),t("li",[t("code",{pre:!0},[e._v("<value>")]),e._v(" - the value to set the key to")]),t("li",[t("code",{pre:!0},[e._v("<duration>")]),e._v(" - the duration until the meta will expire")]),t("li",[t("code",{pre:!0},[e._v("[temporary modifier]")]),e._v(" - how the temporary permission should be applied")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the meta in")])]),t("p",[e._v('Sets a temporary meta key value pair for a user/group. Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "3d13h45m" will set the permission to expire in 3 days, 13 hours and 45 minutes time. "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.'),t("br"),e._v(" LuckPerms uses a format for the relative time similar to the "),t("a",{attrs:{href:"https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html"}},[e._v("SimpleDateFormat")]),e._v(" used in java. I.e. "),t("code",{pre:!0},[e._v("1M")]),e._v(" would be one month while "),t("code",{pre:!0},[e._v("1m")]),e._v(" would be one minute.")]),t("p",[e._v('The "temporary modifier" argument allows you to specify how the permission should be accumulated. You can pick between 3 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Modifier key")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("accumulate")])]),t("td",[e._v("the duration of any existing nodes will just be added to the new duration")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("replace")])]),t("td",[e._v("the longest duration will be kept, any others nodes will be forgotten")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("deny")])]),t("td",[e._v("the command will just fail if you try to add a duplicate temporary node")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-unsettemp-key-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta unsettemp <key> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-unsettemp-key-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.unsettemp or luckperms.group.meta.unsettemp"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<key>")]),e._v(" - the key to unset")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to unset the meta in")])]),t("p",[e._v("Unsets a temporary meta key value pair for a user/group.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-addprefix-priority-prefix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta addprefix <priority> <prefix> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-addprefix-priority-prefix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.addprefix or luckperms.group.meta.addprefix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to add the prefix at")]),t("li",[t("code",{pre:!0},[e._v("<prefix>")]),e._v(" - the actual prefix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to add the prefix in")])]),t("p",[e._v('Adds a prefix to a user/group. You can wrap the prefix in " " quotes to escape spaces.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-addsuffix-priority-suffix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta addsuffix <priority> <suffix> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-addsuffix-priority-suffix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.addsuffix or luckperms.group.meta.addsuffix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to add the suffix at")]),t("li",[t("code",{pre:!0},[e._v("<suffix>")]),e._v(" - the actual suffix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to add the suffix in")])]),t("p",[e._v('Adds a suffix to a user/group. You can wrap the suffix in " " quotes to escape spaces.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-setprefix-priority-prefix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta setprefix [priority] <prefix> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-setprefix-priority-prefix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.setprefix or luckperms.group.meta.setprefix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[priority]")]),e._v(" - the priority to set the prefix at")]),t("li",[t("code",{pre:!0},[e._v("<prefix>")]),e._v(" - the actual prefix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the prefix in")])]),t("p",[e._v('Sets a prefix for a user/group. You can wrap the prefix in " " quotes to escape spaces. This is different from the '),t("code",{pre:!0},[e._v("addprefix")]),e._v(" command in that existing prefixes set in the same context are removed when the new prefix is added. Another difference is that the priority argument is optional in the setprefix command - LuckPerms will determine an appropriate value for the priority when the command is ran.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-setsuffix-priority-suffix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta setsuffix [priority] <suffix> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-setsuffix-priority-suffix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.setsuffix or luckperms.group.meta.setsuffix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[priority]")]),e._v(" - the priority to set the suffix at")]),t("li",[t("code",{pre:!0},[e._v("<suffix>")]),e._v(" - the actual suffix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the suffix in")])]),t("p",[e._v('Sets a suffix for a user/group. You can wrap the suffix in " " quotes to escape spaces. This is different from the '),t("code",{pre:!0},[e._v("addsuffix")]),e._v(" command in that existing suffixes set in the same context are removed when the new suffix is added. Another difference is that the priority argument is optional in the setsuffix command - LuckPerms will determine an appropriate value for the priority when the command is ran.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-removeprefix-priority-prefix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta removeprefix <priority> [prefix] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-removeprefix-priority-prefix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.removeprefix or luckperms.group.meta.removeprefix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to remove the prefix at")]),t("li",[t("code",{pre:!0},[e._v("[prefix]")]),e._v(" - the actual prefix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to remove the prefix in")])]),t("p",[e._v('Removes a prefix from a user/group. You can wrap the prefix in " " quotes to escape spaces.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-removesuffix-priority-suffix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta removesuffix <priority> [suffix] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-removesuffix-priority-suffix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.removesuffix or luckperms.group.meta.removesuffix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to remove the suffix at")]),t("li",[t("code",{pre:!0},[e._v("[suffix]")]),e._v(" - the actual suffix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to remove the suffix in")])]),t("p",[e._v('Removes a suffix from a user/group. You can wrap the suffix in " " quotes to escape spaces.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-addtempprefix-priority-prefix-duration-temporary-modifier-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta addtempprefix <priority> <prefix> <duration> [temporary modifier] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-addtempprefix-priority-prefix-duration-temporary-modifier-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.addtempprefix or luckperms.group.meta.addtempprefix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to add the prefix at")]),t("li",[t("code",{pre:!0},[e._v("<prefix>")]),e._v(" - the actual prefix string")]),t("li",[t("code",{pre:!0},[e._v("<duration>")]),e._v(" - the duration until the prefix will expire")]),t("li",[t("code",{pre:!0},[e._v("[temporary modifier]")]),e._v(" - how the temporary permission should be applied")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to add the prefix in")])]),t("p",[e._v('Adds a prefix to a user/group temporarily. You can wrap the prefix in " " quotes to escape spaces. Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "3d13h45m" will set the permission to expire in 3 days, 13 hours and 45 minutes time. "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.'),t("br"),e._v(" LuckPerms uses a format for the relative time similar to the "),t("a",{attrs:{href:"https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html"}},[e._v("SimpleDateFormat")]),e._v(" used in java. I.e. "),t("code",{pre:!0},[e._v("1M")]),e._v(" would be one month while "),t("code",{pre:!0},[e._v("1m")]),e._v(" would be one minute.")]),t("p",[e._v('The "temporary modifier" argument allows you to specify how the permission should be accumulated. You can pick between 3 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Modifier key")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("accumulate")])]),t("td",[e._v("the duration of any existing nodes will just be added to the new duration")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("replace")])]),t("td",[e._v("the longest duration will be kept, any others nodes will be forgotten")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("deny")])]),t("td",[e._v("the command will just fail if you try to add a duplicate temporary node")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-addtempsuffix-priority-suffix-duration-temporary-modifier-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta addtempsuffix <priority> <suffix> <duration> [temporary modifier] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-addtempsuffix-priority-suffix-duration-temporary-modifier-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.addtempsuffix or luckperms.group.meta.addtempsuffix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to add the suffix at")]),t("li",[t("code",{pre:!0},[e._v("<suffix>")]),e._v(" - the actual suffix string")]),t("li",[t("code",{pre:!0},[e._v("<duration>")]),e._v(" - the duration until the suffix will expire")]),t("li",[t("code",{pre:!0},[e._v("[temporary modifier]")]),e._v(" - how the temporary permission should be applied")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to add the suffix in")])]),t("p",[e._v('Adds a suffix to a user/group temporarily. You can wrap the suffix in " " quotes to escape spaces. Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "3d13h45m" will set the permission to expire in 3 days, 13 hours and 45 minutes time. "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.'),t("br"),e._v(" LuckPerms uses a format for the relative time similar to the "),t("a",{attrs:{href:"https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html"}},[e._v("SimpleDateFormat")]),e._v(" used in java. I.e. "),t("code",{pre:!0},[e._v("1M")]),e._v(" would be one month while "),t("code",{pre:!0},[e._v("1m")]),e._v(" would be one minute.")]),t("p",[e._v('The "temporary modifier" argument allows you to specify how the permission should be accumulated. You can pick between 3 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Modifier key")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("accumulate")])]),t("td",[e._v("the duration of any existing nodes will just be added to the new duration")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("replace")])]),t("td",[e._v("the longest duration will be kept, any others nodes will be forgotten")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("deny")])]),t("td",[e._v("the command will just fail if you try to add a duplicate temporary node")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-settempprefix-priority-prefix-duration-temporary-modifier-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta settempprefix [priority] <prefix> <duration> [temporary modifier] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-settempprefix-priority-prefix-duration-temporary-modifier-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.settempprefix or luckperms.group.meta.settempprefix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[priority]")]),e._v(" - the priority to set the prefix at")]),t("li",[t("code",{pre:!0},[e._v("<prefix>")]),e._v(" - the actual prefix string")]),t("li",[t("code",{pre:!0},[e._v("<duration>")]),e._v(" - the duration until the prefix will expire")]),t("li",[t("code",{pre:!0},[e._v("[temporary modifier]")]),e._v(" - how the temporary permission should be applied")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the prefix in")])]),t("p",[e._v('Sets a prefix to a user/group temporarily. You can wrap the prefix in " " quotes to escape spaces. This is different from the '),t("code",{pre:!0},[e._v("addtempprefix")]),e._v(" command in that existing prefixes set in the same context are removed when the new prefix is added. Another difference is that the priority argument is optional in the settempprefix command - LuckPerms will dertermine an appropriate value for the priority when the command is ran.")]),t("p",[e._v('Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "3d13h45m" will set the permission to expire in 3 days, 13 hours and 45 minutes time. "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.'),t("br"),e._v(" LuckPerms uses a format for the relative time similar to the "),t("a",{attrs:{href:"https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html"}},[e._v("SimpleDateFormat")]),e._v(" used in java. I.e. "),t("code",{pre:!0},[e._v("1M")]),e._v(" would be one month while "),t("code",{pre:!0},[e._v("1m")]),e._v(" would be one minute.")]),t("p",[e._v('The "temporary modifier" argument allows you to specify how the permission should be accumulated. You can pick between 3 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Modifier key")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("accumulate")])]),t("td",[e._v("the duration of any existing nodes will just be added to the new duration")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("replace")])]),t("td",[e._v("the longest duration will be kept, any others nodes will be forgotten")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("deny")])]),t("td",[e._v("the command will just fail if you try to add a duplicate temporary node")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-settempsuffix-priority-suffix-duration-temporary-modifier-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta settempsuffix [priority] <suffix> <duration> [temporary modifier] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-settempsuffix-priority-suffix-duration-temporary-modifier-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.settempsuffix or luckperms.group.meta.settempsuffix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[priority]")]),e._v(" - the priority to set the suffix at")]),t("li",[t("code",{pre:!0},[e._v("<suffix>")]),e._v(" - the actual suffix string")]),t("li",[t("code",{pre:!0},[e._v("<duration>")]),e._v(" - the duration until the suffix will expire")]),t("li",[t("code",{pre:!0},[e._v("[temporary modifier]")]),e._v(" - how the temporary permission should be applied")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the suffix in")])]),t("p",[e._v('Sets a suffix to a user/group temporarily. You can wrap the suffix in " " quotes to escape spaces. This is different from the '),t("code",{pre:!0},[e._v("addtempsuffix")]),e._v(" command in that existing suffixes set in the same context are removed when the new suffix is added. Another difference is that the priority argument is optional in the settempsuffix command - LuckPerms will dertermine an appropriate value for the priority when the command is ran.")]),t("p",[e._v('Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "3d13h45m" will set the permission to expire in 3 days, 13 hours and 45 minutes time. "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.'),t("br"),e._v(" LuckPerms uses a format for the relative time similar to the "),t("a",{attrs:{href:"https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html"}},[e._v("SimpleDateFormat")]),e._v(" used in java. I.e. "),t("code",{pre:!0},[e._v("1M")]),e._v(" would be one month while "),t("code",{pre:!0},[e._v("1m")]),e._v(" would be one minute.")]),t("p",[e._v('The "temporary modifier" argument allows you to specify how the permission should be accumulated. You can pick between 3 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Modifier key")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("accumulate")])]),t("td",[e._v("the duration of any existing nodes will just be added to the new duration")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("replace")])]),t("td",[e._v("the longest duration will be kept, any others nodes will be forgotten")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("deny")])]),t("td",[e._v("the command will just fail if you try to add a duplicate temporary node")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-removetempprefix-priority-prefix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta removetempprefix <priority> [prefix] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-removetempprefix-priority-prefix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.removetempprefix or luckperms.group.meta.removetempprefix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to remove the prefix at")]),t("li",[t("code",{pre:!0},[e._v("[prefix]")]),e._v(" - the actual prefix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to remove the prefix in")])]),t("p",[e._v('Removes a tempoary prefix from a user/group. You can wrap the prefix in " " quotes to escape spaces.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-removetempsuffix-priority-suffix-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta removetempsuffix <priority> [suffix] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-removetempsuffix-priority-suffix-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.removetempsuffix or luckperms.group.meta.removetempsuffix"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<priority>")]),e._v(" - the priority to remove the suffix at")]),t("li",[t("code",{pre:!0},[e._v("[suffix]")]),e._v(" - the actual suffix string")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to remove the suffix in")])]),t("p",[e._v('Removes a temporary suffix from a user/group. You can wrap the suffix in " " quotes to escape spaces.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-meta-clear-type-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> meta clear [type] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-meta-clear-type-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.meta.clear or luckperms.group.meta.clear"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[type]")]),e._v(" - the type of meta you would like to clear")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Type")]),t("th",[e._v("Meaning")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("any")]),e._v("/"),t("code",{pre:!0},[e._v("all")]),e._v("/"),t("code",{pre:!0},[e._v("*")])]),t("td",[e._v("Default type - clears all meta")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("chat")]),e._v("/"),t("code",{pre:!0},[e._v("chatmeta")])]),t("td",[e._v("Clears all prefixes and suffixes")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("meta")])]),t("td",[e._v("Clears non-chat meta (No prefixes/suffixes)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("prefix")]),e._v("/"),t("code",{pre:!0},[e._v("prefixes")])]),t("td",[e._v("Clears prefixes")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("suffix")]),e._v("/"),t("code",{pre:!0},[e._v("suffixes")])]),t("td",[e._v("Clears suffixes")])])])]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to filter by")])]),t("p",[e._v("Removes all meta/prefixes/suffixes.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},3553:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This page is a continuation of the main "),t("a",{attrs:{href:"Migration"}},[e._v("Migration guide")]),e._v(".")]),t("p",[e._v("Once you've followed the instructions to move your data from GroupManager or PermissionsEx to LuckPerms, the resources on this page will hopefully help you to quickly get up to speed!")]),t("p",[e._v("Firstly, there are some tables below which compare the commands in GroupManager and PermissionsEx with their "),t("strong",[e._v("equivalents")]),e._v(" in LuckPerms. If you knew how to do something in GM or PEX, hopefully these tables will help you to quickly find how to do it in LuckPerms.")]),t("p",[e._v("Of course, there is also the "),t("a",{attrs:{href:"Command-Usage"}},[e._v("full command documentation for LuckPerms")]),e._v(", which is probably better to get used to!")]),t("p",[e._v("Secondly, there is an additional resource that you can install to your server that will allow you to keep using "),t("em",[e._v("some")]),e._v(" PermissionsEx and GroupManager commands, and have them automatically routed to LuckPerms. You can find more information about that "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPermsCompat"}},[e._v("here")]),e._v('. However, generally, we encourage that you "rip off the bandaid" so to speak and get used to the '),t("em",[e._v("proper")]),e._v(" LuckPerms commands right away - with a little time they will become 2nd nature just like GM or PEX commands once did!")]),t("p",[e._v("Good luck, and we hope you enjoy using LuckPerms!")]),t("h4",{attrs:{id:"groupmanager-command-equivalents",tabindex:"-1"}},[e._v("GroupManager command equivalents "),t("a",{staticClass:"header-anchor",attrs:{href:"#groupmanager-command-equivalents"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("GroupManager")]),t("th",[e._v("LuckPerms")])])]),t("tbody",[t("tr",[t("td",[e._v("manuadd <player> <group>")]),t("td",[e._v("lp user <player> parent set <group>")])]),t("tr",[t("td",[e._v("manudel <player>")]),t("td",[e._v("lp user <player> clear")])]),t("tr",[t("td",[e._v("manuaddsub <player> <group>")]),t("td",[e._v("lp user <player> parent add <group>")])]),t("tr",[t("td",[e._v("manudelsub <player> <group>")]),t("td",[e._v("lp user <player> parent remove <group>")])]),t("tr",[t("td",[e._v("manpromote <player> <group>")]),t("td",[e._v("lp user <player> promote <track>")])]),t("tr",[t("td",[e._v("mandemote <player> <group>")]),t("td",[e._v("lp user <player> demote <track>")])]),t("tr",[t("td",[e._v("manwhois <player>")]),t("td",[e._v("lp user <player> info")])]),t("tr",[t("td",[e._v("manuaddp <player> <permission>")]),t("td",[e._v("lp user <player> permission set <permission> true")])]),t("tr",[t("td",[e._v("manudelp <player> <permission>")]),t("td",[e._v("lp user <player> permission unset <permission>")])]),t("tr",[t("td",[e._v("manulistp <player>")]),t("td",[e._v("lp user <player> permission info")])]),t("tr",[t("td",[e._v("manucheckp <player> <permission>")]),t("td",[e._v("lp user <player> haspermission <permission>")])]),t("tr",[t("td",[e._v("manuaddv <player> prefix <value>")]),t("td",[e._v("lp user <player> meta addprefix <priority> <value>")])]),t("tr",[t("td",[e._v("manuaddv <player> suffix <value>")]),t("td",[e._v("lp user <player> meta addsuffix <priority> <value>")])]),t("tr",[t("td",[e._v("manuaddv <player> <variable> <value>")]),t("td",[e._v("lp user <player> meta set <variable> <value>")])]),t("tr",[t("td",[e._v("manudelv <player> <variable>")]),t("td",[e._v("lp user <player> meta unset <variable>")])]),t("tr",[t("td",[e._v("manulistv <player>")]),t("td",[e._v("lp user <player> meta info")])]),t("tr",[t("td"),t("td")]),t("tr",[t("td",[e._v("mangadd <group>")]),t("td",[e._v("lp creategroup <group>")])]),t("tr",[t("td",[e._v("mangdel <group>")]),t("td",[e._v("lp deletegroup <group>")])]),t("tr",[t("td",[e._v("mangaddi <group1> <group2>")]),t("td",[e._v("lp group <group1> parent add <group2>")])]),t("tr",[t("td",[e._v("mangdeli <group1> <group2>")]),t("td",[e._v("lp group <group1> parent remove <group2>")])]),t("tr",[t("td",[e._v("listgroups")]),t("td",[e._v("lp listgroups")])]),t("tr",[t("td",[e._v("mangaddp <group> <permission>")]),t("td",[e._v("lp group <group> permission set <permission> true")])]),t("tr",[t("td",[e._v("mangdelp <group> <permission>")]),t("td",[e._v("lp group <group> permission unset <permission>")])]),t("tr",[t("td",[e._v("manglistp <group>")]),t("td",[e._v("lp group <group> permission info")])]),t("tr",[t("td",[e._v("mangcheckp <group> <permission>")]),t("td",[e._v("lp group <group> haspermission <permission>")])]),t("tr",[t("td",[e._v("mangaddv <player> prefix <value>")]),t("td",[e._v("lp group <group> meta addprefix <priority> <value>")])]),t("tr",[t("td",[e._v("mangaddv <player> suffix <value>")]),t("td",[e._v("lp group <group> meta addsuffix <priority> <value>")])]),t("tr",[t("td",[e._v("mangaddv <player> <variable> <value>")]),t("td",[e._v("lp group <group> meta set <variable> <value>")])]),t("tr",[t("td",[e._v("mangdelv <player> <variable>")]),t("td",[e._v("lp group <group> meta unset <variable>")])]),t("tr",[t("td",[e._v("manglistv <player>")]),t("td",[e._v("lp group <group> meta info")])]),t("tr",[t("td"),t("td")]),t("tr",[t("td",[e._v("mansave")]),t("td",[e._v("lp sync")])]),t("tr",[t("td",[e._v("manload")]),t("td",[e._v("lp sync")])])])]),t("h4",{attrs:{id:"permissionsex-command-equivalents",tabindex:"-1"}},[e._v("PermissionsEx command equivalents "),t("a",{staticClass:"header-anchor",attrs:{href:"#permissionsex-command-equivalents"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("PermissionsEx")]),t("th",[e._v("LuckPerms")])])]),t("tbody",[t("tr",[t("td",[e._v("pex")]),t("td",[e._v("lp")])]),t("tr",[t("td",[e._v("pex reload")]),t("td",[e._v("lp sync")])]),t("tr",[t("td",[e._v("pex toggle debug")]),t("td",[t("a",{attrs:{href:"Verbose"}},[e._v("lp verbose <option>")])])]),t("tr",[t("td",[e._v("pex user <user> check <permission>")]),t("td",[e._v("lp user <user> haspermission <permission>")])]),t("tr",[t("td",[e._v("pex backend")]),t("td",[e._v("lp info")])]),t("tr",[t("td",[e._v("pex import <backend>")]),t("td",[e._v("lp export <file> / lp import <file>")])]),t("tr",[t("td"),t("td")]),t("tr",[t("td",[e._v("pex user <user> list")]),t("td",[e._v("lp user <user> permission info")])]),t("tr",[t("td",[e._v("pex user <user> prefix")]),t("td",[e._v("lp user <user> meta info")])]),t("tr",[t("td",[e._v("pex user <user> prefix <prefix>")]),t("td",[e._v("lp user <user> meta addprefix <priority> <prefix>")])]),t("tr",[t("td",[e._v("pex user <user> suffix")]),t("td",[e._v("lp user <user> meta info")])]),t("tr",[t("td",[e._v("pex user <user> suffix <suffix>")]),t("td",[e._v("lp user <user> meta addsuffix <priority> <suffix>")])]),t("tr",[t("td",[e._v("pex user <user> delete")]),t("td",[e._v("lp user <user> clear")])]),t("tr",[t("td",[e._v("pex user <user> add <permission> <world>")]),t("td",[e._v("lp user <user> permission set <permission> <true/false> world=<world>")])]),t("tr",[t("td",[e._v("pex user <user> remove <permission> <world>")]),t("td",[e._v("lp user <user> permission unset <permission> world=<world>")])]),t("tr",[t("td",[e._v("pex user <user> timed add <permission> <time> <world>")]),t("td",[e._v("lp user <user> permission settemp <permission> <true/false> <time> world=<world>")])]),t("tr",[t("td",[e._v("pex user <user> timed remove <permission> <time> <world>")]),t("td",[e._v("lp user <user> permission unsettemp <permission> world=<world>")])]),t("tr",[t("td",[e._v("pex user <user> set <option> <value> <world>")]),t("td",[e._v("lp user <user> meta set <option> <value> world=<world>")])]),t("tr",[t("td"),t("td")]),t("tr",[t("td",[e._v("pex user <user> group list")]),t("td",[e._v("lp user <user> parent info")])]),t("tr",[t("td",[e._v("pex user <user> group add <group> <world>")]),t("td",[e._v("lp user <user> parent add <group> world=<world>")])]),t("tr",[t("td",[e._v("pex user <user> group add <group> <world> <time>")]),t("td",[e._v("lp user <user> parent addtemp <group> <time> world=<world>")])]),t("tr",[t("td",[e._v("pex user <user> group set <group>")]),t("td",[e._v("lp user <user> parent set <group>")])]),t("tr",[t("td",[e._v("pex user <user> group remove <group> <world>")]),t("td",[e._v("lp user <user> parent remove <group> world=<world>")])]),t("tr",[t("td",[e._v("pex groups list")]),t("td",[e._v("lp listgroups")])]),t("tr",[t("td",[e._v("pex group <group> list")]),t("td",[e._v("lp group <group> permission info")])]),t("tr",[t("td",[e._v("pex group <group> prefix")]),t("td",[e._v("lp group <group> meta info")])]),t("tr",[t("td",[e._v("pex group <group> prefix <prefix>")]),t("td",[e._v("lp group <group> meta addprefix <priority> <prefix>")])]),t("tr",[t("td",[e._v("pex group <group> suffix")]),t("td",[e._v("lp group <group> meta info")])]),t("tr",[t("td",[e._v("pex group <group> suffix <suffix>")]),t("td",[e._v("lp group <group> meta addsuffix <priority> <suffix>")])]),t("tr",[t("td",[e._v("pex group <group> create")]),t("td",[e._v("lp creategroup <group>")])]),t("tr",[t("td",[e._v("pex group <group> delete")]),t("td",[e._v("lp deletegroup <group>")])]),t("tr",[t("td",[e._v("pex group <group> parents list")]),t("td",[e._v("lp group <group> parent info")])]),t("tr",[t("td",[e._v("pex group <group> users")]),t("td",[e._v("lp group <group> listmembers")])]),t("tr",[t("td",[e._v("pex group <group> parents set <parents>")]),t("td",[e._v("lp group <group> parent add <parent>")])]),t("tr",[t("td",[e._v("pex group <group> add <permission> <world>")]),t("td",[e._v("lp group <group> permission set <permission> <true/false> world=<world>")])]),t("tr",[t("td",[e._v("pex group <group> remove <permission> <world>")]),t("td",[e._v("lp group <group> permission unset <permission> world=<world>")])]),t("tr",[t("td",[e._v("pex group <group> timed add <permission> <time> <world>")]),t("td",[e._v("lp group <group> permission settemp <permission> <true/false> <time> world=<world>")])]),t("tr",[t("td",[e._v("pex group <group> timed remove <permission> <time> <world>")]),t("td",[e._v("lp group <group> permission unsettemp <permission> world=<world>")])]),t("tr",[t("td",[e._v("pex group <group> set <option> <value> <world>")]),t("td",[e._v("lp group <group> meta set <option> <value> world=<world>")])]),t("tr",[t("td"),t("td")]),t("tr",[t("td",[e._v("pex group <group> user add <user>")]),t("td",[e._v("lp user <user> parent add <group>")])]),t("tr",[t("td",[e._v("pex group <group> user remove <user>")]),t("td",[e._v("lp user <user> parent remove <group>")])]),t("tr",[t("td",[e._v("pex promote <user> <ladder>")]),t("td",[e._v("lp user <user> promote <ladder>")])]),t("tr",[t("td",[e._v("pex demote <user> <ladder>")]),t("td",[e._v("lp user <user> demote <ladder>")])])])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},9760:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v('LuckPerms is able to automatically import permissions data from other plugins - we call this system "migration".')]),t("h3",{attrs:{id:"intro",tabindex:"-1"}},[e._v("Intro "),t("a",{staticClass:"header-anchor",attrs:{href:"#intro"}},[e._v("🔗")])]),t("p",[e._v("It should be noted that these scripts are not perfect. They will do a pretty decent job at converting all of your existing data, and work perfectly in "),t("em",[e._v("most cases")]),e._v(". However, not all data is the same, and there are sometimes things I haven't accounted for.")]),t("p",[e._v("LuckPerms has some similarities with other permission plugins, however, some parts are fundamentally different, and therefore sometimes automatic migration is tricky.")]),t("p",[e._v("Additionally, letting the plugin migrate all of your data for you means you will not have a chance to learn any of the LuckPerms commands. This may become an issue later on. 😉 If you're migrating from PermissionsEx or GroupManager, you might "),t("a",{attrs:{href:"Migrating-from-GroupManager-or-PermissionsEx"}},[e._v("find this page useful")]),e._v(".")]),t("p",[e._v("If you have an old permissions setup, or a setup you're not completely happy with, now might be a great time to have a restructure and cleanup, and a chance to learn LuckPerms commands in the process!")]),t("h4",{attrs:{id:"supported-plugins",tabindex:"-1"}},[e._v("Supported plugins "),t("a",{staticClass:"header-anchor",attrs:{href:"#supported-plugins"}},[e._v("🔗")])]),t("p",[e._v("Migration is supported for:")]),t("ul",[t("li",[e._v("GroupManager")]),t("li",[e._v("PermissionsEx (Bukkit/Spigot only)")]),t("li",[e._v("zPermissions")]),t("li",[e._v("bPermissions")]),t("li",[e._v("PermissionsBukkit")]),t("li",[e._v("PowerRanks")]),t("li",[e._v("UltraPermissions")]),t("li",[e._v("BungeePerms (migration can only be performed on the proxy)")])]),t("h2",{attrs:{id:"the-process",tabindex:"-1"}},[e._v("The process "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-process"}},[e._v("🔗")])]),t("p",[e._v("The migration process is fairly simple, however it varies slightly for each platform.")]),t("h4",{attrs:{id:"step-1-install-luckperms",tabindex:"-1"}},[e._v("Step 1: Install LuckPerms "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-1-install-luckperms"}},[e._v("🔗")])]),t("p",[e._v("Firstly, you need to "),t("a",{attrs:{href:"Installation"}},[e._v("install LuckPerms")]),e._v(". Don't remove your old permissions plugin yet.")]),t("p",[e._v("Ensure that your old permissions plugin is still enabling properly. The migration process won't work if your old setup is broken.")]),t("p",[e._v("If you intend to change your data "),t("a",{attrs:{href:"Storage-types"}},[e._v("storage type")]),e._v(", for instance, to mysql, it is easiest to do this now. If you decide to change storage types after the migration, follow the instructions in "),t("a",{attrs:{href:"Switching-storage-types"}},[e._v("Switching Storage Types")]),e._v(".")]),t("h4",{attrs:{id:"step-2-install-the-correct-migration-plugin",tabindex:"-1"}},[e._v("Step 2: Install the correct migration plugin "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-2-install-the-correct-migration-plugin"}},[e._v("🔗")])]),t("p",[e._v("Download the jar that corresponds to your existing permission plugin from the table below. Add it to your plugins folder too.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Plugin")]),t("th",[e._v("Migration Jar")]),t("th",[e._v("Migration Command")])])]),t("tbody",[t("tr",[t("td",[e._v("GroupManager")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/groupmanager/build/libs/luckperms-migration-groupmanager.jar"}},[e._v("luckperms-migration-groupmanager.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-groupmanager")])])]),t("tr",[t("td",[e._v("PermissionsEx")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/permissionsex/build/libs/luckperms-migration-permissionsex.jar"}},[e._v("luckperms-migration-permissionsex.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-permissionsex")])])]),t("tr",[t("td",[e._v("zPermissions")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/zpermissions/build/libs/luckperms-migration-zpermissions.jar"}},[e._v("luckperms-migration-zpermissions.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-zpermissions")])])]),t("tr",[t("td",[e._v("bPermissions")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/bpermissions/build/libs/luckperms-migration-bpermissions.jar"}},[e._v("luckperms-migration-bpermissions.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-bpermissions")])])]),t("tr",[t("td",[e._v("PermissionsBukkit")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/permissionsbukkit/build/libs/luckperms-migration-permissionsbukkit.jar"}},[e._v("luckperms-migration-permissionsbukkit.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-permissionsbukkit")])])]),t("tr",[t("td",[e._v("PowerRanks")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/powerranks/build/libs/luckperms-migration-powerranks.jar"}},[e._v("luckperms-migration-powerranks.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-powerranks")])])]),t("tr",[t("td",[e._v("UltraPermissions")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/ultrapermissions/build/libs/luckperms-migration-ultrapermissions.jar"}},[e._v("luckperms-migration-ultrapermissions.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-ultrapermissions")])])]),t("tr",[t("td",[e._v("BungeePerms")]),t("td",[t("a",{attrs:{href:"https://ci.lucko.me/job/luckperms-migration/lastSuccessfulBuild/artifact/bungeeperms/build/libs/luckperms-migration-bungeeperms.jar"}},[e._v("luckperms-migration-bungeeperms.jar")])]),t("td",[t("code",{pre:!0},[e._v("/migrate-bungeeperms")])])])])]),t("h4",{attrs:{id:"step-3-restart-your-server-then-run-the-migration-command",tabindex:"-1"}},[e._v("Step 3: Restart your server, then run the migration command. "),t("a",{staticClass:"header-anchor",attrs:{href:"#step-3-restart-your-server-then-run-the-migration-command"}},[e._v("🔗")])]),t("p",[e._v("Restart the server to allow your existing plugin, LuckPerms, and the migration plugin to load correctly.")]),t("p",[e._v("Then, go to your server console and run the migration command listed in the table above.")]),t("p",[e._v("Sit back, relax, and let LuckPerms handle the rest! You will be notified of the migration progress, and then notified again once it has finished.")]),t("p",[e._v("When the process has finished, stop the server, remove the your old permissions plugin and the migration jar, then start your server again.")]),t("p",[e._v("If you're migrating from GroupManager or PermissionsEx, there are some additional resources "),t("a",{attrs:{href:"Migrating-from-GroupManager-or-PermissionsEx"}},[e._v("here")]),e._v(" which may be useful!")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},1025:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms was written from the start with networks of servers in mind. When correctly setup and configured, permissions data will sync between servers and propagate instantly around your network.")]),t("p",[e._v("When installing LuckPerms across a network, the regular "),t("a",{attrs:{href:"Installation"}},[e._v("installation steps")]),e._v(" and "),t("a",{attrs:{href:"Installation#requirements"}},[e._v("requirements")]),e._v(" still apply.")]),t("p",[e._v("However, there is one additional requirement.")]),t("p",[t("strong",[e._v("All instances of LuckPerms must be connected to the same storage system.")]),e._v(" This means you are limited to using "),t("code",{pre:!0},[e._v("MySQL")]),e._v(", "),t("code",{pre:!0},[e._v("MariaDB")]),e._v(", "),t("code",{pre:!0},[e._v("PostgreSQL")]),e._v(" or "),t("code",{pre:!0},[e._v("MongoDB")]),e._v(". LuckPerms must be connected to the same SQL / MongoDB server, and access the same database or collection.")]),t("hr"),t("h2",{attrs:{id:"pre-setup",tabindex:"-1"}},[e._v("Pre setup "),t("a",{staticClass:"header-anchor",attrs:{href:"#pre-setup"}},[e._v("🔗")])]),t("p",[e._v("Before you get started, there are a number of things you need to check. These aren't just here for the sake of it - these steps are important. Do not skip them!")]),t("p",[e._v("LuckPerms supports networks using either "),t("code",{pre:!0},[e._v("BungeeCord")]),e._v(", "),t("code",{pre:!0},[e._v("Velocity")]),e._v(" or "),t("code",{pre:!0},[e._v("LilyPad")]),e._v(".")]),t("h3",{attrs:{id:"velocity",tabindex:"-1"}},[e._v("Velocity "),t("a",{staticClass:"header-anchor",attrs:{href:"#velocity"}},[e._v("🔗")])]),t("p",[e._v("Setup Velocity following their "),t("a",{attrs:{href:"https://docs.papermc.io/velocity/getting-started/"}},[e._v("instructions")]),e._v(" and setup "),t("a",{attrs:{href:"https://docs.papermc.io/velocity/player-information-forwarding/#configuring-modern-forwarding"}},[e._v("modern forwarding")]),e._v(". Fabric servers will need "),t("code",{pre:!0},[e._v("hackEarlySend")]),e._v(" changed to "),t("code",{pre:!0},[e._v("true")]),e._v(" in "),t("code",{pre:!0},[e._v("FabricProxy-Lite.toml")]),e._v(".")]),t("h3",{attrs:{id:"bungeecord",tabindex:"-1"}},[e._v("BungeeCord "),t("a",{staticClass:"header-anchor",attrs:{href:"#bungeecord"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms uses a player's unique ids (UUID) as an index when saving data. A players uuid is provided by the server implementation, however, this value can depend on the state of the "),t("code",{pre:!0},[e._v("online-mode")]),e._v(" setting.")]),t("p",[e._v("When using BungeeCord, it is "),t("strong",[e._v("absolutely crucial")]),e._v(" that BungeeCord's IP forwarding system is setup and configured correctly.")]),t("p",[e._v("In "),t("code",{pre:!0},[e._v("config.yml")]),e._v(" file for your BungeeCord proxy(ies), you need to set")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("ip_forward:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("p",[e._v("In the "),t("code",{pre:!0},[e._v("spigot.yml")]),e._v(" file on each of your backend Spigot servers, you need to set")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v('# This option is found under "settings"')]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("bungeecord:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("p",[e._v("In the "),t("code",{pre:!0},[e._v("config/sponge/global.conf")]),e._v(" file on each of your backend Sponge servers, you need to set")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-hocon"}},[e._v("sponge {\n bungeecord {\n ip-forwarding=true\n }\n}\n")])]),t("p",[e._v("After changing these settings, you need to fully restart the Spigot/Sponge servers and BungeeCord proxy.")]),t("p",[e._v("You should also take steps to ensure that your network is correctly firewalled, to ensure malicious users cannot spoof connections to your backend servers. A guide on how to do this is provided "),t("a",{attrs:{href:"https://www.spigotmc.org/wiki/firewall-guide/"}},[e._v("here")]),e._v(" by SpigotMC.")]),t("h3",{attrs:{id:"lilypad",tabindex:"-1"}},[e._v("LilyPad "),t("a",{staticClass:"header-anchor",attrs:{href:"#lilypad"}},[e._v("🔗")])]),t("p",[e._v("If you're using LilyPad: as per the "),t("a",{attrs:{href:"http://www.lilypadmc.org/threads/connecting-your-bukkit-servers.13/"}},[e._v("LilyPad setup guide")]),e._v(", you should ensure that the "),t("code",{pre:!0},[e._v("LilyPad-Connect")]),e._v(" plugin is installed and correctly configured on your backend server.")]),t("hr"),t("h2",{attrs:{id:"installing-luckperms-across-your-network",tabindex:"-1"}},[e._v("Installing LuckPerms across your network "),t("a",{staticClass:"header-anchor",attrs:{href:"#installing-luckperms-across-your-network"}},[e._v("🔗")])]),t("p",[e._v("Installing LP on a network is fairly easy, however, there are a number of configuration options which need to be changed as you setup each instance.")]),t("p",[e._v("The more general "),t("a",{attrs:{href:"Installation"}},[e._v("Installation")]),e._v(" guide provides details about how to install LuckPerms on a single server instance. This should be followed for each server in your network. (in most cases it's as simple as adding the plugin jar to the plugins/mods folder)")]),t("p",[e._v("Once LuckPerms has been installed, you need to stop the server, open the main configuration file, and pay particular attention to the following options:")]),t("h4",{attrs:{id:"server",tabindex:"-1"}},[t("a",{attrs:{href:"Configuration#server"}},[t("code",{pre:!0},[e._v("server")])]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#server"}},[e._v("🔗")])]),t("p",[e._v("If you want to set permissions or assign group inheritances on a per server basis within your setup, you'll need to change the value of "),t("code",{pre:!0},[e._v("server")]),e._v(" in your configuration file. (this is conveniently located right at the top of the file! 😄)")]),t("p",[e._v('This value is used to define a "server" context for all players when they\'re connected to the instance.')]),t("p",[e._v("More information about defining server and world specific permissions can be found "),t("a",{attrs:{href:"Advanced-Setup"}},[e._v("here")]),e._v(" and "),t("a",{attrs:{href:"Context"}},[e._v("here")]),e._v(".")]),t("h4",{attrs:{id:"storage-method",tabindex:"-1"}},[t("a",{attrs:{href:"Configuration#storage-method"}},[t("code",{pre:!0},[e._v("storage-method")])]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#storage-method"}},[e._v("🔗")])]),t("p",[e._v("As mentioned at the top of this page, if you want data to sync between instances, then all of your LuckPerms instances need to connect to the same database.")]),t("p",[e._v("This means that "),t("code",{pre:!0},[e._v("storage-method")]),e._v(" should be set to 'mysql', 'mariadb', 'postgresql' or 'mongodb'. Remember to fill out your database connection info when you change these options!")]),t("h4",{attrs:{id:"messaging-service",tabindex:"-1"}},[t("a",{attrs:{href:"Configuration#messaging-service"}},[t("code",{pre:!0},[e._v("messaging-service")])]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#messaging-service"}},[e._v("🔗")])]),t("p",[e._v('The "Messaging Service" is a feature within LuckPerms which allows servers to notify other servers within the network whenever changes are made. It also allows log entries to be dispatched across the network.')]),t("ul",[t("li",[e._v("If you're running multiple servers which are not connected to one proxy running LuckPerms, but use the same database set this option to "),t("code",{pre:!0},[e._v("sql")]),e._v(".")]),t("li",[e._v("If you're running a small network with one BungeeCord/Velocity proxy running LuckPerms, then you should set this option to "),t("code",{pre:!0},[e._v("pluginmsg")]),e._v(".")]),t("li",[e._v("If you're running a LilyPad network, set this to "),t("code",{pre:!0},[e._v("lilypad")]),e._v(".")]),t("li",[e._v("If you're running a network with more than one BungeeCord/Velocity proxy, then it is advisable to install a Redis server (if you're running a network with more than one proxy, I'll assume you already know how to do this!), and set this option to "),t("code",{pre:!0},[e._v("redis")]),e._v(". Remember to fill out your Redis credentials after changing this option!")])]),t("hr"),t("h2",{attrs:{id:"the-bungeecordvelocity-version-of-luckperms",tabindex:"-1"}},[e._v("The BungeeCord/Velocity version of LuckPerms "),t("a",{staticClass:"header-anchor",attrs:{href:"#the-bungeecordvelocity-version-of-luckperms"}},[e._v("🔗")])]),t("p",[e._v("A common misconception with the proxy version is that it's a replacement for installing LuckPerms on your backend Spigot/Sponge servers. This is untrue.")]),t("p",[e._v("When LuckPerms is installed on a proxy, it does two things:")]),t("ul",[t("li",[e._v("It handles permissions checks made by "),t("strong",[e._v("plugins on the proxy")]),e._v(". It does "),t("em",[e._v("not")]),e._v(" intercept or handle permission checks made by plugins on the backend server.")]),t("li",[e._v("It forwards update notifications and log messages around the network when "),t("code",{pre:!0},[e._v("messaging-service")]),e._v(" is set to 'pluginmsg'.")])]),t("p",[e._v("This means that if you want LuckPerms to respond to permission checks on your backend Spigot or Sponge server, you need to install it there too, even if you have it on your proxy.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},773:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-info-page-sorting-mode"}},[t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-set-group-context"}},[t("code",{pre:!0},[e._v("set")]),e._v(" <group> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-add-group-context"}},[t("code",{pre:!0},[e._v("add")]),e._v(" <group> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-remove-group-context"}},[t("code",{pre:!0},[e._v("remove")]),e._v(" <group> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-settrack-track-indexgroup-context"}},[t("code",{pre:!0},[e._v("settrack")]),e._v(" <track> <index | group> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("addtemp")]),e._v(" <group> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-removetemp-group-duration-context"}},[t("code",{pre:!0},[e._v("removetemp")]),e._v(" <group> [duration] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-clear-context"}},[t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-cleartrack-track-context"}},[t("code",{pre:!0},[e._v("cleartrack")]),e._v(" <track> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-user-user-parent-switchprimarygroup-group"}},[t("code",{pre:!0},[e._v("switchprimarygroup")]),e._v(" <group>")])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-info-page-sorting-mode",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent info [page] [sorting mode]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-info-page-sorting-mode"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.info or luckperms.group.parent.info"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page number to view")]),t("li",[t("code",{pre:!0},[e._v("[sorting mode]")]),e._v(" - how the results will be sorted")])]),t("p",[e._v("Displays a list of a user/group's parent groups. (groups they inherit from)")]),t("p",[e._v('The "sorting mode" argument allows you to specify how the list will be sorted. You can pick between 4 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Sorting mode")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("priority")])]),t("td",[e._v("The list will be sorted according to the platform's inheritance rules")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!priority")]),e._v("/"),t("code",{pre:!0},[e._v("reverse")])]),t("td",[e._v("The list will be sorted by priority and then reversed")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("abc")]),e._v("/"),t("code",{pre:!0},[e._v("alphabetically")])]),t("td",[e._v("The list will be sorted alphabetically (A - Z)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!abc")]),e._v("/"),t("code",{pre:!0},[e._v("!alphabetically")])]),t("td",[e._v("The list will be sorted alphabetically and then reversed (Z - A)")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-set-group-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent set <group> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-set-group-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.set or luckperms.group.parent.set"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to set")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the group in")])]),t("p",[e._v('Sets a user/group\'s parent. Unlike the "parent add" command, this command will clear all existing groups set at the given context. The add command will simply "add" the group to the existing ones a user/group has. If the command is executed with no context arguments, this command will also update a user\'s primary group.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-add-group-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent add <group> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-add-group-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.add or luckperms.group.parent.add"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to add")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to add the group in")])]),t("p",[e._v('Adds a parent to a user/group. Unlike the "parent set" command, this command will just accumulate the given parent with the ones the user/group already has. No existing parents will be removed from the user, and a user\'s primary group will be unaffected.')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-remove-group-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent remove <group> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-remove-group-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.remove or luckperms.group.parent.remove"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to remove")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to remove the group in")])]),t("p",[e._v("Removes a parent from the user/group."),t("br"),e._v(" If the removed group was the users primary group, will they be set back to default as primary.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-settrack-track-indexgroup-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent settrack <track> <index|group> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-settrack-track-indexgroup-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.settrack or luckperms.group.parent.settrack"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<track>")]),e._v(" - the track to set on")]),t("li",[t("code",{pre:!0},[e._v("<index|group>")]),e._v(" - the group to set to, or an index number relating to the position of the group on the given track")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the group in")])]),t("p",[e._v("Sets a users/groups position on a given track. This behaves in the same way as the set command, except it only clears existing groups which are on the specified track. Other parent groups are not affected.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent addtemp <group> <duration> [temporary modifier] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.addtemp or luckperms.group.parent.addtemp"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to add")]),t("li",[t("code",{pre:!0},[e._v("<duration>")]),e._v(" - the duration until the group will expire")]),t("li",[t("code",{pre:!0},[e._v("[temporary modifier]")]),e._v(" - how the temporary permission should be applied")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to add the group in")])]),t("p",[e._v('Adds a parent to a user/group temporarily. Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "1mo3d13h45m" will set the permission to expire in 1 month, 3 days, 13 hours and 45 minutes time, while "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.')]),t("p",[e._v('The "temporary modifier" argument allows you to specify how the permission should be accumulated. You can pick between 3 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Modifier key")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("accumulate")])]),t("td",[e._v("the duration of any existing nodes will just be added to the new duration")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("replace")])]),t("td",[e._v("the longest duration will be kept, any others nodes will be forgotten")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("deny")])]),t("td",[e._v("the command will just fail if you try to add a duplicate temporary node")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-removetemp-group-duration-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent removetemp <group> [duration] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-removetemp-group-duration-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.removetemp or luckperms.group.parent.removetemp"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to remove")]),t("li",[t("code",{pre:!0},[e._v("[duration]")]),e._v(" - the duration to subtract from the temporary group membership, can be omitted to remove entirely")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to remove the group in")])]),t("p",[e._v("Removes a temporary parent from the user/group.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-clear-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent clear [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-clear-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.clear or luckperms.group.parent.clear"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to filter by")])]),t("p",[e._v("Removes all parents the user or group has."),t("br"),e._v(" This will add them back to the "),t("code",{pre:!0},[e._v("default")]),e._v(" group.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-parent-cleartrack-track-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> parent cleartrack <track> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-parent-cleartrack-track-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.cleartrack or luckperms.group.parent.cleartrack"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<track>")]),e._v(" - the track to remove on")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to filter by")])]),t("p",[e._v("Removes all parents from the user/group on a given track.")]),t("hr"),t("h4",{attrs:{id:"lp-user-user-parent-switchprimarygroup-group",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> parent switchprimarygroup <group>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-parent-switchprimarygroup-group"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.parent.switchprimarygroup"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to switch to")])]),t("p",[e._v('This command is only available for users - as groups do not have "primary" groups.')]),t("p",[e._v('This command allows you to change a user\'s primary group. If they are not already a member of the specified group, they will be added to it. This should not be used as a replacement to the "parent set" command. Their existing primary group will not be removed as a parent. (a user can have multiple parent groups)')]),t("p",[e._v("If "),t("code",{pre:!0},[e._v("primary-group-calculation")]),e._v(' is set to something other than "stored" in the LuckPerms config, you should use the '),t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-add-group-context"}},[t("code",{pre:!0},[e._v("parent add")])]),e._v(" or "),t("a",{attrs:{href:"#lp-usergroup-usergroup-parent-set-group-context"}},[t("code",{pre:!0},[e._v("parent set")])]),e._v(" commands instead of this.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6682:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-permission-info-page-sorting-mode"}},[t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-permission-set-node-truefalse-context"}},[t("code",{pre:!0},[e._v("set")]),e._v(" <node> <true/false> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-permission-unset-node-context"}},[t("code",{pre:!0},[e._v("unset")]),e._v(" <node> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-permission-settemp-node-truefalse-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("settemp")]),e._v(" <node> <true/false> <duration> [temporary modifier] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-permission-unsettemp-node-duration-context"}},[t("code",{pre:!0},[e._v("unsettemp")]),e._v(" <node> [duration] [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-permission-check-node"}},[t("code",{pre:!0},[e._v("check")]),e._v(" <node>")])]),t("li",[t("a",{attrs:{href:"#lp-usergroup-usergroup-permission-clear-context"}},[t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-permission-info-page-sorting-mode",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> permission info [page] [sorting mode]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-permission-info-page-sorting-mode"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.permission.info or luckperms.group.permission.info"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[page]")]),e._v(" - the page number to view")]),t("li",[t("code",{pre:!0},[e._v("[sorting mode]")]),e._v(" - how the results will be sorted")])]),t("p",[e._v("Displays a list of the permission nodes a user/group has.")]),t("p",[e._v('The "sorting mode" argument allows you to specify how the list will be sorted. You can pick between 4 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Sorting mode")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("priority")])]),t("td",[e._v("the results will be sorted according to the platform's inheritance rules")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!priority")]),e._v("/"),t("code",{pre:!0},[e._v("reverse")])]),t("td",[e._v("it will sort it by priority and then reverse the list")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("abc")]),e._v("/"),t("code",{pre:!0},[e._v("alphabetically")])]),t("td",[e._v("the list will be sorted alphabetically (A - Z)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("!abc")]),e._v("/"),t("code",{pre:!0},[e._v("!alphabetically")])]),t("td",[e._v("will sort the list alphabetically and then reverse it (Z - A)")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-permission-set-node-truefalse-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> permission set <node> [true|false] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-permission-set-node-truefalse-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.permission.set or luckperms.group.permission.set"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<node>")]),e._v(" - the permission node to set")]),t("li",[t("code",{pre:!0},[e._v("[true|false]")]),e._v(" - the value to set the permission to (defaults to "),t("code",{pre:!0},[e._v("true")]),e._v(")")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the permission in")])]),t("p",[e._v('Sets (or gives) a permission for a user/group with "true", granting the permission. Providing a value of "false" will negate the permission. Not adding any context will set the permission in context "global".')]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-permission-unset-node-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> permission unset <node> [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-permission-unset-node-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.permission.unset or luckperms.group.permission.unset"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<node>")]),e._v(" - the permission node to unset")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to unset the permission in")])]),t("p",[e._v("Unsets (or removes) a permission for a user/group.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-permission-settemp-node-truefalse-duration-temporary-modifier-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> permission settemp <node> <true|false> <duration> [temporary modifier] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-permission-settemp-node-truefalse-duration-temporary-modifier-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.permission.settemp or luckperms.group.permission.settemp"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<node>")]),e._v(" - the permission node to set")]),t("li",[t("code",{pre:!0},[e._v("<true|false>")]),e._v(" - the value to set the permission to")]),t("li",[t("code",{pre:!0},[e._v("<duration>")]),e._v(" - the duration until the permission will expire")]),t("li",[t("code",{pre:!0},[e._v("[temporary modifier]")]),e._v(" - how the temporary permission should be applied")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to set the permission in")])]),t("p",[e._v('Sets a permission temporarily for a user/group. Providing a value of "false" will negate the permission. Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "1mo3d13h45m" will set the permission to expire in 1 month, 3 days, 13 hours and 45 minutes time, while "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.')]),t("p",[e._v('The "temporary modifier" argument allows you to specify how the permission should be accumulated. You can pick between 3 different options.')]),t("table",[t("thead",[t("tr",[t("th",[e._v("Modifier key")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("accumulate")])]),t("td",[e._v("the duration of any existing nodes will just be added to the new duration")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("replace")])]),t("td",[e._v("the longest duration will be kept, any others nodes will be forgotten")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("deny")])]),t("td",[e._v("the command will just fail if you try to add a duplicate temporary node")])])])]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-permission-unsettemp-node-duration-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> permission unsettemp <node> [duration] [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-permission-unsettemp-node-duration-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.permission.unsettemp or luckperms.group.permission.unsettemp"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<node>")]),e._v(" - the permission node to unset")]),t("li",[t("code",{pre:!0},[e._v("[duration]")]),e._v(" - the duration to subtract from the temporary permission, can be omitted to remove entirely")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to unset the permission in")])]),t("p",[e._v("Unsets a temporary permission for a user/group.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-permission-check-node",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> permission check <node>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-permission-check-node"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.permission.check or luckperms.group.permission.check"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<node>")]),e._v(" - the permission node to check")])]),t("p",[e._v("Checks to see if a user/group has a certain permission, providing useful information about the factors that influenced the result of the check.")]),t("hr"),t("h4",{attrs:{id:"lp-usergroup-usergroup-permission-clear-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user/group <user|group> permission clear [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-usergroup-usergroup-permission-clear-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.permission.clear or luckperms.group.permission.clear"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to filter by")])]),t("p",[e._v("Removes all permissions from the user or group.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},5941:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms has its own permissions for each command and various other features of the plugin. The permissions are listed under each command in the "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Command Usage")]),e._v(" section, however, it may be useful to see the permissions together in a list of their own. You will find the list below.")]),t("blockquote",[t("p",[e._v("Note: This list does not include any permissions that are available when "),t("a",{attrs:{href:"Argument-based-command-permissions"}},[e._v("argument-based-command-permissions")]),e._v(" is active. If you need to know any of these permissions, it is best to use "),t("a",{attrs:{href:"Verbose"}},[e._v("Verbose mode")]),e._v(".")])]),t("h2",{attrs:{id:"permissions",tabindex:"-1"}},[e._v("Permissions "),t("a",{staticClass:"header-anchor",attrs:{href:"#permissions"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Permission node")]),t("th",[e._v("Command")])])]),t("tbody",[t("tr",[t("td",[e._v("luckperms.sync")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-sync"}},[t("code",{pre:!0},[e._v("/lp sync")])]),e._v(" and "),t("a",{attrs:{href:"General-Commands#lp-networksync"}},[t("code",{pre:!0},[e._v("/lp networksync")])])])]),t("tr",[t("td",[e._v("luckperms.info")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-info"}},[t("code",{pre:!0},[e._v("/lp info")])])])]),t("tr",[t("td",[e._v("luckperms.editor")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-editor-type"}},[t("code",{pre:!0},[e._v("/lp editor")])])])]),t("tr",[t("td",[e._v("luckperms.applyedits")]),t("td",[t("a",{attrs:{href:"Web-Editor#saving-your-changes"}},[t("code",{pre:!0},[e._v("/lp applyedits")])])])]),t("tr",[t("td",[e._v("luckperms.verbose")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-verbose-onrecordoffupload-filter"}},[t("code",{pre:!0},[e._v("/lp verbose")])])])]),t("tr",[t("td",[e._v("luckperms.verbose.commandother")]),t("td",[t("a",{attrs:{href:"Verbose"}},[t("code",{pre:!0},[e._v("/lp verbose command <name> <command>")])])])]),t("tr",[t("td",[e._v("luckperms.tree")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-tree-scope-player"}},[t("code",{pre:!0},[e._v("/lp tree")])])])]),t("tr",[t("td",[e._v("luckperms.search")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-search-permission"}},[t("code",{pre:!0},[e._v("/lp search")])])])]),t("tr",[t("td",[e._v("luckperms.import")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-import-filecode---upload---replace"}},[t("code",{pre:!0},[e._v("/lp import")])])])]),t("tr",[t("td",[e._v("luckperms.export")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-export-file--upload"}},[t("code",{pre:!0},[e._v("/lp export")])])])]),t("tr",[t("td",[e._v("luckperms.reloadconfig")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-reloadconfig"}},[t("code",{pre:!0},[e._v("/lp reloadconfig")])])])]),t("tr",[t("td",[e._v("luckperms.translations")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-translations"}},[t("code",{pre:!0},[e._v("/lp translations")])])])]),t("tr",[t("td",[e._v("luckperms.creategroup")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-creategroup-name-weight-displayname"}},[t("code",{pre:!0},[e._v("/lp creategroup")])])])]),t("tr",[t("td",[e._v("luckperms.deletegroup")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-deletegroup-name"}},[t("code",{pre:!0},[e._v("/lp deletegroup")])])])]),t("tr",[t("td",[e._v("luckperms.listgroups")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-listgroups"}},[t("code",{pre:!0},[e._v("/lp listgroups")])])])]),t("tr",[t("td",[e._v("luckperms.createtrack")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-createtrack-name"}},[t("code",{pre:!0},[e._v("/lp createtrack")])])])]),t("tr",[t("td",[e._v("luckperms.deletetrack")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-deletetrack-name"}},[t("code",{pre:!0},[e._v("/lp deletetrack")])])])]),t("tr",[t("td",[e._v("luckperms.listtracks")]),t("td",[t("a",{attrs:{href:"General-Commands#lp-listtracks"}},[t("code",{pre:!0},[e._v("/lp listtracks")])])])]),t("tr",[t("td",[e._v("luckperms.user.info")]),t("td",[t("a",{attrs:{href:"User-Commands#lp-user-user-info"}},[t("code",{pre:!0},[e._v("/lp user <user> info")])])])]),t("tr",[t("td",[e._v("luckperms.user.editor")]),t("td",[t("a",{attrs:{href:"User-Commands#lp-user-user-editor"}},[t("code",{pre:!0},[e._v("/lp user <user> editor")])])])]),t("tr",[t("td",[e._v("luckperms.user.promote")]),t("td",[t("a",{attrs:{href:"User-Commands#lp-user-user-promote-track-context"}},[t("code",{pre:!0},[e._v("/lp user <user> promote")])])])]),t("tr",[t("td",[e._v("luckperms.user.demote")]),t("td",[t("a",{attrs:{href:"User-Commands#lp-user-user-demote-track-context"}},[t("code",{pre:!0},[e._v("/lp user <user> demote")])])])]),t("tr",[t("td",[e._v("luckperms.user.showtracks")]),t("td",[t("a",{attrs:{href:"User-Commands#lp-user-user-showtracks"}},[t("code",{pre:!0},[e._v("/lp user <user> showtracks")])])])]),t("tr",[t("td",[e._v("luckperms.user.clear")]),t("td",[t("a",{attrs:{href:"User-Commands#lp-user-user-clear-context"}},[t("code",{pre:!0},[e._v("/lp user <user> clear")])])])]),t("tr",[t("td",[e._v("luckperms.user.clone")]),t("td",[t("a",{attrs:{href:"User-Commands#lp-user-user-clone-user"}},[t("code",{pre:!0},[e._v("/lp user <user> clone")])])])]),t("tr",[t("td",[e._v("luckperms.user.permission.info")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-info"}},[t("code",{pre:!0},[e._v("/lp user <user> permission info")])])])]),t("tr",[t("td",[e._v("luckperms.user.permission.set")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-set-node-truefalse-context"}},[t("code",{pre:!0},[e._v("/lp user <user> permission set")])])])]),t("tr",[t("td",[e._v("luckperms.user.permission.unset")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-unset-node-context"}},[t("code",{pre:!0},[e._v("/lp user <user> permission unset")])])])]),t("tr",[t("td",[e._v("luckperms.user.permission.settemp")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-settemp-node-truefalse-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp user <user> permission settemp")])])])]),t("tr",[t("td",[e._v("luckperms.user.permission.unsettemp")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-unsettemp-node-context"}},[t("code",{pre:!0},[e._v("/lp user <user> permission unsettemp")])])])]),t("tr",[t("td",[e._v("luckperms.user.permission.check")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-check-node-context"}},[t("code",{pre:!0},[e._v("/lp user <user> permission check")])])])]),t("tr",[t("td",[e._v("luckperms.user.permission.clear")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-clear-context"}},[t("code",{pre:!0},[e._v("/lp user <user> permission clear")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.info")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-info"}},[t("code",{pre:!0},[e._v("/lp user <user> parent info")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.set")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-set-group-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent set")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.add")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-add-group-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent add")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.remove")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-remove-group-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent remove")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.settrack")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-settrack-track-group-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent settrack")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.addtemp")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent addtemp")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.removetemp")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-removetemp-group-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent removetemp")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.clear")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-clear-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent clear")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.cleartrack")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-cleartrack-track-context"}},[t("code",{pre:!0},[e._v("/lp user <user> parent cleartrack")])])])]),t("tr",[t("td",[e._v("luckperms.user.parent.switchprimarygroup")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-user-user-parent-switchprimarygroup-group"}},[t("code",{pre:!0},[e._v("/lp user <user> parent switchprimarygroup")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.info")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-info"}},[t("code",{pre:!0},[e._v("/lp user <user> meta info")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.set")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-set-key-value-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta set")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.unset")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-unset-key-value-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta unset")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.settemp")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settemp-key-value-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta settemp")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.unsettemp")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-unsettemp-key-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta unsettemp")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.addprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta addprefix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.addsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta addsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.setprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-setprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta setprefix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.setsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-setsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta setsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.removeprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removeprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta removeprefix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.removesuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removesuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta removesuffix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.addtempprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addtempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta addtempprefix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.addtempsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addtempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta addtempsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.settempprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta settempprefix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.settempsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta settempsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.removetempprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removetempprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta removetempprefix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.removetempsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removetempsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta removetempsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.user.meta.clear")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-clear-context"}},[t("code",{pre:!0},[e._v("/lp user <user> meta clear")])])])]),t("tr",[t("td",[e._v("luckperms.group.info")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-info"}},[t("code",{pre:!0},[e._v("/lp group <group> info")])])])]),t("tr",[t("td",[e._v("luckperms.group.editor")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-editor"}},[t("code",{pre:!0},[e._v("/lp group <group> editor")])])])]),t("tr",[t("td",[e._v("luckperms.group.listmembers")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-listmembers-page"}},[t("code",{pre:!0},[e._v("/lp group <group> listmembers")])])])]),t("tr",[t("td",[e._v("luckperms.group.setweight")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-setweight-weight"}},[t("code",{pre:!0},[e._v("/lp group <group> setweight")])])])]),t("tr",[t("td",[e._v("luckperms.group.setdisplayname")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-setdisplayname-name"}},[t("code",{pre:!0},[e._v("/lp group <group> setdisplayname")])])])]),t("tr",[t("td",[e._v("luckperms.group.showtracks")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-showtracks"}},[t("code",{pre:!0},[e._v("/lp group <group> showtracks")])])])]),t("tr",[t("td",[e._v("luckperms.group.clear")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-clear-context"}},[t("code",{pre:!0},[e._v("/lp group <group> clear")])])])]),t("tr",[t("td",[e._v("luckperms.group.rename")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-rename-new-name"}},[t("code",{pre:!0},[e._v("/lp group <group> rename")])])])]),t("tr",[t("td",[e._v("luckperms.group.clone")]),t("td",[t("a",{attrs:{href:"Group-Commands#lp-group-group-clone-new-name"}},[t("code",{pre:!0},[e._v("/lp group <group> clone")])])])]),t("tr",[t("td",[e._v("luckperms.group.permission.info")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-info"}},[t("code",{pre:!0},[e._v("/lp group <group> permission info")])])])]),t("tr",[t("td",[e._v("luckperms.group.permission.set")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-set-node-truefalse-context"}},[t("code",{pre:!0},[e._v("/lp group <group> permission set")])])])]),t("tr",[t("td",[e._v("luckperms.group.permission.unset")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-unset-node-context"}},[t("code",{pre:!0},[e._v("/lp group <group> permission unset")])])])]),t("tr",[t("td",[e._v("luckperms.group.permission.settemp")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-settemp-node-truefalse-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp group <group> permission settemp")])])])]),t("tr",[t("td",[e._v("luckperms.group.permission.unsettemp")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-unsettemp-node-context"}},[t("code",{pre:!0},[e._v("/lp group <group> permission unsettemp")])])])]),t("tr",[t("td",[e._v("luckperms.group.permission.check")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-check-node-context"}},[t("code",{pre:!0},[e._v("/lp group <group> permission check")])])])]),t("tr",[t("td",[e._v("luckperms.group.permission.clear")]),t("td",[t("a",{attrs:{href:"Permission-Commands#lp-usergroup-usergroup-permission-clear-context"}},[t("code",{pre:!0},[e._v("/lp group <group> permission clear")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.info")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-info"}},[t("code",{pre:!0},[e._v("/lp group <group> parent info")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.set")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-set-group-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent set")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.add")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-add-group-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent add")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.remove")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-remove-group-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent remove")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.settrack")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-settrack-track-group-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent settrack")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.addtemp")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-addtemp-group-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent addtemp")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.removetemp")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-removetemp-group-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent removetemp")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.clear")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-clear-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent clear")])])])]),t("tr",[t("td",[e._v("luckperms.group.parent.cleartrack")]),t("td",[t("a",{attrs:{href:"Parent-Commands#lp-usergroup-usergroup-parent-cleartrack-track-context"}},[t("code",{pre:!0},[e._v("/lp group <group> parent cleartrack")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.info")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-info"}},[t("code",{pre:!0},[e._v("/lp group <group> meta info")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.set")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-set-key-value-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta set")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.unset")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-unset-key-value-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta unset")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.settemp")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settemp-key-value-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta settemp")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.unsettemp")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-unsettemp-key-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta unsettemp")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.addprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta addprefix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.addsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta addsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.setprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-setprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta setprefix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.setsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-setsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta setsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.removeprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removeprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta removeprefix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.removesuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removesuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta removesuffix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.addtempprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addtempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta addtempprefix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.addtempsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-addtempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta addtempsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.settempprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settempprefix-priority-prefix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta settempprefix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.settempsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-settempsuffix-priority-suffix-duration-temporary-modifier-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta settempsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.removetempprefix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removetempprefix-priority-prefix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta removetempprefix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.removetempsuffix")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-removetempsuffix-priority-suffix-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta removetempsuffix")])])])]),t("tr",[t("td",[e._v("luckperms.group.meta.clear")]),t("td",[t("a",{attrs:{href:"Meta-Commands#lp-usergroup-usergroup-meta-clear-context"}},[t("code",{pre:!0},[e._v("/lp group <group> meta clear")])])])]),t("tr",[t("td",[e._v("luckperms.track.info")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-info"}},[t("code",{pre:!0},[e._v("/lp track <track> info")])])])]),t("tr",[t("td",[e._v("luckperms.track.editor")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-editor"}},[t("code",{pre:!0},[e._v("/lp track <track> editor")])])])]),t("tr",[t("td",[e._v("luckperms.track.append")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-append-group"}},[t("code",{pre:!0},[e._v("/lp track <track> append")])])])]),t("tr",[t("td",[e._v("luckperms.track.insert")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-insert-group-position"}},[t("code",{pre:!0},[e._v("/lp track <track> insert")])])])]),t("tr",[t("td",[e._v("luckperms.track.remove")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-remove-group"}},[t("code",{pre:!0},[e._v("/lp track <track> remove")])])])]),t("tr",[t("td",[e._v("luckperms.track.clear")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-clear"}},[t("code",{pre:!0},[e._v("/lp track <track> clear")])])])]),t("tr",[t("td",[e._v("luckperms.track.rename")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-rename-new-name"}},[t("code",{pre:!0},[e._v("/lp track <track> rename")])])])]),t("tr",[t("td",[e._v("luckperms.track.clone")]),t("td",[t("a",{attrs:{href:"Track-Commands#lp-track-track-clone-new-name"}},[t("code",{pre:!0},[e._v("/lp track <track> clone")])])])]),t("tr",[t("td",[e._v("luckperms.log.recent")]),t("td",[t("a",{attrs:{href:"Log-Commands#lp-log-recent-user-page"}},[t("code",{pre:!0},[e._v("/lp log recent")])])])]),t("tr",[t("td",[e._v("luckperms.log.search")]),t("td",[t("a",{attrs:{href:"Log-Commands#lp-log-search-query-page"}},[t("code",{pre:!0},[e._v("/lp log search")])])])]),t("tr",[t("td",[e._v("luckperms.log.notify")]),t("td",[t("a",{attrs:{href:"Log-Commands#lp-log-notify-onoff"}},[t("code",{pre:!0},[e._v("/lp log notify")])])])]),t("tr",[t("td",[e._v("luckperms.log.userhistory")]),t("td",[t("a",{attrs:{href:"Log-Commands#lp-log-userhistory-user-page"}},[t("code",{pre:!0},[e._v("/lp log userhistory")])])])]),t("tr",[t("td",[e._v("luckperms.log.grouphistory")]),t("td",[t("a",{attrs:{href:"Log-Commands#lp-log-grouphistory-group-page"}},[t("code",{pre:!0},[e._v("/lp log grouphistory")])])])]),t("tr",[t("td",[e._v("luckperms.log.trackhistory")]),t("td",[t("a",{attrs:{href:"Log-Commands#lp-log-trackhistory-track-page"}},[t("code",{pre:!0},[e._v("/lp log trackhistory")])])])])])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6850:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms has a few placeholders available for use in supported plugins.")]),t("h3",{attrs:{id:"placeholderapi",tabindex:"-1"}},[e._v("PlaceholderAPI "),t("a",{staticClass:"header-anchor",attrs:{href:"#placeholderapi"}},[e._v("🔗")])]),t("p",[e._v("To use the LuckPerms placeholders in plugins which support "),t("a",{attrs:{href:"https://www.spigotmc.org/resources/placeholderapi.6245/"}},[e._v("PlaceholderAPI")]),e._v(", you need to install the LuckPerms expansion.")]),t("p",[e._v("To install the latest version of the expansion automagically from clip's ecloud system, simply run "),t("code",{pre:!0},[e._v("/papi ecloud download LuckPerms")]),e._v(" followed by "),t("code",{pre:!0},[e._v("/papi reload")]),e._v(".")]),t("p",[e._v("To manually install the latest version of the expansion, you need to:")]),t("ul",[t("li",[e._v("Download "),t("code",{pre:!0},[e._v("Expansion-LuckPerms.jar")]),e._v(" from "),t("a",{attrs:{href:"https://ci.lucko.me/job/LuckPermsPlaceholders/"}},[e._v("here")])]),t("li",[e._v("Place it in "),t("code",{pre:!0},[e._v("/plugins/PlaceholderAPI/expansions/")]),e._v(".")])]),t("h3",{attrs:{id:"mvdwplaceholderapi",tabindex:"-1"}},[e._v("MVdWPlaceholderAPI "),t("a",{staticClass:"header-anchor",attrs:{href:"#mvdwplaceholderapi"}},[e._v("🔗")])]),t("p",[e._v("To use the LuckPerms placeholders in plugins which support "),t("a",{attrs:{href:"https://www.spigotmc.org/resources/mvdwplaceholderapi.11182/"}},[e._v("MVdWPlaceholderAPI")]),e._v(", you need to install the LuckPerms placeholder hook plugin.")]),t("ul",[t("li",[e._v("Download "),t("code",{pre:!0},[e._v("LuckPermsMVdWHook.jar")]),e._v(" from "),t("a",{attrs:{href:"https://ci.lucko.me/job/LuckPermsPlaceholders/"}},[e._v("here")])]),t("li",[e._v("Place it in your "),t("code",{pre:!0},[e._v("/plugins/")]),e._v(" folder.")])]),t("h3",{attrs:{id:"fabric-placeholderapi",tabindex:"-1"}},[e._v("Fabric PlaceholderAPI "),t("a",{staticClass:"header-anchor",attrs:{href:"#fabric-placeholderapi"}},[e._v("🔗")])]),t("p",[e._v("To use the Fabric LuckPerms placeholders in mods which support "),t("a",{attrs:{href:"https://placeholders.pb4.eu/"}},[e._v("Fabric PlaceholderAPI")]),e._v(", you need to install the LuckPerms placeholder hook mod. The placeholder format is slightly different and documented in their docs "),t("a",{attrs:{href:"https://placeholders.pb4.eu/user/mod-placeholders/#luckperms"}},[e._v("here")]),e._v(".")]),t("ul",[t("li",[e._v("Download "),t("code",{pre:!0},[e._v("LuckPerms-Fabric-PlaceholderAPI-Hook.jar")]),e._v(" from "),t("a",{attrs:{href:"https://ci.lucko.me/job/LuckPermsPlaceholders/"}},[e._v("here")])]),t("li",[e._v("Place it in your "),t("code",{pre:!0},[e._v("/mods/")]),e._v(" folder.")])]),t("h2",{attrs:{id:"placeholders",tabindex:"-1"}},[e._v("Placeholders "),t("a",{staticClass:"header-anchor",attrs:{href:"#placeholders"}},[e._v("🔗")])]),t("p",[e._v("For placeholders with an "),t("strong",[e._v("argument")]),e._v(", the argument must be included at the end of the placeholder separated by an underscore ("),t("code",{pre:!0},[e._v("_")]),e._v(").")]),t("p",[e._v("For example, the "),t("code",{pre:!0},[e._v("%luckperms_meta%")]),e._v(" placeholder requires a "),t("code",{pre:!0},[e._v("<meta key>")]),e._v(" argument. Assuming the meta key is e.g. "),t("em",[e._v("home")]),e._v(", the full placeholder would be "),t("code",{pre:!0},[e._v("%luckperms_meta_home%")]),e._v(".")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Placeholder")]),t("th",[e._v("Argument")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_prefix%")])]),t("td"),t("td",[e._v("Returns the player's prefix")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_suffix%")])]),t("td"),t("td",[e._v("Returns the players suffix")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_meta%")])]),t("td",[t("code",{pre:!0},[e._v("<meta key>")])]),t("td",[e._v("Returns a single value for the given meta key")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_meta_all%")])]),t("td",[t("code",{pre:!0},[e._v("<meta key>")])]),t("td",[e._v("Returns all assigned values for the given meta key")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_prefix_element%")])]),t("td",[t("code",{pre:!0},[e._v("<element>")])]),t("td",[e._v('Returns a prefix element using the given "meta stack" element definition. See '),t("a",{attrs:{href:"Prefix-&-Suffix-Stacking"}},[e._v("Prefix Stacking")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_suffix_element%")])]),t("td",[t("code",{pre:!0},[e._v("<element>")])]),t("td",[e._v('Returns a suffix element using the given "meta stack" element definition. See '),t("a",{attrs:{href:"Prefix-&-Suffix-Stacking"}},[e._v("Prefix Stacking")])])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_context%")])]),t("td",[t("code",{pre:!0},[e._v("[context key]")]),e._v(" ("),t("em",[e._v("optional")]),e._v(")")]),t("td",[e._v("Returns all of the players current contexts. If a key is given as an argument, then only the values corresponding to the given key are returned.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_groups%")])]),t("td"),t("td",[e._v("Returns a list of the groups directly inherited by the player.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_inherited_groups%")])]),t("td"),t("td",[e._v("Returns a list of all of the groups inherited (directly or indirectly) by the player.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_primary_group_name%")])]),t("td"),t("td",[e._v("Returns the name of the player's primary group.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_has_permission%")])]),t("td",[t("code",{pre:!0},[e._v("<permission>")])]),t("td",[e._v("Returns if the player directly has the exact given permission (not the same as a permission check!)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_inherits_permission%")])]),t("td",[t("code",{pre:!0},[e._v("<permission>")])]),t("td",[e._v("Returns if the player inherits the exact given permission (not the same as a permission check!)")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_check_permission%")])]),t("td",[t("code",{pre:!0},[e._v("<permission>")])]),t("td",[e._v("Returns the result of a permission check for the given permission on the player.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_in_group%")])]),t("td",[t("code",{pre:!0},[e._v("<group>")])]),t("td",[e._v("Returns if the player is directly a member of the given group.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_inherits_group%")])]),t("td",[t("code",{pre:!0},[e._v("<group>")])]),t("td",[e._v("Returns if the player is a direct or indirect member of the given group.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_on_track%")])]),t("td",[t("code",{pre:!0},[e._v("<track>")])]),t("td",[e._v('Returns if the player\'s "primary group" is on this track. ('),t("em",[e._v("deprecated - avoid relying on primary groups, use the placeholder below instead!")]),e._v(")")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_has_groups_on_track%")])]),t("td",[t("code",{pre:!0},[e._v("<track>")])]),t("td",[e._v("Returns if any of the groups the player is directly a member of is on the given track.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_highest_group_by_weight%")])]),t("td"),t("td",[e._v("Returns the name of the players highest weighted group, "),t("em",[e._v("not including")]),e._v(" groups they indirectly inherit from others.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_lowest_group_by_weight%")])]),t("td"),t("td",[e._v("Returns the name of the players lowest weighted group, "),t("em",[e._v("not including")]),e._v(" groups they indirectly inherit from others.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_highest_inherited_group_by_weight%")])]),t("td"),t("td",[e._v("Returns the name of the players highest weighted group, "),t("em",[e._v("including")]),e._v(" groups they indirectly inherit from others.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_lowest_inherited_group_by_weight%")])]),t("td"),t("td",[e._v("Returns the name of the players lowest weighted group, "),t("em",[e._v("including")]),e._v(" groups they indirectly inherit from others.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_current_group_on_track%")])]),t("td",[t("code",{pre:!0},[e._v("<track>")])]),t("td",[e._v("If the player is currently on the given track, returns the name of the group.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_next_group_on_track%")])]),t("td",[t("code",{pre:!0},[e._v("<track>")])]),t("td",[e._v("If the player is currently on the given track, returns the name of the next group (the one they would be promoted to next).")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_previous_group_on_track%")])]),t("td",[t("code",{pre:!0},[e._v("<track>")])]),t("td",[e._v("If the player is currently on the given track, returns the name of the previous group (the one they would be demoted to next).")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_first_group_on_tracks%")])]),t("td",[t("code",{pre:!0},[e._v("<tracks>")])]),t("td",[e._v("Given a comma separated list of track names, finds the first group inherited by the player on any of the given tracks.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_last_group_on_tracks%")])]),t("td",[t("code",{pre:!0},[e._v("<tracks>")])]),t("td",[e._v("Given a comma separated list of track names, finds the last group inherited by the player on any of the given tracks.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_expiry_time%")])]),t("td",[t("code",{pre:!0},[e._v("<permission>")])]),t("td",[e._v("Gets the duration remaining on a temporary permission assigned directly to the player.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_inherited_expiry_time%")])]),t("td",[t("code",{pre:!0},[e._v("<permission>")])]),t("td",[e._v("Gets the duration remaining on a temporary permission assigned directly to or inherited by the player.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_group_expiry_time%")])]),t("td",[t("code",{pre:!0},[e._v("<group name>")])]),t("td",[e._v("Gets the duration remaining on a temporary group membership assigned directly to the player.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("%luckperms_inherited_group_expiry_time%")])]),t("td",[t("code",{pre:!0},[e._v("<group name>")])]),t("td",[e._v("Gets the duration remaining on a temporary group membership assigned directly to or inherited by the player.")])])])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},3950:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h3",{attrs:{id:"what-does-it-do",tabindex:"-1"}},[e._v("What does it do? "),t("a",{staticClass:"header-anchor",attrs:{href:"#what-does-it-do"}},[e._v("🔗")])]),t("p",[e._v('The "meta stacking" feature allows you to display multiple prefixes or suffixes alongside a players username in chat.')]),t("p",[e._v("You still need to have a chat formatting plugin installed.")]),t("h3",{attrs:{id:"how-does-it-work",tabindex:"-1"}},[e._v("How does it work? "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-does-it-work"}},[e._v("🔗")])]),t("p",[e._v("When the chat formatting plugin requests a players prefix/suffix, instead of just returning the prefix with the highest weight, LuckPerms can apply a set of rules to combine a number of prefixes/suffixes together.")]),t("p",[e._v("The default settings look like this:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("meta-formatting:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("prefix:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("format:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("duplicates:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("first-only")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("start-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('""')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("middle-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('" "')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("end-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('""')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("suffix:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("format:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("duplicates:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("first-only")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("start-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('""')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("middle-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('" "')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("end-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('""')]),e._v("\n")])]),t("p",[e._v("All this means is that when a prefix or suffix is requested, the one with the highest weight is returned.")]),t("h3",{attrs:{id:"how-do-i-add-other-elements",tabindex:"-1"}},[e._v("How do I add other elements? "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-do-i-add-other-elements"}},[e._v("🔗")])]),t("p",[e._v("The following elements are allowed.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Element")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("highest")])]),t("td",[e._v("Selects the value with the highest weight, from all values held by or inherited by the player.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("lowest")])]),t("td",[e._v("Same as above, except takes the one with the lowest weight.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("highest_own")])]),t("td",[e._v("Selects the value with the highest weight, but will not accept any inherited values.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("lowest_own")])]),t("td",[e._v("Same as above, except takes the value with the lowest weight.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("highest_inherited")])]),t("td",[e._v("Selects the value with the highest weight, but will only accept inherited values.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("lowest_inherited")])]),t("td",[e._v("Same as above, except takes the value with the lowest weight.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("highest_on_track_<track>")])]),t("td",[e._v("Selects the value with the highest weight, but only if the value was inherited from a group on the given track.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("lowest_on_track_<track>")])]),t("td",[e._v("Same as above, except takes the value with the lowest weight.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("highest_not_on_track_<track>")])]),t("td",[e._v("Selects the value with the highest weight, but only if the value was inherited from a group not on the given track.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("lowest_not_on_track_<track>")])]),t("td",[e._v("Same as above, except takes the value with the lowest weight.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("highest_from_group_<group>")])]),t("td",[e._v("Selects the value with the highest weight, but only if the value was inherited from the given group.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("lowest_from_group_<group>")])]),t("td",[e._v("Same as above, except takes the value with the lowest weight.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("highest_not_from_group_<group>")])]),t("td",[e._v("Selects the value with the highest weight, but only if the value was not inherited from the given group.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("lowest_not_from_group_<group>")])]),t("td",[e._v("Same as above, except takes the value with the lowest weight.")])])])]),t("h3",{attrs:{id:"duplicate-settings",tabindex:"-1"}},[e._v("Duplicate Settings "),t("a",{staticClass:"header-anchor",attrs:{href:"#duplicate-settings"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Element")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("first-only")])]),t("td",[e._v("Allows only the first duplicate")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("last-only")])]),t("td",[e._v("Allows only the last duplicate")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("retain-all")])]),t("td",[e._v("Allows all duplicates")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("none")])]),t("td",[e._v("Allows no duplicates")])])])]),t("h3",{attrs:{id:"an-example",tabindex:"-1"}},[e._v("An example "),t("a",{staticClass:"header-anchor",attrs:{href:"#an-example"}},[e._v("🔗")])]),t("p",[e._v('For example, on a prison server, you might have 3 types of group. The "gameplay" rank, a user\'s donor group, and staff groups.')]),t("p",[e._v("If a user is in all 3 groups, I want all three prefixes to display. e.g."),t("br"),t("code",{pre:!0},[e._v("[Mine C] [Donor] [Admin] Luck: hi!")]),e._v(".")]),t("p",[e._v("But if a user doesn't have a staff group, then I want to show"),t("br"),t("code",{pre:!0},[e._v("[Mine C] [Donor] Luck: hi")]),e._v(".")]),t("p",[e._v('This is all possible with the stacking system. Each "element" in the stack has to be added to the format section.')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("prefix:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("format:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest_on_track_prison"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest_on_track_donor"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest_on_track_staff"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("duplicates:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("first-only")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("start-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('""')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("middle-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('" "')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("end-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('""')]),e._v("\n")])]),t("p",[e._v("If the player doesn't have any values that apply to the element, then it gets excluded from the stack.")]),t("p",[e._v("The start, middle and end spacers allow you to control how each element is separated. For example:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("prefix:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("format:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest_on_track_prison"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest_on_track_donor"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"highest_on_track_staff"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("duplicates:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("first-only")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("start-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"★ "')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("middle-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('" | "')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("end-spacer:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('" "')]),e._v("\n")])]),t("p",[e._v("... would result in:"),t("br"),t("code",{pre:!0},[e._v("★ [Mine C] | [Donor] | [Admin] Luck: hi")]),e._v(".")]),t("p",[e._v("You can obviously change these values in accordance with your chat formatting plugin, which may provide similar options too.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},7764:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This guide covers how to setup and manage prefixes, suffixes and meta with LuckPerms.")]),t("p",[e._v("If you are already familiar with these concepts, and just want to view how the commands work, then you should read the "),t("a",{attrs:{href:"Meta-Commands"}},[e._v("Command Usage: Meta")]),e._v(" page.")]),t("h1",{attrs:{id:"key-definitions",tabindex:"-1"}},[e._v("Key Definitions "),t("a",{staticClass:"header-anchor",attrs:{href:"#key-definitions"}},[e._v("🔗")])]),t("h3",{attrs:{id:"prefix--suffix",tabindex:"-1"}},[e._v("Prefix / Suffix "),t("a",{staticClass:"header-anchor",attrs:{href:"#prefix--suffix"}},[e._v("🔗")])]),t("p",[e._v("Prefixes and suffixes on Minecraft servers relate to the text that comes before and after your username in chat.")]),t("p",[e._v("For example, given the chat message:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v("["),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("Admin")]),e._v("] "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("Luck the great:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("Hello!")]),e._v("\n")])]),t("p",[e._v("The prefix is the "),t("code",{pre:!0},[e._v('"[Admin] "')]),e._v(" part, and the suffix is "),t("code",{pre:!0},[e._v('" the great"')]),e._v(" part.")]),t("h3",{attrs:{id:"meta",tabindex:"-1"}},[e._v("Meta "),t("a",{staticClass:"header-anchor",attrs:{href:"#meta"}},[e._v("🔗")])]),t("p",[e._v('Also sometimes referred to as "options" or "variables", meta is just a general term for extra data associated with a user or group. Unlike permissions, meta is split up into two parts, the "key" and the "value". The key is the name of the meta, and the value is whatever the key is set to.')]),t("p",[e._v("For example, my user might have the following meta, to indicate that I can have a maximum of 5 homes, and that my username should be colored blue.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("max-homes")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("=")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("5")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("username-color:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("blue")]),e._v("\n")])]),t("h2",{attrs:{id:"who-provides-what",tabindex:"-1"}},[e._v("Who provides what? "),t("a",{staticClass:"header-anchor",attrs:{href:"#who-provides-what"}},[e._v("🔗")])]),t("p",[e._v("Generally, plugins which provide and manage permissions on your server will also have functionality to allow you to set, manage and store prefixes/suffixes/meta. This is true of LuckPerms.")]),t("p",[e._v("Occasionally, permissions plugins will also provide the means to apply this data to the chat. This is not the case for LuckPerms, and you'll need an additional plugin to apply chat formatting for you. More on this later.")]),t("h2",{attrs:{id:"how-do-prefixessuffixesmeta-get-stored",tabindex:"-1"}},[e._v("How do prefixes/suffixes/meta get stored "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-do-prefixessuffixesmeta-get-stored"}},[e._v("🔗")])]),t("p",[e._v("Prefixes and suffixes in LuckPerms are converted and stored as permission nodes. You'll notice that when you add a prefix or suffix to a user/group, that a new entry will appear in their permissions data which relates to the value you set. Why do it this way? Well, it makes things much easier from a programming point of view to have everything stored in the same place, and in similar formats. It also means you can easily manipulate prefix and suffix data in the same way you do for permissions.")]),t("p",[e._v("Prefixes and suffixes are split up into two parts")]),t("ul",[t("li",[t("strong",[e._v("Weight")]),e._v(" - this is just a number which determines the priority of the prefix/suffix. A higher number = a higher weight and a higher priority.")]),t("li",[t("strong",[e._v("Value")]),e._v(" - what the actual value of the prefix is.")])]),t("p",[e._v("A prefix of "),t("code",{pre:!0},[e._v('"[Admin] "')]),e._v(", set with a weight of 100 translates into the permission: "),t("code",{pre:!0},[e._v("prefix.100.[Admin]")]),e._v(".")]),t("p",[e._v("A similar system is used for meta. A meta pair, "),t("code",{pre:!0},[e._v("favourite-color = red")]),e._v(" would translate into the permission: "),t("code",{pre:!0},[e._v("meta.favourite-color.red")]),e._v(".")]),t("h2",{attrs:{id:"how-does-prefixsuffix-weight-work",tabindex:"-1"}},[e._v("How does prefix/suffix weight work "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-does-prefixsuffix-weight-work"}},[e._v("🔗")])]),t("p",[e._v("Prefixes and suffixes can be inherited in the same way as permissions. This means that LuckPerms needs to determine which prefix/suffix to actually use for a player, when it gets requested.")]),t("p",[e._v("When another plugin asks for a Users prefix/suffix, LuckPerms will:")]),t("ul",[t("li",[e._v("Collect all of the prefixes/suffixes the user has and inherits together")]),t("li",[e._v("Sorts them according to their weight, where a higher weight number = a higher priority")]),t("li",[e._v("Then selects the prefix/suffix with the highest weight to go on to represent the player.")])]),t("p",[e._v("If two entries with the same weight are found, the one closest to the user is used first. Closest meaning the one that was discovered first by the plugin when searching the inheritance tree for data.")]),t("h2",{attrs:{id:"how-do-i-actually-set-prefixes-and-suffixes-for-a-user",tabindex:"-1"}},[e._v("How do I actually set prefixes and suffixes for a user "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-do-i-actually-set-prefixes-and-suffixes-for-a-user"}},[e._v("🔗")])]),t("p",[e._v('For example, if I want people in the admin group to have the "&c[Admin] " prefix, and people in the mod group to have the "&d[Mod] " prefix, I would run:')]),t("ul",[t("li",[e._v("/lp creategroup admin")]),t("li",[e._v("/lp creategroup mod")]),t("li",[e._v("/lp group admin parent add mod")]),t("li",[e._v('/lp group admin meta addprefix 100 "&c[Admin] "')]),t("li",[e._v('/lp group mod meta addprefix 90 "&d[Mod] "')])]),t("p",[e._v('If I then decided I wanted to change admins prefix to use the "&4" color, to remove the previously set value, I\'d run:')]),t("ul",[t("li",[e._v("/lp group admin meta removeprefix 100")])]),t("p",[e._v("This would remove all prefixes set to admin with a weight of 100. I could then re-set the new prefix value.")]),t("p",[e._v("The command usage for setting prefixes/suffixes temporarily follows the same format as the commands for adding temporary permissions, or parent groups.")]),t("p",[e._v("The full command usages can be found "),t("a",{attrs:{href:"Meta-Commands"}},[t("strong",[e._v("here")])]),e._v(". The commands for adding and removing meta are also documented there.")]),t("h2",{attrs:{id:"how-do-i-see-the-prefixessuffixes-a-user-or-group-has",tabindex:"-1"}},[e._v("How do I see the prefixes/suffixes a user or group has "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-do-i-see-the-prefixessuffixes-a-user-or-group-has"}},[e._v("🔗")])]),t("p",[e._v("The easiest way to debug issues with prefixes/suffixes is to use the info command.")]),t("p",[e._v("For example: "),t("code",{pre:!0},[e._v("/lp user Luck meta info")]),e._v(". This will list all of the prefixes, suffixes and meta a user has and inherits, and will order the entries by weight, so you can easily see which values are being applied.")]),t("p",[e._v("Another useful command is the general user info command: "),t("code",{pre:!0},[e._v("/lp user Luck info")]),e._v(". If the player is online on the server, this will show you which of their prefixes is currently being provided to plugins looking to read data from LuckPerms.")]),t("h2",{attrs:{id:"displaying-prefixes-and-suffixes",tabindex:"-1"}},[e._v("Displaying prefixes and suffixes "),t("a",{staticClass:"header-anchor",attrs:{href:"#displaying-prefixes-and-suffixes"}},[e._v("🔗")])]),t("p",[e._v("As mentioned earlier, LuckPerms does not handle any of the chat formatting for you. You will need to install an external plugin to do it for you.")]),t("p",[e._v("Some recommendations are listed below.")]),t("h3",{attrs:{id:"bukkitspigot",tabindex:"-1"}},[e._v("Bukkit/Spigot "),t("a",{staticClass:"header-anchor",attrs:{href:"#bukkitspigot"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has support for "),t("strong",[e._v("any")]),e._v(" chat formatting plugin which can read data from "),t("a",{attrs:{href:"https://dev.bukkit.org/projects/vault"}},[e._v("Vault")]),e._v(". You need to have Vault installed on your server for this to work.")]),t("p",[e._v("If you're having issues with a plugin not picking up data correctly, please make sure the output of "),t("code",{pre:!0},[e._v("/vault-info")]),e._v(" shows that data is being read from LuckPerms.")]),t("p",[e._v("Some popular chat formatting plugins which work with LuckPerms + Vault include:")]),t("ul",[t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/49016/"}},[e._v("VaultChatFormatter")]),e._v(" - recommended if you just want something simple!")]),t("li",[t("a",{attrs:{href:"https://essentialsx.net/downloads.html"}},[e._v("EssentialsX Chat")]),e._v(" - recommended if you already have Essentials on your server.")]),t("li",[t("a",{attrs:{href:"https://dev.bukkit.org/projects/chatex"}},[e._v("ChatEx")])]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/771/"}},[e._v("VentureChat")])]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/stylizer.78327/"}},[e._v("Stylizer")]),e._v(" - includes chat formatting and tablist.")]),t("li",[t("a",{attrs:{href:"https://github.com/MCMDEV/displayformatter"}},[e._v("DisplayFormatter")]),e._v(" - includes chat formatting and tablist, specifically for LuckPerms.")]),t("li",[t("a",{attrs:{href:"https://github.com/Hexaoxide/Carbon"}},[e._v("CarbonChat")]),e._v(" (beta)")]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/1277/"}},[e._v("DeluxeChat")]),e._v(" (paid)")]),t("li",[t("a",{attrs:{href:"https://builtbybit.com/resources/18217"}},[e._v("ChatControl")]),e._v(" (paid)")]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/cmi-298-commands-insane-kits-portals-essentials-economy-mysql-sqlite-much-more.3742/"}},[e._v("CMI")]),e._v(" (paid)")]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/betterprefix-papi-support.18096/"}},[e._v("BetterPrefix")])])]),t("p",[e._v("Some popular tab/nametag formatting plugins which work with LuckPerms + Vault include:")]),t("ul",[t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/3836/"}},[e._v("NametagEdit")])]),t("li",[t("a",{attrs:{href:"https://github.com/NEZNAMY/TAB"}},[e._v("TAB")])]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/1448/"}},[e._v("Tab")]),e._v(" (paid)")]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/cmi-298-commands-insane-kits-portals-essentials-economy-mysql-sqlite-much-more.3742/"}},[e._v("CMI")]),e._v(" (paid)")]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/betterprefix-papi-support.18096/"}},[e._v("BetterPrefix")])])]),t("p",[e._v("This is by no means a definitive list. Anything that supports Vault also supports LuckPerms!")]),t("h3",{attrs:{id:"bungeecord",tabindex:"-1"}},[e._v("BungeeCord "),t("a",{staticClass:"header-anchor",attrs:{href:"#bungeecord"}},[e._v("🔗")])]),t("p",[e._v("Some popular chat formatting plugins which work with LuckPerms on BungeeCord include:")]),t("ul",[t("li",[t("a",{attrs:{href:"https://github.com/lucko/gChat"}},[e._v("gChat")]),e._v(" - recommended if you just want something simple.")]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/12592/"}},[e._v("BungeeChat")])]),t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/26204/"}},[e._v("MultiChat")])])]),t("p",[e._v("Some popular tab/nametag formatting plugins which work with LuckPerms on BungeeCord include:")]),t("ul",[t("li",[t("a",{attrs:{href:"https://www.spigotmc.org/resources/313/"}},[e._v("BungeeTabListPlus")])]),t("li",[t("a",{attrs:{href:"https://github.com/NEZNAMY/TAB"}},[e._v("TAB")])])]),t("h3",{attrs:{id:"sponge",tabindex:"-1"}},[e._v("Sponge "),t("a",{staticClass:"header-anchor",attrs:{href:"#sponge"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"https://nucleuspowered.org/"}},[e._v("Nucleus")]),e._v(' - an "essentials" like plugin, which also includes a '),t("a",{attrs:{href:"https://nucleuspowered.org/docs/modules/chat.html"}},[e._v("module for chat formatting")]),e._v(".")])]),t("h3",{attrs:{id:"fabric",tabindex:"-1"}},[e._v("Fabric "),t("a",{staticClass:"header-anchor",attrs:{href:"#fabric"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"https://modrinth.com/mod/styled-chat"}},[e._v("Styled Chat")]),e._v(" - includes chat formatting, uses "),t("a",{attrs:{href:"https://placeholders.pb4.eu"}},[e._v("Fabric TextPlaceholderAPI")]),e._v(" - Note that manual configuration is required and you need to use the "),t("a",{attrs:{href:"https://luckperms.net/download"}},[e._v("LuckPerms "),t("strong",[e._v("Fabric")]),e._v(" PlaceholderAPI Addon")]),e._v(" for this mod to work with LuckPerms.")]),t("li",[t("a",{attrs:{href:"https://modrinth.com/mod/styledplayerlist"}},[e._v("Styled Player List")]),e._v(" - includes tablist formatting, uses "),t("a",{attrs:{href:"https://placeholders.pb4.eu"}},[e._v("Fabric TextPlaceholderAPI")]),e._v(" - Note that manual configuration is required and you need to use the "),t("a",{attrs:{href:"https://luckperms.net/download"}},[e._v("LuckPerms "),t("strong",[e._v("Fabric")]),e._v(" PlaceholderAPI Addon")]),e._v(" for this mod to work with LuckPerms.")]),t("li",[t("a",{attrs:{href:"https://github.com/lochnessdragon/GraphiXMod"}},[e._v("GraphiXMod")]),e._v(" - includes chat formatting, holograms, tablist and scoreboard.")]),t("li",[t("a",{attrs:{href:"https://github.com/Axieum/Chatter"}},[e._v("Chatter")]),e._v(" - includes chat formatting and Discord integration")])]),t("h3",{attrs:{id:"forge",tabindex:"-1"}},[e._v("Forge "),t("a",{staticClass:"header-anchor",attrs:{href:"#forge"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"https://www.curseforge.com/minecraft/mc-mods/betterforgechat-with-luckperms-support"}},[e._v("BetterForgeChat")]),e._v(" - Includes chat formatting, tablist, ftbessentials nicknames, and markdown styling.")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},975:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms has a number of online editors / viewers built into the plugin. The interfaces have been designed such that individual users/servers do not need to host their own instances, and public versions everyone can use are deployed in the following locations:")]),t("ul",[t("li",[e._v("https://luckperms.net/editor/")]),t("li",[e._v("https://luckperms.net/verbose/")]),t("li",[e._v("https://luckperms.net/treeview/")])]),t("p",[e._v("There is occasionally some interest in self-hosting. In general, "),t("strong",[e._v("we do not recommend doing this")]),e._v(", but since the code is open-source, suitably experienced admins are welcome to have a go. The following notes serve as a starting point.")]),t("p",[e._v("You will also need to sort out:")]),t("ul",[t("li",[e._v("a Linux server for hosting")]),t("li",[e._v("a domain")]),t("li",[e._v("setting up DNS records")]),t("li",[e._v("TLS certificates")])]),t("p",[e._v("etc. and all of the fun things that go along with the above, like: patching, maintenance, security.")]),t("hr"),t("h3",{attrs:{id:"deploy-luckpermsweb-stack-on-a-server",tabindex:"-1"}},[e._v("Deploy LuckPermsWeb stack on a server "),t("a",{staticClass:"header-anchor",attrs:{href:"#deploy-luckpermsweb-stack-on-a-server"}},[e._v("🔗")])]),t("p",[e._v("On a server:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-bash"}},[e._v("git "),t("span",{pre:!0,attrs:{class:"hljs-built_in"}},[e._v("clone")]),e._v(" git@github.com:LuckPerms/LuckPermsWeb.git\n"),t("span",{pre:!0,attrs:{class:"hljs-built_in"}},[e._v("cd")]),e._v(" LuckPermsWeb\ndocker compose up -d\n")])]),t("p",[e._v("will expose the interface on port "),t("code",{pre:!0},[e._v("8080")]),e._v(".")]),t("p",[e._v("At this point, you should be able to access the UI at "),t("code",{pre:!0},[e._v("http://<your server ip>:8080/")]),e._v(" - but this isn't very secure, so the next step is probably to put this app behind a reverse proxy (e.g. NGINX), then configure a domain + DNS, then TLS certificates. All of this is beyond the scope of this guide.")]),t("h3",{attrs:{id:"configuring-the-plugin-to-use-your-custom-stack",tabindex:"-1"}},[e._v("Configuring the plugin to use your custom stack "),t("a",{staticClass:"header-anchor",attrs:{href:"#configuring-the-plugin-to-use-your-custom-stack"}},[e._v("🔗")])]),t("p",[e._v("Assuming, for example, your stack is hosted and available at "),t("code",{pre:!0},[e._v("https://luckperms.yourdomain.com/")]),e._v(":")]),t("p",[e._v("Add the following to the end of the LuckPerms "),t("code",{pre:!0},[e._v("config.yml")]),e._v(".")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("bytebin-url:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("https://luckperms.yourdomain.com/data/")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("bytesocks-url:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("https://luckperms.yourdomain.com/ws/")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("web-editor-url:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("https://luckperms.yourdomain.com/editor/")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("verbose-viewer-url:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("https://luckperms.yourdomain.com/verbose/")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("tree-viewer-url:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("https://luckperms.yourdomain.com/treeview/")]),e._v("\n")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},935:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("As well as running as a plugin or mod within a Minecraft server, LuckPerms can also be ran as a standalone app. This has two main (current) purposes:")]),t("ol",[t("li",[e._v("To enable server admins to quickly spin up a "),t("strong",[e._v("LuckPerms CLI")]),e._v(" and run commands against a remote database, without needing to start a Minecraft server too!")]),t("li",[e._v("To enable small, standalone extensions (like the "),t("strong",[e._v("REST API")]),e._v(") to run as a separate app.")])]),t("h2",{attrs:{id:"luckperms-as-a-standalone-app",tabindex:"-1"}},[e._v("LuckPerms as a Standalone App "),t("a",{staticClass:"header-anchor",attrs:{href:"#luckperms-as-a-standalone-app"}},[e._v("🔗")])]),t("p",[e._v('The standalone "plugin" is part of the main LuckPerms codebase, within a module called '),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/tree/master/standalone"}},[t("code",{pre:!0},[e._v("standalone")])]),e._v(".")]),t("p",[e._v("The easiest (and recommended) way to run the standalone app is using Docker.")]),t("p",[e._v("You just need to ensure Docker is installed on your machine, and run the following command!")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs"}},[e._v("docker run -it --rm ghcr.io"),t("span",{pre:!0,attrs:{class:"hljs-regexp"}},[e._v("/luckperms/")]),e._v("luckperms\n")])]),t("p",[e._v("This will give you a CLI that you can use just like you would a Minecraft server.")]),t("p",[t("img",{attrs:{src:r(2626),height:"400"}})]),t("p",[e._v("You can configure your database host/user/password using "),t("a",{attrs:{href:"Configuration#environment-variables"}},[e._v("environment variables")]),e._v(".")]),t("p",[e._v("You can also use Docker Compose. Create a file called "),t("code",{pre:!0},[e._v("docker-compose.yml")]),e._v(":")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("version:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"3.8"')]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("services:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("luckperms:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("image:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("ghcr.io/luckperms/luckperms")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("# Uncomment if your database is running on the same host")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("#extra_hosts:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v('# - "database:host-gateway"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("environment:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("LUCKPERMS_STORAGE_METHOD:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mysql")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("LUCKPERMS_DATA_ADDRESS:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("database:3306")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("LUCKPERMS_DATA_DATABASE:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("minecraft")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("LUCKPERMS_DATA_USERNAME:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("root")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("LUCKPERMS_DATA_PASSWORD:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("passw0rd")]),e._v("\n")])]),t("ul",[t("li",[e._v("Start the app using: "),t("code",{pre:!0},[e._v("docker compose up -d")]),e._v(".")]),t("li",[e._v("View the console using: "),t("code",{pre:!0},[e._v("docker compose logs -f luckperms")])]),t("li",[e._v("Send a command using: "),t("code",{pre:!0},[e._v("docker compose exec luckperms send <command>")])]),t("li",[e._v("Stop the app using: "),t("code",{pre:!0},[e._v("docker compose down")])])]),t("h2",{attrs:{id:"luckperms-rest-api-for-developers",tabindex:"-1"}},[e._v("LuckPerms REST API (for developers) "),t("a",{staticClass:"header-anchor",attrs:{href:"#luckperms-rest-api-for-developers"}},[e._v("🔗")])]),t("p",[e._v('The LuckPerms REST API is an "extension" that can run within the standalone app (described above).')]),t("p",[e._v("It allows other programs, applications or scripts to easily read/modify/write LuckPerms data, without needing to interact with the database directly.")]),t("p",[e._v("For more information, and instructions for how to use the API, please see:")]),t("ul",[t("li",[e._v("The "),t("a",{attrs:{href:"https://github.com/LuckPerms/rest-api"}},[e._v("LuckPerms/rest-api")]),e._v(" GitHub repository & readme")]),t("li",[e._v("The "),t("a",{attrs:{href:"https://petstore.swagger.io/?url=https://raw.githubusercontent.com/LuckPerms/rest-api/main/src/main/resources/luckperms-openapi.yml"}},[e._v("API Specification")])])]),t("h2",{attrs:{id:"extensions-within-the-standalone-app-for-developers",tabindex:"-1"}},[e._v("Extensions within the Standalone App (for developers) "),t("a",{staticClass:"header-anchor",attrs:{href:"#extensions-within-the-standalone-app-for-developers"}},[e._v("🔗")])]),t("p",[e._v('You can also create your own "plugin-like" Java extensions for the standalone app and have them loaded at startup!')]),t("p",[e._v("It's quite easy:")]),t("ol",[t("li",[e._v("Create a file called "),t("code",{pre:!0},[e._v("extension.json")]),e._v(" at the root of your jar with the following contents:"),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"class"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"com.example.extension.MainClass"')]),e._v("}\n")])]),e._v(" (replace with your main class!)")]),t("li",[e._v("Create a main class that extends "),t("code",{pre:!0},[e._v("import net.luckperms.api.extension.Extension")]),e._v(". It should have a no-args constructor, or a constructor that just accepts a "),t("code",{pre:!0},[e._v("net.luckperms.api.LuckPerms")]),e._v(" instance.")])]),t("p",[e._v("That's it! Add your jar to the extensions folder.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},5523:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This page is an extension to the general "),t("a",{attrs:{href:"FAQ"}},[e._v("FAQ list")]),e._v(", with a focus on storage related issues and errors.")]),t("p",[e._v("It includes a number of common errors & fixes for storage providers (mostly MySQL!).")]),t("hr"),t("p",[e._v("Firstly, let's clarify how LuckPerms permission storage operates. We get a lot of (sometimes quite angry!) comments from people blaming us for things not working, when 95% of the time it's got nothing to do with LuckPerms. 😢")]),t("p",[e._v('In order to write permissions data to a storage backend, LuckPerms uses something called a "driver" to interact with the underlying storage system.')]),t("p",[e._v("These drivers are made by 3rd parties. They are extensively tested, and produced (in most cases) by the organisation behind the database software.")]),t("p",[e._v("Importantly:")]),t("ul",[t("li",[t("strong",[e._v("If the error originates from the driver - it is "),t("em",[e._v("not")]),e._v(" being caused by LuckPerms.")])]),t("li",[e._v("You "),t("em",[e._v("may")]),e._v(" have experienced a bug in the driver itself, however this is unlikely")]),t("li",[e._v("The most likely cause is that something is setup or configured incorrectly.")])]),t("p",[e._v("Some common errors are listed below. If your issue isn't here, then feel free to open a bug report here on GitHub and we can point you in the right direction (or fix the issue if it turns out to be a LuckPerms bug!).")]),t("hr"),t("h1",{attrs:{id:"common-errors",tabindex:"-1"}},[e._v("Common errors "),t("a",{staticClass:"header-anchor",attrs:{href:"#common-errors"}},[e._v("🔗")])]),t("h3",{attrs:{id:"luckperms-cannot-connect-to-my-mysql-server",tabindex:"-1"}},[e._v("LuckPerms cannot connect to my MySQL server "),t("a",{staticClass:"header-anchor",attrs:{href:"#luckperms-cannot-connect-to-my-mysql-server"}},[e._v("🔗")])]),t("p",[e._v("Errors such as:")]),t("blockquote",[t("p",[e._v("Caused by: java.util.concurrent.CompletionException: java.sql.SQLTransientConnectionException: luckperms - Connection is not available, request timed out after 5000ms."),t("br"),e._v(" ..."),t("br"),e._v(" Caused by: java.sql.SQLTransientConnectionException: luckperms - Connection is not available, request timed out after 5000ms.")])]),t("blockquote",[t("p",[e._v("luckperms - Failed to validate connection com.mysql.jdbc.JDBC4Connection@xxxxxxxxx (Communications link failure)"),t("br"),e._v(" The last packet successfully received from the server was xxxxxxx milliseconds ago. The last packet sent successfully to the server was xx milliseconds ago.)")])]),t("p",[e._v("Check that the following is correct:")]),t("ul",[t("li",[e._v("You are using the correct address and port")]),t("li",[e._v("You are using the correct username / password")]),t("li",[e._v("That the database exists and is accessible by the user")]),t("li",[e._v("That the server is online & accepting connections")]),t("li",[e._v("There are no firewall rules blocking the connection")]),t("li",[e._v("MySQL is bound to the correct port, and is accessible from the server where LuckPerms is installed")]),t("li",[e._v("Check that your MySQL max connections limit is not being exceeded. By default, LuckPerms will use 10 connections per server. If you have lots of plugins connecting to the same server, you will need to increase this limit.")])]),t("p",[e._v("If you are getting "),t("code",{pre:!0},[e._v("Communications link failure")]),e._v(" errors, or errors relating to a timeout, then something from the list above is incorrect.")]),t("p",[e._v("To give the user access to the LuckPerms tables, execute:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-sql"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("GRANT")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("ALL")]),e._v(" PRIVILEGES "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("ON")]),e._v(" [databasename]."),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("*")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("TO")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'[username]'")]),e._v("@"),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'[ipaddress]'")]),e._v(";\n")])]),t("p",[e._v("obviously replacing the parts in [ ].")]),t("p",[e._v("For example:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-sql"}},[t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("GRANT")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("ALL")]),e._v(" PRIVILEGES "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("ON")]),e._v(" luckperms."),t("span",{pre:!0,attrs:{class:"hljs-operator"}},[e._v("*")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-keyword"}},[e._v("TO")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'luck'")]),e._v("@"),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'%'")]),e._v(";\n")])]),t("p",[e._v("Then, when you have finished your changes, run:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-sql"}},[e._v("FLUSH PRIVILEGES;\n")])]),t("hr"),t("h3",{attrs:{id:"mysql-ssl-errors",tabindex:"-1"}},[e._v("MySQL SSL errors "),t("a",{staticClass:"header-anchor",attrs:{href:"#mysql-ssl-errors"}},[e._v("🔗")])]),t("p",[e._v("If you get an error similar to:")]),t("blockquote",[t("p",[e._v("Establishing SSL connection without server's identity verification is not recommended. According to MySQL requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.")])]),t("p",[e._v("... you need to disable SSL for MySQL connections.")]),t("p",[e._v('You can do this by editing the connection properties in the LuckPerms config file. Under the "Storage" section, locate:')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("data:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("pool-settings:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("# This setting allows you to define extra properties for connections.")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("properties:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("useUnicode:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("characterEncoding:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("utf8")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("useSSL:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("verifyServerCertificate:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n")])]),t("p",[e._v("and add the last two options.")]),t("hr"),t("h3",{attrs:{id:"mysql-no-operations-allowed-after-connection-closed-error",tabindex:"-1"}},[e._v('MySQL "No operations allowed after connection closed" error '),t("a",{staticClass:"header-anchor",attrs:{href:"#mysql-no-operations-allowed-after-connection-closed-error"}},[e._v("🔗")])]),t("p",[e._v("If you get an error similar to:")]),t("blockquote",[t("p",[e._v("me.lucko.luckperms.lib.hikari.pool.PoolBase - luckperms-hikari - Failed to validate connection me.lucko.luckperms.lib.mysql.jdbc.JDBC4Connection@xxxxxxx (No operations allowed after connection closed.)")])]),t("blockquote",[t("p",[e._v("me.lucko.luckperms.lib.hikari.pool.PoolBase - luckperms-hikari- Failed to validate connection me.lucko.luckperms.lib.mariadb.MariaDbConnection@xxxxxxx (xxx cannot be called on a closed connection)")])]),t("p",[e._v("... you need to modify the "),t("code",{pre:!0},[e._v("maximum-lifetime")]),e._v(" (LP config) and "),t("code",{pre:!0},[e._v("wait_timeout")]),e._v(" (MySQL config) settings.")]),t("p",[e._v("Crucially, the "),t("code",{pre:!0},[e._v("maximum-lifetime")]),e._v(" value in the LP config must be "),t("strong",[e._v("less than")]),e._v(" the "),t("code",{pre:!0},[e._v("wait_timeout")]),e._v(" value in your MySQL config.")]),t("table",[t("thead",[t("tr",[t("th",[t("code",{pre:!0},[e._v("maximum-lifetime")])])])]),t("tbody",[t("tr",[t("td",[e._v("Location: "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/blob/be92a6754404b387dead24ebc1dd3ca8af8e6456/bukkit/src/main/resources/config.yml#L125-L128"}},[e._v("LuckPerms config")])])]),t("tr",[t("td",[e._v("Units: milliseconds")])]),t("tr",[t("td",[e._v("Default value: "),t("code",{pre:!0},[e._v("1800000")]),e._v(" (30 minutes)")])])])]),t("table",[t("thead",[t("tr",[t("th",[t("code",{pre:!0},[e._v("wait_timeout")])])])]),t("tbody",[t("tr",[t("td",[e._v("Location: "),t("a",{attrs:{href:"https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_wait_timeout"}},[e._v("MySQL server config")])])]),t("tr",[t("td",[e._v("Units: seconds")])]),t("tr",[t("td",[e._v("Default value: "),t("code",{pre:!0},[e._v("28800")]),e._v(" (8 hours)")])])])]),t("p",[e._v("It doesn't matter which value you change, so long as the "),t("code",{pre:!0},[e._v("maximum-lifetime")]),e._v(" is less than "),t("code",{pre:!0},[e._v("wait_timeout")]),e._v(". Remember that the units of each value are different!")]),t("p",[e._v("The default "),t("code",{pre:!0},[e._v("maximum-lifetime")]),e._v(" value of 30 minutes is fine for the "),t("strong",[e._v("vast")]),e._v(" majority of users. It only becomes a problem if you or your hosting provider have changed the wait timeout setting from the 8 hour default.")]),t("p",[e._v("If your MySQL server is provided by a 3rd party, ask them what the value is set to.")]),t("hr"),t("h3",{attrs:{id:"mysql-exceeded-max-connections",tabindex:"-1"}},[e._v("MySQL exceeded max connections "),t("a",{staticClass:"header-anchor",attrs:{href:"#mysql-exceeded-max-connections"}},[e._v("🔗")])]),t("p",[e._v("Errors similar to:")]),t("blockquote",[t("p",[e._v("Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User 'xxxxxxxxx' has exceeded the 'max_user_connections' resource (current value: xxx)")])]),t("p",[e._v("Your MySQL user's max connections limit is being exceeded. By default, LuckPerms will use 10 connections per server. If you have lots of plugins connecting to the same MySQL server, you will need to increase this limit.")]),t("p",[e._v("If you host your own MySQL server, there are some links below which explain how you can raise the limit.")]),t("ul",[t("li",[e._v("https://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html")]),t("li",[e._v("https://www.electrictoolbox.com/update-max-connections-mysql/")])]),t("p",[e._v("If your MySQL server is provided by a hosting company, you need to ask them to raise the limit for you.")]),t("hr"),t("h3",{attrs:{id:"mysql-public-key-retrieval-is-not-allowed",tabindex:"-1"}},[e._v("MySQL Public Key Retrieval is not allowed "),t("a",{staticClass:"header-anchor",attrs:{href:"#mysql-public-key-retrieval-is-not-allowed"}},[e._v("🔗")])]),t("p",[e._v("Errors similar to:")]),t("blockquote",[t("p",[e._v("Caused by: me.lucko.luckperms.lib.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed")])]),t("p",[e._v("This is a MySQL error that is certainly possible to correct.")]),t("p",[e._v('You can do this by editing the connection properties in the LuckPerms config file. Under the "Storage" section, locate:')]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("data:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("pool-settings:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-comment"}},[e._v("# This setting allows you to define extra properties for connections.")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("properties:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("useUnicode:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("characterEncoding:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("utf8")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("useSSL:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("verifyServerCertificate:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("allowPublicKeyRetrieval:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("p",[e._v("and add last option, "),t("code",{pre:!0},[e._v("allowPublicKeyRetrieval")]),e._v(", set to true.")]),t("hr"),t("h3",{attrs:{id:"mysql-failed-to-set-port",tabindex:"-1"}},[e._v("MySQL failed to set port "),t("a",{staticClass:"header-anchor",attrs:{href:"#mysql-failed-to-set-port"}},[e._v("🔗")])]),t("p",[e._v("Errors similar to:")]),t("blockquote",[t("p",[e._v("Failed to set property port on target class me.lucko.luckperms.lib.mysql.jdbc.jdbc2.optional.MysqlDataSource java.lang.NumberFormatException: For input string: xxxx")])]),t("p",[e._v("Your "),t("code",{pre:!0},[e._v("address")]),e._v(" setting in the LuckPerms configuration is unable to set the port, likely due to a mistyped or misformatted address and port. If the port is 3306, as it is by default, there is no need to set the port at all. The correct format for the "),t("code",{pre:!0},[e._v("address")]),e._v(" line is "),t("code",{pre:!0},[e._v('"address:port"')]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"luckperms-cannot-connect-to-my-redis-server",tabindex:"-1"}},[e._v("LuckPerms cannot connect to my Redis server "),t("a",{staticClass:"header-anchor",attrs:{href:"#luckperms-cannot-connect-to-my-redis-server"}},[e._v("🔗")])]),t("p",[e._v("Check that the following is correct:")]),t("ul",[t("li",[e._v("You are using the correct address and port")]),t("li",[e._v("Your password is correct")]),t("li",[e._v("There are no firewall rules blocking the connection")]),t("li",[e._v("The Redis server is actually running")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6989:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v('LuckPerms can store its data in a number of ways. These options can be changed in the "Storage Settings" section of the config file.')]),t("h3",{attrs:{id:"possible-options",tabindex:"-1"}},[e._v("Possible options "),t("a",{staticClass:"header-anchor",attrs:{href:"#possible-options"}},[e._v("🔗")])]),t("ul",[t("li",[t("strong",[e._v("Remote databases")]),e._v(" - require connection to a storage server hosted separately "),t("ul",[t("li",[e._v("MySQL")]),t("li",[e._v("MariaDB (preferred over MySQL)")]),t("li",[e._v("PostgreSQL")]),t("li",[e._v("MongoDB")])])]),t("li",[t("strong",[e._v("Flatfile/local databases")]),e._v(' - don\'t require any extra setup, they "just work". This format is not easily editable. '),t("ul",[t("li",[e._v("H2 (preferred over SQLite)")]),t("li",[e._v("SQLite")])])]),t("li",[t("strong",[e._v("Readable & editable text files")]),t("ul",[t("li",[e._v("YAML (.yml files)")]),t("li",[e._v("JSON (.json files)")]),t("li",[e._v("HOCON (.conf files)")]),t("li",[e._v("TOML (.toml files)")])])])]),t("p",[e._v("The default option is "),t("code",{pre:!0},[e._v("H2")]),e._v(".")]),t("h4",{attrs:{id:"remote-databases",tabindex:"-1"}},[e._v("Remote databases "),t("a",{staticClass:"header-anchor",attrs:{href:"#remote-databases"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Benefits")]),t("th",[e._v("Drawbacks")])])]),t("tbody",[t("tr",[t("td",[e._v("Allows data to be shared between multiple servers.")]),t("td",[e._v("Complicated to setup??")])]),t("tr",[t("td",[e._v("Generally more reliable")]),t("td",[e._v("Requires extra resources to host the database")])]),t("tr",[t("td",[e._v("Can generally handle more data, and supports concurrent reads/writes")]),t("td")]),t("tr",[t("td",[e._v("Indexed, more efficient when performing bulk queries and updates")]),t("td")])])]),t("h4",{attrs:{id:"flatfile-databases",tabindex:"-1"}},[e._v("Flatfile databases "),t("a",{staticClass:"header-anchor",attrs:{href:"#flatfile-databases"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Benefits")]),t("th",[e._v("Drawbacks")])])]),t("tbody",[t("tr",[t("td",[e._v("Generally more reliable and more efficient than editable files")]),t("td",[e._v("Not (easily) possible to edit the data directly")])]),t("tr",[t("td",[e._v("Indexed, more efficient when performing bulk queries and updates")]),t("td",[e._v("Sometimes prone to data corruption issues")])]),t("tr",[t("td"),t("td",[e._v("Data cannot be shared between servers")])])])]),t("h4",{attrs:{id:"text-config-files",tabindex:"-1"}},[e._v("Text (config) files "),t("a",{staticClass:"header-anchor",attrs:{href:"#text-config-files"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Benefits")]),t("th",[e._v("Drawbacks")])])]),t("tbody",[t("tr",[t("td",[e._v("Human readable!")]),t("td",[e._v("Less efficient use of disk space compared to a flatfile database")])]),t("tr",[t("td",[e._v("It's possible to edit/inspect the files directly")]),t("td",[e._v("Difficult to perform bulk queries and updates")])]),t("tr",[t("td"),t("td",[e._v("Data cannot be shared between servers")])]),t("tr",[t("td"),t("td",[e._v("More prone to corruption due to human error (mistakes when editing the data by hand)")])])])]),t("hr"),t("h3",{attrs:{id:"more-details",tabindex:"-1"}},[e._v("More details "),t("a",{staticClass:"header-anchor",attrs:{href:"#more-details"}},[e._v("🔗")])]),t("h4",{attrs:{id:"flatfilelocal-databases-h2--sqlite",tabindex:"-1"}},[e._v("Flatfile/local databases (H2 & SQLite) "),t("a",{staticClass:"header-anchor",attrs:{href:"#flatfilelocal-databases-h2--sqlite"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("All data is stored within one file in the LuckPerms folder.")]),t("li",[e._v("The data cannot be easily edited with a text editor, unlike YAML or JSON.")]),t("li",[e._v("The plugin commands must be used to edit or view the data.")])]),t("p",[e._v("With "),t("code",{pre:!0},[e._v("H2")]),e._v(", all data is stored in the "),t("code",{pre:!0},[e._v("luckperms-h2.mv.db")]),e._v(" file."),t("br"),e._v(" With "),t("code",{pre:!0},[e._v("SQLite")]),e._v(", all data is stored in the "),t("code",{pre:!0},[e._v("luckperms-sqlite.db")]),e._v(" file.")]),t("p",[e._v("To use either of these options, set:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("h2")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("sqlite")]),e._v("\n")])]),t("h4",{attrs:{id:"readable--editable-text-files-yaml--json--hocon--toml",tabindex:"-1"}},[e._v("Readable & editable text files (YAML / JSON / HOCON / TOML) "),t("a",{staticClass:"header-anchor",attrs:{href:"#readable--editable-text-files-yaml--json--hocon--toml"}},[e._v("🔗")])]),t("ul",[t("li",[e._v("Data is stored in multiple files within the LuckPerms folder.")]),t("li",[e._v("The files can be read/edited when the server is running, and changes will be automatically applied.")])]),t("p",[e._v("With "),t("code",{pre:!0},[e._v("YAML")]),e._v(", data is stored with a "),t("code",{pre:!0},[e._v(".yml")]),e._v(" extension in the "),t("code",{pre:!0},[e._v("yaml-storage")]),e._v(" directory."),t("br"),e._v(" With "),t("code",{pre:!0},[e._v("JSON")]),e._v(", data is stored with a "),t("code",{pre:!0},[e._v(".json")]),e._v(" extension in the "),t("code",{pre:!0},[e._v("json-storage")]),e._v(" directory."),t("br"),e._v(" With "),t("code",{pre:!0},[e._v("HOCON")]),e._v(", data is stored with a "),t("code",{pre:!0},[e._v(".conf")]),e._v(" extension in the "),t("code",{pre:!0},[e._v("hocon-storage")]),e._v(" directory."),t("br"),e._v(" With "),t("code",{pre:!0},[e._v("TOML")]),e._v(", data is stored with a "),t("code",{pre:!0},[e._v(".toml")]),e._v(" extension in the "),t("code",{pre:!0},[e._v("toml-storage")]),e._v(" directory.")]),t("p",[e._v("The layouts inside of these types are very similar, and only differ in syntax.")]),t("p",[e._v("Some example files are shown at "),t("a",{attrs:{href:"#example-files"}},[e._v("end of this page")]),e._v(".")]),t("p",[e._v("To use either of these options, set:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("yaml")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("json")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("hocon")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("toml")]),e._v("\n")])]),t("h4",{attrs:{id:"remote-databases-mysql--mariadb--postgresql--mongodb",tabindex:"-1"}},[e._v("Remote databases (MySQL / MariaDB / PostgreSQL / MongoDB) "),t("a",{staticClass:"header-anchor",attrs:{href:"#remote-databases-mysql--mariadb--postgresql--mongodb"}},[e._v("🔗")])]),t("p",[e._v("You will need to input the address, port, database, username and password values for your database server into the configuration file.")]),t("p",[e._v("This option is recommended for users expecting to store a lot of data, or thinking about expanding into a network of servers. If you are already running multiple servers and want to sync data between them, then you need to use a remote database type.")]),t("p",[e._v("The schema layouts can be found "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/tree/master/common/src/main/resources/me/lucko/luckperms/schema"}},[e._v("here")]),e._v(".")]),t("p",[e._v("To use either of these options, set:")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yaml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mysql")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mariadb")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("postgresql")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("storage-method:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("mongodb")]),e._v("\n")])]),t("hr"),t("h3",{attrs:{id:"example-files",tabindex:"-1"}},[e._v("Example files "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-files"}},[e._v("🔗")])]),t("h5",{attrs:{id:"example-yaml-file",tabindex:"-1"}},[e._v("Example YAML file "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-yaml-file"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("uuid:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("c1d60c50-70b5-4722-8057-87767557e50d")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("name:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("Luck")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("primary-group:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("default")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("permissions:")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("test.permission:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("context:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("factions")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("negated.permission.example:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("special.test.perm")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("special.test.permission")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("parents:")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("default")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("prefixes:")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'&c[Admin] '")]),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v(":")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("priority:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("10")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("meta:")]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-bullet"}},[e._v("-")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("homes:")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v("'10'")]),e._v("\n")])]),t("h5",{attrs:{id:"example-json-file",tabindex:"-1"}},[e._v("Example JSON file "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-json-file"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"uuid"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"c1d60c50-70b5-4722-8057-87767557e50d"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"name"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"Luck"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"primaryGroup"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"default"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"permissions"')]),e._v(": [\n {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"permission"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"test.permission"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"value"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"context"')]),e._v(": {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"server"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"factions"')]),e._v("\n }\n },\n {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"permission"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"negated.permission.example"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"value"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n },\n {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"permission"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"special.test.perm"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"value"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n },\n {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"permission"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"special.test.permission"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"value"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n }\n ],\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"parents"')]),e._v(": [\n {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"group"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"default"')]),e._v("\n }\n ],\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"prefixes"')]),e._v(": [\n {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"prefix"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"&c[Admin] "')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"priority"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("10")]),e._v("\n }\n ],\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"meta"')]),e._v(": [\n {\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"key"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"homes"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"value"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"10"')]),e._v("\n }\n ]\n}\n")])]),t("h5",{attrs:{id:"example-hocon-file",tabindex:"-1"}},[e._v("Example HOCON file "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-hocon-file"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-conf"}},[e._v('uuid=c1d60c50-70b5-4722-8057-87767557e50d\nname=Luck\nprimary-group=default\npermissions=[\n {\n permission="test.permission"\n value=true\n context {\n server=factions\n }\n },\n {\n permission="negated.permission.example"\n value=false\n },\n {\n permission="special.test.perm"\n value=true\n },\n {\n permission="special.test.permission"\n value=true\n }\n]\nparents=[\n {\n group=default\n }\n]\nprefixes=[\n {\n prefix="&c[Admin] "\n priority=10\n }\n]\nmeta=[\n {\n key=homes\n value="10"\n }\n]\n')])]),t("h5",{attrs:{id:"example-toml-file",tabindex:"-1"}},[e._v("Example TOML file "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-toml-file"}},[e._v("🔗")])]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-toml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("uuid")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"c1d60c50-70b5-4722-8057-87767557e50d"')]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("name")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"Luck"')]),e._v("\n"),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("primary-group")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"default"')]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[[permissions]]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("permission")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"test.permission"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n\n "),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[permissions.context]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("server")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"factions"')]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[[permissions]]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("permission")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"negated.permission.example"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("false")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[[permissions]]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("permission")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"special.test.perm"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[[permissions]]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("permission")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"special.test.permission"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[[parents]]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("group")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"default"')]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[[prefixes]]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("prefix")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"&c[Admin] "')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("priority")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("10")]),e._v("\n\n"),t("span",{pre:!0,attrs:{class:"hljs-section"}},[e._v("[[meta]]")]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("key")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"homes"')]),e._v("\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("value")]),e._v(" = "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"10"')]),e._v("\n")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},157:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h2",{attrs:{id:"how-to",tabindex:"-1"}},[e._v("How to "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-to"}},[e._v("🔗")])]),t("p",[e._v("Switching datastores is easy.")]),t("ol",[t("li",[e._v("Firstly, run "),t("code",{pre:!0},[e._v("/luckperms export <file>")])]),t("li",[e._v("Then, stop your server completely.")]),t("li",[e._v("Edit your config file and change the storage type.")]),t("li",[e._v("Now, start your server again. Let the new datastore initialise.")]),t("li",[e._v("Then, run "),t("code",{pre:!0},[e._v("/luckperms import <file>")])]),t("li",[e._v("All of your data should have been moved to the new datastore.")])]),t("p",[e._v("<file> is the name of the file that you want to save to/load from. The file will/must be located in the LuckPerms data folder. You can call it whatever you like in the export command (e.g. "),t("code",{pre:!0},[e._v("data")]),e._v(") - but you obviously need to use the same name when you re-import it.")]),t("h2",{attrs:{id:"web-exporting",tabindex:"-1"}},[e._v("Web Exporting "),t("a",{staticClass:"header-anchor",attrs:{href:"#web-exporting"}},[e._v("🔗")])]),t("ol",[t("li",[e._v("Run "),t("code",{pre:!0},[e._v("/luckperms export --upload")])]),t("li",[e._v("Take the 10 digit code that it gives you and save it somewhere.")]),t("li",[e._v("Completely stop the server")]),t("li",[e._v("Edit your config file and change the storage type.")]),t("li",[e._v("Run "),t("code",{pre:!0},[e._v("/luckperms import <10 digit code> --upload")])]),t("li",[e._v("All of your data should be moved to the new datastore")])]),t("h2",{attrs:{id:"backups",tabindex:"-1"}},[e._v("Backups "),t("a",{staticClass:"header-anchor",attrs:{href:"#backups"}},[e._v("🔗")])]),t("p",[e._v("You can also use this feature to backup all of your LuckPerms data. Just run the export command, and save the file output in a safe place. Note that the "),t("code",{pre:!0},[e._v("--upload")]),e._v(" variant of the webexport command will expire and as such is likely not the ideal method for backup storage.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},3435:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("Data can be synchronised between different servers with ease.")]),t("h2",{attrs:{id:"requirements",tabindex:"-1"}},[e._v("Requirements "),t("a",{staticClass:"header-anchor",attrs:{href:"#requirements"}},[e._v("🔗")])]),t("p",[e._v("For data to sync, you "),t("strong",[e._v("must")]),e._v(" be using a remote storage type. All of your servers need to be connected to the same database.")]),t("p",[e._v("See the page for "),t("a",{attrs:{href:"Storage-types"}},[e._v("Storage types")]),e._v(' for more information. You need to use one of the "'),t("strong",[e._v("remote databases")]),e._v('" listed on that page.')]),t("h2",{attrs:{id:"instantly-propagating-updates",tabindex:"-1"}},[e._v("Instantly propagating updates "),t("a",{staticClass:"header-anchor",attrs:{href:"#instantly-propagating-updates"}},[e._v("🔗")])]),t("p",[e._v("Simply connecting the servers to the same database isn't enough for data to be synced instantly between them. LuckPerms needs to know that data has changed in order to update it.")]),t("p",[e._v("This can be achieved in a number of ways.")]),t("p",[e._v("All of these settings are located in the config under "),t("code",{pre:!0},[e._v("Update propagation & messaging service")]),e._v(".")]),t("h3",{attrs:{id:"sync-interval",tabindex:"-1"}},[e._v("Sync Interval "),t("a",{staticClass:"header-anchor",attrs:{href:"#sync-interval"}},[e._v("🔗")])]),t("p",[e._v("You can set a sync interval, which will make LuckPerms periodically pull the latest changes from the database."),t("br"),e._v(" The setting is controlled in the config, and defaults to "),t("code",{pre:!0},[e._v("-1")]),e._v(" (meaning the task is disabled).")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("sync-minutes:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-number"}},[e._v("-1")]),e._v("\n")])]),t("h3",{attrs:{id:"watch-files",tabindex:"-1"}},[e._v("Watch files "),t("a",{staticClass:"header-anchor",attrs:{href:"#watch-files"}},[e._v("🔗")])]),t("p",[e._v("If you're using a file based storage type (YAML, JSON or HOCON), then LuckPerms can listen for changes made to those data files, and automatically update when it detects that a change has been made.")]),t("p",[e._v("This means that you can simply edit one of the data files, and press save, and your changes will be applied to the server."),t("br"),e._v(" The setting is controlled in the config, and is enabled by default.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-yml"}},[t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v("watch-files:")]),e._v(" "),t("span",{pre:!0,attrs:{class:"hljs-literal"}},[e._v("true")]),e._v("\n")])]),t("h3",{attrs:{id:"lp-sync",tabindex:"-1"}},[e._v("/lp sync "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-sync"}},[e._v("🔗")])]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("/lp sync")]),e._v(" command will make the plugin pull the latest changes from the database/files.")]),t("h3",{attrs:{id:"messaging-services",tabindex:"-1"}},[e._v("Messaging Services "),t("a",{staticClass:"header-anchor",attrs:{href:"#messaging-services"}},[e._v("🔗")])]),t("p",[e._v('Once setup, other servers in the network will be "pinged" when a change is made, and will request the latest copy of data from the database.')]),t("p",[e._v("Data is "),t("strong",[e._v("not")]),e._v(" stored using this service - it is only used as a messaging platform.")]),t("p",[e._v("A messaging service can be configured in the config, under the "),t("code",{pre:!0},[e._v("messaging-service")]),e._v(" option.")]),t("h4",{attrs:{id:"possible-options",tabindex:"-1"}},[e._v("Possible options "),t("a",{staticClass:"header-anchor",attrs:{href:"#possible-options"}},[e._v("🔗")])]),t("table",[t("thead",[t("tr",[t("th",[e._v("Service")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[e._v("sql")]),t("td",[e._v("Uses the SQL database to form a queue system for communication. This is chosen by default if remote SQL storage is in use.")])]),t("tr",[t("td",[e._v("pluginmsg")]),t("td",[e._v("Uses the plugin messaging channels to communicate with the proxy. LuckPerms must be installed on your proxy & all connected servers backend servers. Won't work if you have more than one proxy.")])]),t("tr",[t("td",[e._v("lilypad")]),t("td",[e._v("Uses LilyPad Connect's PubSub system to communicate.")])]),t("tr",[t("td",[e._v("redis")]),t("td",[e._v("Connects to a Redis instance and uses PubSub to communicate.")])]),t("tr",[t("td",[e._v("rabbitmq")]),t("td",[e._v("Connects to a RabbitMQ instance and uses PubSub over AMQP to communicate.")])]),t("tr",[t("td",[e._v("nats")]),t("td",[e._v("Connects to a Nats instance and uses PubSub to communicate.")])]),t("tr",[t("td",[e._v("custom")]),t("td",[e._v("Forces the messaging-service to use your own custom implementation that you provide through the LuckPerms API.")])])])]),t("p",[e._v("It is also possible to provide your own implementation of this service via the LuckPerms API. Make sure you set the messaging-service option in the config to "),t("code",{pre:!0},[e._v("custom")]),e._v(" otherwise it will throw an error on startup.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},351:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp-track-track-info"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"#lp-track-track-editor"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"#lp-track-track-append-group"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("append")]),e._v(" <group>")])]),t("li",[t("a",{attrs:{href:"#lp-track-track-insert-group-position"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("insert")]),e._v(" <group> <position>")])]),t("li",[t("a",{attrs:{href:"#lp-track-track-remove-group"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("remove")]),e._v(" <group>")])]),t("li",[t("a",{attrs:{href:"#lp-track-track-clear"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("clear")])])]),t("li",[t("a",{attrs:{href:"#lp-track-track-rename-new-name"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("rename")]),e._v(" <new name>")])]),t("li",[t("a",{attrs:{href:"#lp-track-track-clone-new-name"}},[e._v("/lp track <track> "),t("code",{pre:!0},[e._v("clone")]),e._v(" <name of clone>")])])]),t("hr"),t("h4",{attrs:{id:"lp-track-track-info",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> info")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-info"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.info"),t("br"),e._v(" Displays the groups in the track.")]),t("hr"),t("h4",{attrs:{id:"lp-track-track-editor",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> editor")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-editor"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.editor"),t("br"),e._v(" Opens a web interface to edit permissions for the specified track. After changes are saved, a command will be given that you need to run for the changes to take effect.")]),t("hr"),t("h4",{attrs:{id:"lp-track-track-append-group",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> append <group>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-append-group"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.append"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to add")])]),t("p",[e._v("Adds a group onto the end of the track.")]),t("hr"),t("h4",{attrs:{id:"lp-track-track-insert-group-position",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> insert <group> <position>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-insert-group-position"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.insert"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to insert")]),t("li",[t("code",{pre:!0},[e._v("<position>")]),e._v(" - the position to insert the group at")])]),t("p",[e._v("Inserts a group into a specific position within this track. A position of 1 would place it at the start of the track.")]),t("hr"),t("h4",{attrs:{id:"lp-track-track-remove-group",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> remove <group>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-remove-group"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.remove"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<group>")]),e._v(" - the group to remove")])]),t("p",[e._v("Removes a group from the track.")]),t("hr"),t("h4",{attrs:{id:"lp-track-track-clear",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> clear")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-clear"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.clear"),t("br"),e._v(" Removes all groups from the track.")]),t("hr"),t("h4",{attrs:{id:"lp-track-track-rename-new-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> rename <new name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-rename-new-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.rename"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<new name>")]),e._v(" - the new name for the track")])]),t("p",[e._v("Changes a track's name.")]),t("hr"),t("h4",{attrs:{id:"lp-track-track-clone-new-name",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp track <track> clone <new name>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-track-track-clone-new-name"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.track.clone"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<new name>")]),e._v(" - the name of the clone")])]),t("p",[e._v("Makes an exact copy of the track under a different name.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},2610:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms has it's own (somewhat) unique track system, although the majority of other permissions plugins also have something similar.")]),t("p",[e._v('Think of a Track as a "ladder" or "promotion route".')]),t("hr"),t("p",[e._v("Note that tracks act only as a means for easy promotion and demotion of users, and "),t("strong",[e._v("do not influence inheritance")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"example-1",tabindex:"-1"}},[e._v("Example 1 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-1"}},[e._v("🔗")])]),t("p",[e._v('I might have a track called "staff". This track would consist the groups:')]),t("p",[t("strong",[e._v("default ➡️ helper ➡️ mod ➡️ admin")])]),t("p",[e._v("I can then use this track to promote or demote users.")]),t("p",[e._v('For example, if "Notch" was in the helper group, and I wanted to make him mod, I would run:')]),t("p",[t("code",{pre:!0},[e._v("/luckperms user Notch promote staff")])]),t("h3",{attrs:{id:"example-2",tabindex:"-1"}},[e._v("Example 2 "),t("a",{staticClass:"header-anchor",attrs:{href:"#example-2"}},[e._v("🔗")])]),t("p",[e._v("I might have another track for donators, consisting of:")]),t("p",[t("strong",[e._v("default ➡️ iron ➡️ gold ➡️ diamond")])]),t("p",[e._v('I could then promote users along this track each time they were to purchase a "rank upgrade", or whatever.')]),t("p",[t("code",{pre:!0},[e._v("/luckperms user Luck promote donator")])]),t("p",[e._v("To promote someone backwards on a track, you just use the demote command.")]),t("h2",{attrs:{id:"creating-a-track",tabindex:"-1"}},[e._v("Creating a Track "),t("a",{staticClass:"header-anchor",attrs:{href:"#creating-a-track"}},[e._v("🔗")])]),t("p",[e._v("Just run "),t("code",{pre:!0},[e._v("/luckperms createtrack <name>")]),e._v(", followed by "),t("code",{pre:!0},[e._v("/luckperms track <name> append <group>")]),e._v(" to add each of the groups. There are other commands available to help edit the track, which you can find on the Command Usage page.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6639:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("The upgrade from LuckPerms v4 to LuckPerms v5 is fairly significant - most notably:")]),t("ul",[t("li",[e._v("A new developer API has been implemented.")]),t("li",[e._v("A brand new version of the web editor has been introduced.")]),t("li",[e._v("A number of features have been rewritten internally to be easier to understand and maintain going forward.")])]),t("p",[e._v("There's still much more to come with this update - but in order to allow users to start making the most of all of the shiny new features, we've decided to release it now.")]),t("hr"),t("h3",{attrs:{id:"before-updating",tabindex:"-1"}},[e._v("Before updating... "),t("a",{staticClass:"header-anchor",attrs:{href:"#before-updating"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Please please please make backups of your data.")])]),t("h3",{attrs:{id:"api-compatibility",tabindex:"-1"}},[e._v("API compatibility "),t("a",{staticClass:"header-anchor",attrs:{href:"#api-compatibility"}},[e._v("🔗")])]),t("p",[e._v("If you have any plugins which use the previous version of the LuckPerms API, these plugins will likely stop working after the update.")]),t("p",[e._v("You have two options for fixing this:")]),t("ol",[t("li",[e._v("Ask the author of the plugin to update to support the new API version. (preferred)")]),t("li",[e._v("Install the "),t("code",{pre:!0},[e._v("extension-legacy-api")]),e._v(" extension.")])]),t("h4",{attrs:{id:"installing-the-extension",tabindex:"-1"}},[e._v("Installing the extension "),t("a",{staticClass:"header-anchor",attrs:{href:"#installing-the-extension"}},[e._v("🔗")])]),t("ol",[t("li",[e._v("Go to your main "),t("code",{pre:!0},[e._v("/LuckPerms/")]),e._v(" folder. (this is probably at "),t("code",{pre:!0},[e._v("/plugins/LuckPerms")]),e._v(")")]),t("li",[e._v("Create a folder within this directory called "),t("code",{pre:!0},[e._v("extensions")]),e._v(".")]),t("li",[e._v("Download "),t("a",{attrs:{href:"https://ci.lucko.me/job/extension-legacy-api/lastSuccessfulBuild/artifact/build/libs/extension-legacy-api-1.0.0.jar"}},[t("code",{pre:!0},[e._v("extension-legacy-api.jar")])]),e._v(" and put it in the extensions folder.")]),t("li",[e._v("Restart your server.")])]),t("h3",{attrs:{id:"other",tabindex:"-1"}},[e._v("Other "),t("a",{staticClass:"header-anchor",attrs:{href:"#other"}},[e._v("🔗")])]),t("p",[e._v('If you previously made use of "default assignments" (last section in the config file), you\'ll need to '),t("a",{attrs:{href:"Extensions"}},[e._v("install the "),t("code",{pre:!0},[e._v("extension-default-assignments")]),e._v(" extension")]),e._v(", and consider migrating away from the feature.")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},5056:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h3",{attrs:{id:"contents",tabindex:"-1"}},[e._v("Contents "),t("a",{staticClass:"header-anchor",attrs:{href:"#contents"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#key-concepts"}},[e._v("Key Concepts")])]),t("li",[t("a",{attrs:{href:"#getting-started"}},[e._v("Getting Started")]),t("ul",[t("li",[t("a",{attrs:{href:"#granting-full-access-to-luckperms"}},[e._v("Granting full access to LuckPerms")])]),t("li",[t("a",{attrs:{href:"#creating-the-first-group"}},[e._v("Creating the first group")])]),t("li",[t("a",{attrs:{href:"#adding-a-user-to-a-group"}},[e._v("Adding a user to a group")])]),t("li",[t("a",{attrs:{href:"#making-a-group-inherit-another-group"}},[e._v("Making a group inherit another group")])]),t("li",[t("a",{attrs:{href:"#removing-parent-groups"}},[e._v("Removing parent groups")])]),t("li",[t("a",{attrs:{href:"#finding-permissions"}},[e._v("Finding Permissions")])]),t("li",[t("a",{attrs:{href:"#web-editor"}},[e._v("Web Editor")])])])])]),t("p",[e._v("If you're already familiar with what LuckPerms is and what it does, then feel free to skip directly to the "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Command Usage and Permissions")]),e._v(" section, which is more of a quick reference.")]),t("p",[e._v("Otherwise, read on! To start with, let's go over some key concepts...")]),t("h1",{attrs:{id:"key-concepts",tabindex:"-1"}},[e._v("Key Concepts "),t("a",{staticClass:"header-anchor",attrs:{href:"#key-concepts"}},[e._v("🔗")])]),t("h3",{attrs:{id:"permission",tabindex:"-1"}},[e._v("Permission "),t("a",{staticClass:"header-anchor",attrs:{href:"#permission"}},[e._v("🔗")])]),t("p",[e._v("On your server, there will be certain "),t("strong",[e._v("features, commands, and functionality")]),e._v(' which exist. Some of these features will be included with the server, and others are added with "plugins" or "mods". Most of these actions '),t("strong",[e._v("have a permission associated with them")]),e._v(", so you can control which users have access to each feature or command.")]),t("p",[e._v("A "),t("strong",[e._v("permission is just a string")]),e._v(" (a sequence of letters/digits), and is separated into parts using periods. For example, “minecraft.command.ban” is the permission for Minecraft's /ban command.")]),t("p",[e._v('The string that represents a certain permission is also sometimes called a "permission node" or just "node" for short.')]),t("p",[e._v("Permission nodes can have "),t("strong",[e._v("three values")]),e._v(": "),t("code",{pre:!0},[e._v("true")]),e._v(", "),t("code",{pre:!0},[e._v("false")]),e._v(", and "),t("code",{pre:!0},[e._v("undefined")]),e._v(".")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("true")]),e._v(" means that the player "),t("em",[e._v("has that permission")]),e._v(" and the condition(s) assigned to it will be given to the player.")]),t("li",[t("code",{pre:!0},[e._v("false")]),e._v(" means that the player "),t("em",[e._v("does not have that permission")]),e._v(" and the condition(s) assigned to it will be "),t("em",[e._v("denied")]),e._v(" to the player.")]),t("li",[t("code",{pre:!0},[e._v("undefined")]),e._v(" means that the permission is "),t("em",[e._v("not explicitly set")]),e._v(" in LuckPerms. This "),t("strong",[e._v("usually")]),e._v(" means that it defaults to being the same as "),t("code",{pre:!0},[e._v("false")]),e._v(". Very rarely, plugins can make "),t("code",{pre:!0},[e._v("undefined")]),e._v(" permissions default to "),t("code",{pre:!0},[e._v("true")]),e._v(", in which case you need to "),t("strong",[e._v("set them explicitly to "),t("code",{pre:!0},[e._v("false")])]),e._v(".")])]),t("h3",{attrs:{id:"group",tabindex:"-1"}},[e._v("Group "),t("a",{staticClass:"header-anchor",attrs:{href:"#group"}},[e._v("🔗")])]),t("p",[e._v("Instead of assigning permissions to every user individually, we have "),t("strong",[e._v("groups of permissions")]),e._v(", which can then be "),t("strong",[e._v("assigned to a user")]),e._v(" as a whole.")]),t("p",[e._v('For example, in my "admin" group, I might add permission to use the /ban and /unban commands, and then assign users to the admin group. This means that they will get all of the permissions from "admin", plus any they have themselves.')]),t("h3",{attrs:{id:"inheritance",tabindex:"-1"}},[e._v("Inheritance "),t("a",{staticClass:"header-anchor",attrs:{href:"#inheritance"}},[e._v("🔗")])]),t("p",[e._v("Users and groups are able to "),t("strong",[e._v("inherit permissions from each other")]),e._v('. For example, by default, all users inherit permissions from the "'),t("strong",[e._v("default")]),e._v('" group. You can setup your own groups and inheritances for your server, and make your own unique system.')]),t("p",[e._v('For example, I might have 3 groups, "default", "moderator" and "admin". I want moderator to inherit permissions from default, and admin to inherit permissions from moderator.')]),t("p",[t("img",{attrs:{src:r(781),height:"800"}})]),t("p",[e._v('In the example above, the user "Bob" inherits from the "admin" group, which in turn inherits from "moderator" and so on. In LuckPerms, when a user/group inherits from another group, we call that group a "'),t("strong",[e._v("parent")]),e._v('" group.')]),t("h3",{attrs:{id:"context",tabindex:"-1"}},[e._v("Context "),t("a",{staticClass:"header-anchor",attrs:{href:"#context"}},[e._v("🔗")])]),t("p",[e._v('A term that you will encounter quite often with LuckPerms is "context".')]),t("p",[t("strong",[e._v("Context")]),e._v(" in the most basic sense simply means the "),t("strong",[e._v("circumstances where something will apply")]),e._v(". For example, contexts allow you to grant users or groups permisions that only apply in certain servers, worlds, gamemodes, etc.")]),t("p",[e._v("Contexts are such a fundamental part of the plugin, they have their "),t("a",{attrs:{href:"Context"}},[e._v("very own wiki page")]),e._v(" dedicated to explaining their use. 😃")]),t("h1",{attrs:{id:"getting-started",tabindex:"-1"}},[e._v("Getting Started "),t("a",{staticClass:"header-anchor",attrs:{href:"#getting-started"}},[e._v("🔗")])]),t("p",[e._v("If you haven't got LuckPerms installed just yet, please refer to the "),t("a",{attrs:{href:"Installation"}},[e._v("installation guide")]),e._v(" first.")]),t("p",[e._v("Then, please make sure you read the section about "),t("a",{attrs:{href:"Storage-types"}},[e._v("choosing a Storage type")]),e._v(" before proceeding. Whilst it is possible to change these options later, it's better to get them right the first time around.")]),t("h2",{attrs:{id:"granting-full-access-to-luckperms",tabindex:"-1"}},[e._v("Granting full access to LuckPerms "),t("a",{staticClass:"header-anchor",attrs:{href:"#granting-full-access-to-luckperms"}},[e._v("🔗")])]),t("p",[e._v("The first thing you'll want to do is give yourself full access to the plugin. When LuckPerms is first installed, nobody has access to any of the LP commands.")]),t("p",[e._v("To do this, login to your server, and then open the server console.")]),t("p",[e._v("Then, type "),t("code",{pre:!0},[e._v("lp user <your username> permission set luckperms.* true")]),e._v(". (don't worry, the usage of this command will be explained later)")]),t("p",[e._v("The result should look something like this:"),t("br"),t("img",{attrs:{src:r(1038),alt:""}})]),t("blockquote",[t("p",[e._v("If you're running an \"integrated server\" (the server is running inside your game client), you might not have a console to access, but that's ok! You should automatically have all permissions already.")])]),t("p",[e._v("Effectively, what we've done there is give your user the "),t("code",{pre:!0},[e._v("luckperms.*")]),e._v(" permission. (or sets it to true for the user) You'll notice there's a "),t("code",{pre:!0},[e._v("*")]),e._v(" character at the end of the permission string. This character is called a wildcard, and gives a user access to "),t("strong",[e._v("all")]),e._v(' permissions which start with "luckperms".')]),t("p",[e._v("Now you've done this, you can either continue the setup process in-game, or keep typing commands into the console.")]),t("h2",{attrs:{id:"creating-the-first-group",tabindex:"-1"}},[e._v("Creating the first group "),t("a",{staticClass:"header-anchor",attrs:{href:"#creating-the-first-group"}},[e._v("🔗")])]),t("p",[e._v("You can create a new group with the creategroup command. Let's create a new group called admin, and then give it a permission.")]),t("p",[e._v("First, run "),t("code",{pre:!0},[e._v("lp creategroup admin")]),e._v('. This will create a new empty group named "admin".')]),t("p",[t("img",{attrs:{src:r(6789),alt:""}})]),t("p",[e._v("Next, we want to add a permission to the admin group. The command to modify a group is "),t("code",{pre:!0},[e._v("lp group <group>")]),e._v(". If you run the command, it will list each of the subcommands back to you.")]),t("p",[t("img",{attrs:{src:r(876),alt:""}})]),t("p",[e._v('Since we want to add a permission, the subcommand we want is "permission". This allows you to modify the permissions held by the group. Again, running '),t("code",{pre:!0},[e._v("lp group admin permission")]),e._v(" will list the available sub-commands.")]),t("p",[t("img",{attrs:{src:r(771),alt:""}})]),t("p",[e._v('Again, we see more commands we can use. The first is another "info" command. Since it\'s a sub command of "permission", this info command returns information about the permissions a group has. The next command however is the "set" command.')]),t("p",[e._v('Remember, we used this earlier to give a user access to the "luckperms.*" permission. It works the same here.')]),t("p",[e._v("Just running the command without any arguments will return information about how to use it. For example:"),t("br"),t("img",{attrs:{src:r(3018),alt:""}})]),t("p",[e._v('For example, I want to give my admin group access to "minecraft.command.ban". I can therefore just run '),t("code",{pre:!0},[e._v("lp group admin permission set minecraft.command.ban true")]),e._v(".")]),t("p",[t("img",{attrs:{src:r(4129),alt:""}})]),t("p",[e._v("This command is giving "),t("code",{pre:!0},[e._v("admin")]),e._v(" access to the "),t("code",{pre:!0},[e._v("minecraft.command.ban")]),e._v(" permission. The true at the end is the value we're assigning the permission as. You can either set a permission to "),t("code",{pre:!0},[e._v("true")]),e._v(" or "),t("code",{pre:!0},[e._v("false")]),e._v(". Setting a permission as true gives the user or group access to it, and setting it to false negates it. (specifically doesn't give them access)")]),t("p",[e._v("If I decide later that I don't want admin to have this permission anymore, I can just use the unset command to remove it, with "),t("code",{pre:!0},[e._v("lp group admin permission unset minecraft.command.ban")]),e._v(".")]),t("p",[t("img",{attrs:{src:r(3912),alt:""}})]),t("blockquote",[t("p",[e._v("The "),t("code",{pre:!0},[e._v("minecraft.command.ban")]),e._v(" permission is just an example, and if you're using a different platform (e.g. not a Minecraft server), the permission for the ban command will be different, but the concept is the same!")])]),t("h2",{attrs:{id:"adding-a-user-to-a-group",tabindex:"-1"}},[e._v("Adding a user to a group "),t("a",{staticClass:"header-anchor",attrs:{href:"#adding-a-user-to-a-group"}},[e._v("🔗")])]),t("p",[e._v('Adding users to a group can be done with the "parent" command. (we just swap "permission" for "parent" in our command usage)')]),t("p",[e._v("For example, to add myself to the admin group, I would run "),t("code",{pre:!0},[e._v("lp user Luck parent add admin")]),e._v(".")]),t("p",[t("img",{attrs:{src:r(3759),alt:""}})]),t("p",[e._v("This command adds the user "),t("code",{pre:!0},[e._v("Luck")]),e._v(" to the "),t("code",{pre:!0},[e._v("admin")]),e._v(" group. This means that any permissions admin has, I also have through inheritance.")]),t("h2",{attrs:{id:"making-a-group-inherit-another-group",tabindex:"-1"}},[e._v("Making a group inherit another group "),t("a",{staticClass:"header-anchor",attrs:{href:"#making-a-group-inherit-another-group"}},[e._v("🔗")])]),t("p",[e._v("As well as users, groups are also able to inherit other groups.")]),t("p",[e._v("For example, suppose the following setup. (the permissions are not real, just examples)")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Admin")]),t("th",[e._v("Mod")]),t("th",[e._v("Default")])])]),t("tbody",[t("tr",[t("td",[e._v("example.ban")]),t("td",[e._v("example.mute")]),t("td",[e._v("example.fly")])]),t("tr",[t("td"),t("td"),t("td",[e._v("example.say")])])])]),t("p",[e._v("I want users in my "),t("code",{pre:!0},[e._v("admin")]),e._v(" group to also have access to "),t("code",{pre:!0},[e._v("mod")]),e._v(" and "),t("code",{pre:!0},[e._v("default")]),e._v(" permissions, and I want users in the "),t("code",{pre:!0},[e._v("mod")]),e._v(" group to have access to "),t("code",{pre:!0},[e._v("default")]),e._v("'s permissions.")]),t("p",[e._v("To achieve this, I can setup the groups to inherit from each other.")]),t("p",[e._v("The command "),t("code",{pre:!0},[e._v("lp group admin parent add mod")]),e._v(" will make admin inherit all of moderator's permissions. I can then do the same for mod, and run "),t("code",{pre:!0},[e._v("lp group mod parent add default")]),e._v(".")]),t("p",[t("img",{attrs:{src:r(6822),alt:""}})]),t("p",[e._v("The inheritance is recursive, so since although admin how only inherits directly from mod, mod inherits from default. This means admin has access to both the permissions in mod "),t("strong",[e._v("and")]),e._v(" default.")]),t("p",[t("img",{attrs:{src:r(781),height:"800"}})]),t("h2",{attrs:{id:"removing-parent-groups",tabindex:"-1"}},[e._v("Removing parent groups "),t("a",{staticClass:"header-anchor",attrs:{href:"#removing-parent-groups"}},[e._v("🔗")])]),t("p",[e._v("Removing parent groups is done with a spookily similar command.")]),t("p",[e._v("To remove myself from admin, I'd just run "),t("code",{pre:!0},[e._v("lp user Luck parent remove admin")]),e._v(".")]),t("p",[t("img",{attrs:{src:r(4844),alt:""}})]),t("h2",{attrs:{id:"finding-permissions",tabindex:"-1"}},[e._v("Finding permissions "),t("a",{staticClass:"header-anchor",attrs:{href:"#finding-permissions"}},[e._v("🔗")])]),t("p",[e._v("So far we have just been using made-up example permissions, but on your server, you'll want to use ones that actually relate to some functionality or ability, like a command.")]),t("p",[e._v("There's a couple of ways to find out what these are:")]),t("ul",[t("li",[e._v("Look at "),t("strong",[e._v("documentation")]),e._v(" for your game server software")]),t("li",[e._v("Look at "),t("strong",[e._v("documentation")]),e._v(" for your other plugins/mods")]),t("li",[e._v("Use the "),t("strong",[t("a",{attrs:{href:"Verbose"}},[t("code",{pre:!0},[e._v("/lp verbose")])])]),e._v(" command!")]),t("li",[e._v("Use "),t("strong",[e._v("auto-complete")]),e._v(" (either in commands or web editor) "),t("ul",[t("li",[e._v('Note: The auto-complete list is not exhaustive! It is just the permissions LuckPerms has "seen" since the server started. If a permission isn\'t listed, you can still use it.')])])])]),t("h3",{attrs:{id:"verbose-command",tabindex:"-1"}},[e._v("Verbose command "),t("a",{staticClass:"header-anchor",attrs:{href:"#verbose-command"}},[e._v("🔗")])]),t("p",[e._v("The "),t("a",{attrs:{href:"Verbose"}},[e._v("Verbose")]),e._v(" command allows you (as the server admin) to monitor permission checks occurring in real time! This is the most reliable way to find permissions (and figure out why they aren't working as intended).")]),t("p",[e._v("Simplest usage:")]),t("ul",[t("li",[e._v("Run "),t("code",{pre:!0},[e._v("/lp verbose record <test user>")]),e._v(" where "),t("code",{pre:!0},[e._v("<test user>")]),e._v(" is the name of the user who will run the command")]),t("li",[e._v("Get the test user to run the command")]),t("li",[e._v("Run "),t("code",{pre:!0},[e._v("/lp verbose paste")]),e._v(" to turn verbose mode off and generate a report of the permissions that were checked")]),t("li",[e._v("Check the output to see which permissions were checked.")])]),t("p",[e._v("Example:")]),t("p",[t("img",{attrs:{src:r(994),alt:""}})]),t("p",[e._v("You can also use "),t("code",{pre:!0},[e._v("/lp verbose on <test user>")]),e._v(" to simply print the output to the chat/console, and "),t("code",{pre:!0},[e._v("/lp verbose off")]),e._v(" to turn it off after you're done.")]),t("p",[e._v("More advanced usage is documented on the Verbose "),t("a",{attrs:{href:"Verbose"}},[e._v("wiki page")]),e._v(".")]),t("h2",{attrs:{id:"web-editor",tabindex:"-1"}},[e._v("Web Editor "),t("a",{staticClass:"header-anchor",attrs:{href:"#web-editor"}},[e._v("🔗")])]),t("p",[e._v("Are commands too much typing for you?! LuckPerms has a fancy online "),t("a",{attrs:{href:"Web-Editor"}},[e._v("Web Editor")]),e._v(" which allows you to edit your permissions setup easily in an interactive web page.")]),t("p",[e._v("Just run "),t("code",{pre:!0},[e._v("/lp editor")]),e._v(" and follow the link to get started.")]),t("p",[t("img",{attrs:{src:r(729),alt:""}})]),t("p",[e._v("More information can be found on this "),t("a",{attrs:{href:"Web-Editor"}},[e._v("wiki page")]),e._v(".")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},3226:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("This is a sub-page of the main "),t("strong",[e._v("Command Usage")]),e._v(" page. "),t("a",{attrs:{href:"Command-Usage"}},[e._v("Click here to go back.")])]),t("p",[e._v("Key things to remember from the main page:")]),t("ul",[t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on BungeeCord")]),t("li",[e._v("You use "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" when running the plugin on Velocity")]),t("li",[e._v("Required arguments are marked with angle brackets - e.g. "),t("code",{pre:!0},[e._v("<required>")])]),t("li",[e._v("Optional arguments are marked with square brackets - e.g. "),t("code",{pre:!0},[e._v("[optional]")])]),t("li",[e._v("If you want to include spaces in arguments, you must escape the argument with quotes - e.g. "),t("code",{pre:!0},[e._v('" "')])])]),t("hr"),t("h3",{attrs:{id:"index",tabindex:"-1"}},[e._v("Index "),t("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"#lp-user-user-info"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("info")])])]),t("li",[t("a",{attrs:{href:"Permission-Commands"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("permission")])])]),t("li",[t("a",{attrs:{href:"Parent-Commands"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("parent")])])]),t("li",[t("a",{attrs:{href:"Meta-Commands"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("meta")])])]),t("li",[t("a",{attrs:{href:"#lp-user-user-editor"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("editor")])])]),t("li",[t("a",{attrs:{href:"#lp-user-user-promote-track-context-flags"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("promote")]),e._v(" <track> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-user-user-demote-track-context-flags"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("demote")]),e._v(" <track> [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-user-user-showtracks"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("showtracks")])])]),t("li",[t("a",{attrs:{href:"#lp-user-user-clear-context"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("clear")]),e._v(" [context...]")])]),t("li",[t("a",{attrs:{href:"#lp-user-user-clone-user"}},[e._v("/lp user <user> "),t("code",{pre:!0},[e._v("clone")]),e._v(" <user>")])])]),t("hr"),t("h4",{attrs:{id:"lp-user-user-info",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> info")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-info"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.info"),t("br"),e._v(" Displays information about a user, including their username, primary group, parents, and current contexts.")]),t("hr"),t("h4",{attrs:{id:"lp-user-user-editor",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> editor")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-editor"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.editor"),t("br"),e._v(" Opens a web interface to edit permissions for the specified group. After changes are saved, a command will be given that you need to run for the changes to take effect.")]),t("hr"),t("h4",{attrs:{id:"lp-user-user-promote-track-context-flags",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> promote <track> [context...] [flags...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-promote-track-context-flags"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.promote"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<track>")]),e._v(" - the track to promote along")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to promote in "),t("strong",[e._v("Flags")]),e._v(":")]),t("li",[t("code",{pre:!0},[e._v("[--dont-add-to-first]")]),e._v(" - the command will fail to run if the user doesn't have parent groups on said track")]),t("li",[t("code",{pre:!0},[e._v("[-s]")]),e._v(" - silent, don't print the user progress on the track")])]),t("p",[e._v("This command will promote a user along a track. Firstly, the command will check to see if the user is on the track specified in the given contexts. If the user is not on the track, they will be added to the first group on the track unless a flag is used. If they are on the track in more than one place, the command will fail. In all other cases, the user will be promoted up the track, and will be removed from the existing group. If the track action affects their primary group, that will be updated too.")]),t("hr"),t("h4",{attrs:{id:"lp-user-user-demote-track-context-flags",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> demote <track> [context...] [flags...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-demote-track-context-flags"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.demote"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<track>")]),e._v(" - the track to demote along")]),t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to demote in "),t("strong",[e._v("Flags")]),e._v(":")]),t("li",[t("code",{pre:!0},[e._v("[--dont-remove-from-first]")]),e._v(" - the command will fail to run if the user is on the first position on the track")]),t("li",[t("code",{pre:!0},[e._v("[-s]")]),e._v(" - silent, don't print the user progress on the track")])]),t("p",[e._v("This command will demote a user along a track. Firstly, the command will check to see if the user is on the track specified in the given contexts. If the user is not on the track, or on the track in more than one place, the command will fail. If not, the user will be demoted down the track, and will be removed from the existing group. If the track action affects their primary group, that will be updated too.")]),t("hr"),t("h4",{attrs:{id:"lp-user-user-showtracks",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> showtracks")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-showtracks"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.showtracks"),t("br"),e._v(" Displays a list of all of the tracks a user is currently on.")]),t("hr"),t("h4",{attrs:{id:"lp-user-user-clear-context",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> clear [context...]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-clear-context"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.clear"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("[context...]")]),e._v(" - the "),t("a",{attrs:{href:"Context"}},[e._v("contexts")]),e._v(" to filter by")])]),t("p",[e._v("Clears the user's permissions, parent groups and meta.")]),t("hr"),t("h4",{attrs:{id:"lp-user-user-clone-user",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp user <user> clone <user>")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-user-user-clone-user"}},[e._v("🔗")])]),t("p",[t("strong",[e._v("Permission")]),e._v(": luckperms.user.clone"),t("br"),t("strong",[e._v("Arguments")]),e._v(":")]),t("ul",[t("li",[t("code",{pre:!0},[e._v("<user>")]),e._v(" - the name of the other user")])]),t("p",[e._v("Clones the users data onto another user.")]),t("hr")])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6367:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("Ever been in a situation where you need to find a permission for a certain command or feature, but can't find any documentation for it?")]),t("p",[e._v("Maybe the documentation is outdated, or just doesn't contain the right info. Perhaps you want to debug an issue with players not having the right permissions, or are just interested in what plugins are checking for.")]),t("p",[e._v("The verbose system allows you to monitor permission checks occurring in real time! 😄")]),t("h2",{attrs:{id:"how-to-use-it",tabindex:"-1"}},[e._v("How to use it "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-to-use-it"}},[e._v("🔗")])]),t("p",[e._v("The command usage is as follows:")]),t("h3",{attrs:{id:"lp-verbose-onrecordoffupload-filter",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp verbose <on/record|off/upload> [filter]")]),e._v(" "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-verbose-onrecordoffupload-filter"}},[e._v("🔗")])]),t("p",[e._v("The first argument enables/disables the system, and the second sets up the filter.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Option")]),t("th",[e._v("Description")])])]),t("tbody",[t("tr",[t("td",[t("code",{pre:!0},[e._v("on")])]),t("td",[e._v("Enables the system, and will send you an alert in chat when the filter is matched.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("record")])]),t("td",[e._v('Same as "on", however you will not be notified via chat.')])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("off")])]),t("td",[e._v("Just disables the system, and clears any matches from memory.")])]),t("tr",[t("td",[t("code",{pre:!0},[e._v("upload")])]),t("td",[e._v('Same as "off", but will upload the results to the web viewer for easier analysis, and provide you with a link.')])])])]),t("h3",{attrs:{id:"lp-verbose-command-name-command-functionality",tabindex:"-1"}},[t("code",{pre:!0},[e._v("/lp verbose command <name> <command>")]),e._v(" functionality: "),t("a",{staticClass:"header-anchor",attrs:{href:"#lp-verbose-command-name-command-functionality"}},[e._v("🔗")])]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("/lp verbose command")]),e._v(" command allows you to check the permissions of a specific command in-game without any chat-spam or web viewer. To use it, you simply run "),t("code",{pre:!0},[e._v("/lp verbose command <name> <command>")]),e._v(" and LuckPerms will run a couple of steps very quickly.")]),t("ol",[t("li",[e._v("It will turn on verbose for the user in question, using the filter for that user.")]),t("li",[e._v("It will force them to run the command you specify.")]),t("li",[e._v("It will turn verbose off.")])]),t("p",[e._v("This sequence of rapid events will result in the permissions that were checked appearing in chat, without the usual spam. This is especially useful if you need to find permissions for a command that is not well documented.")]),t("p",[e._v("This command will sudo the user, effectively forcing them to run the command as themselves. As a result, there are additional permissions required to use this functionality. You can find them "),t("a",{attrs:{href:"#Permissions"}},[e._v("on the permissions page")]),e._v(". While they are included under the "),t("code",{pre:!0},[e._v("luckperms.*")]),e._v(" wildcard permission, they are not included in the regular verbose permission.")]),t("h5",{attrs:{id:"client-lags-when-verbose-is-turned-on",tabindex:"-1"}},[e._v("Client lags when verbose is turned on? "),t("a",{staticClass:"header-anchor",attrs:{href:"#client-lags-when-verbose-is-turned-on"}},[e._v("🔗")])]),t("p",[e._v("If your client lags when you run "),t("code",{pre:!0},[e._v("/lp verbose on")]),e._v(", it is likely because there are too many permission checks being processed and the client can't handle that many messages. It is often best to run "),t("code",{pre:!0},[e._v("lp verbose record")]),e._v(" instead. The "),t("code",{pre:!0},[e._v("record")]),e._v(" command will send the permission checks to the web-based verbose viewer, instead of to your client as a chat message. To finish recording permission checks and open the web viewer, simply run "),t("code",{pre:!0},[e._v("lp verbose upload")]),e._v(".")]),t("p",[e._v("Alternatively, or in addition to using the online viewer, you can define a filter, explained below.")]),t("h4",{attrs:{id:"filters",tabindex:"-1"}},[e._v("Filters "),t("a",{staticClass:"header-anchor",attrs:{href:"#filters"}},[e._v("🔗")])]),t("p",[e._v("The filter is an expression used to match permission entries, and ignore entries you don't need. It could just be a player name, or much more advanced.")]),t("p",[e._v("A filter string will match the start of the permission being checked, or the users full name. You can use "),t("code",{pre:!0},[e._v("&")]),e._v(" (and), "),t("code",{pre:!0},[e._v("|")]),e._v(" (or), and "),t("code",{pre:!0},[e._v("!")]),e._v(" (not / negate) to setup expressions. Parenthesis "),t("code",{pre:!0},[e._v("( )")]),e._v(" are also supported.")]),t("h5",{attrs:{id:"some-examples",tabindex:"-1"}},[e._v("Some examples "),t("a",{staticClass:"header-anchor",attrs:{href:"#some-examples"}},[e._v("🔗")])]),t("ul",[t("li",[t("code",{pre:!0},[e._v("Luck & (essentials | worldedit)")]),e._v(' - Matches any checks made against "Luck" that start with "essentials" or "worldedit"')]),t("li",[t("code",{pre:!0},[e._v("Luck & !anticheat")]),e._v(' - Matches any checks made against "Luck" that do not start with "anticheat"')]),t("li",[t("code",{pre:!0},[e._v("anticheat & !anticheat.check")]),e._v(' - Matches checks on all users starting with "anticheat" but not starting with "anticheat.check"')])]),t("h2",{attrs:{id:"web-viewer",tabindex:"-1"}},[e._v("Web viewer "),t("a",{staticClass:"header-anchor",attrs:{href:"#web-viewer"}},[e._v("🔗")])]),t("p",[e._v("The web viewer exposes the same information available in-game, but is easier to analyse when there are lots of checks being processed.")]),t("p",[t("img",{attrs:{src:r(5945),alt:""}})]),t("p",[e._v("You can simply click on an entry to see more information about the nature of the check:")]),t("p",[t("img",{attrs:{src:r(3010),alt:""}})])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},575:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("The LuckPerms Web Editor is a special application that runs in a web browser, and allows server admins to edit permissions with an easy to use interface.")]),t("p",[e._v("User-facing documentation can be found on the "),t("a",{attrs:{href:"#Web-Editor"}},[e._v("Web Editor")]),e._v(" page. This page focuses on technical information.")]),t("h2",{attrs:{id:"communicating-with-the-server",tabindex:"-1"}},[e._v("Communicating with the server "),t("a",{staticClass:"header-anchor",attrs:{href:"#communicating-with-the-server"}},[e._v("🔗")])]),t("p",[e._v("The web editor application is hosted centrally (on luckperms.net), but needs to be able to communicate with the LuckPerms plugin running on users' servers.")]),t("p",[e._v("The application itself is stateless, but it uses two special services to exchange data with the server.")]),t("ul",[t("li",[t("a",{attrs:{href:"https://github.com/lucko/bytebin"}},[e._v("bytebin")]),e._v(" - used to exchange data payloads using HTTP GET/POST requests")]),t("li",[t("a",{attrs:{href:"https://github.com/lucko/bytesocks"}},[e._v("bytesocks")]),e._v(' - used to exchange "real-time" messages using WebSockets')])]),t("p",[e._v('Both the LuckPerms plugin (running on the Minecraft server) and the LuckPerms web editor (running in the browser) communicate with these "middle-man" services, and use them to exchange data/instructions with each other.')]),t("h2",{attrs:{id:"websocket-protocol",tabindex:"-1"}},[e._v("WebSocket Protocol "),t("a",{staticClass:"header-anchor",attrs:{href:"#websocket-protocol"}},[e._v("🔗")])]),t("p",[e._v('Both the server and the web editor connect to a WebSocket "channel" provided by the bytesocks service (see above). They exchange secure (signed cryptographically) messages in this channel with each other.')]),t("p",[e._v("More details about security can be found in the description of the "),t("a",{attrs:{href:"https://github.com/LuckPerms/LuckPerms/pull/3303"}},[e._v("pull request")]),e._v(" that added the functionality.")]),t("h3",{attrs:{id:"message-packet-format",tabindex:"-1"}},[e._v("Message (packet) format "),t("a",{staticClass:"header-anchor",attrs:{href:"#message-packet-format"}},[e._v("🔗")])]),t("p",[e._v("The socket messages are in a readable JSON format.")]),t("pre",{pre:!0},[t("code",{pre:!0,attrs:{"v-pre":"",class:"hljs language-json"}},[e._v("{\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"msg"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"string"')]),e._v(",\n "),t("span",{pre:!0,attrs:{class:"hljs-attr"}},[e._v('"signature"')]),e._v(": "),t("span",{pre:!0,attrs:{class:"hljs-string"}},[e._v('"string"')]),e._v(",\n}\n")])]),t("p",[e._v('The outer message "frame" shown above contains two fields.')]),t("ul",[t("li",[e._v("The "),t("code",{pre:!0},[e._v("msg")]),e._v(" field contains the JSON encoded packet in plaintext (not encrypted)")]),t("li",[e._v("The "),t("code",{pre:!0},[e._v("signature")]),e._v(" field contains a SHA256withRSA signature derived from the message, encoded in base64.")])]),t("h3",{attrs:{id:"connect",tabindex:"-1"}},[e._v("Connect "),t("a",{staticClass:"header-anchor",attrs:{href:"#connect"}},[e._v("🔗")])]),t("p",[e._v("When the initial session is created (by a user running the "),t("code",{pre:!0},[e._v("/lp editor")]),e._v(" command on their server), the plugin will create a new bytesocks channel for the session and immediately join it. The id of the bytesocks channel and the plugin public key is included in the initial bytebin data payload. The bytebin payload id is included as a parameter in the URL opened by the user.")]),t("p",[e._v("The web editor will only accept messages sent in the channel that have been signed using the plugin/server public key.")]),t("p",[e._v("The connection flow starts when the web editor sends a "),t("code",{pre:!0},[e._v("hello")]),e._v(' message to the channel (the server should be connected & "listening" in the channel already).')]),t("p",[e._v("The "),t("code",{pre:!0},[e._v("hello")]),e._v(" message includes:")]),t("ul",[t("li",[e._v("nonce - a short, random string to identify the session")]),t("li",[e._v("sessionId - the bytebin id the web editor was opened with")]),t("li",[e._v("browser - a short description of the os/browser being used")]),t("li",[e._v("publicKey - the editor's public key. This is used by the server to ensure that subsequent messages received from the editor have not been tampered with.")])]),t("p",[e._v("During the connection flow, the Minecraft server (LuckPerms plugin) will ensure that either:")]),t("ul",[t("li",[e._v("the editor public key is known from a previous session")]),t("li",[e._v("the user runs a command to explicitly trust the editor. This process uses the nonce to ensure they trust the right one in the case of >1 connections!")])]),t("p",[e._v("The server will return a "),t("code",{pre:!0},[e._v("hello-reply")]),e._v(" message to inform the editor of what the outcome is.")]),t("p",[t("img",{attrs:{src:r(3348),height:"600"}})]),t("p",[e._v("Once the connection has been established, the server will only accept incoming messages signed using the editor's key.")]),t("h3",{attrs:{id:"ping",tabindex:"-1"}},[e._v("Ping "),t("a",{staticClass:"header-anchor",attrs:{href:"#ping"}},[e._v("🔗")])]),t("p",[e._v("The web editor will periodically send "),t("code",{pre:!0},[e._v("ping")]),e._v(" messages, to which the server will reply with a "),t("code",{pre:!0},[e._v("pong")]),e._v(" if it is still listening.")]),t("p",[e._v("This serves two purposes:")]),t("ul",[t("li",[e._v("Keeps the WebSocket channel active. Some intermediary web proxies enforce a keepalive, which will timeout the socket connection if messages aren't sent for a certain period of time.")]),t("li",[e._v("Gives the web editor an indication of whether the server is still listening, and therefore whether it is able to use the socket to send updates.")])]),t("p",[t("img",{attrs:{src:r(7839),height:"600"}})]),t("p",[e._v("The server also uses the "),t("code",{pre:!0},[e._v("pong")]),e._v(" message to inform the editor that it is disconnecting from the socket. This could be for a number of reasons:")]),t("ul",[t("li",[e._v("the Minecraft server has been stopped")]),t("li",[e._v("the user who created the session is no longer connected to the server")]),t("li",[e._v("timeouts")]),t("li",[e._v("unexpected errors")])]),t("h3",{attrs:{id:"request-changes",tabindex:"-1"}},[e._v("Request Changes "),t("a",{staticClass:"header-anchor",attrs:{href:"#request-changes"}},[e._v("🔗")])]),t("p",[e._v('When the user presses the "apply" button in the web editor, this flow is triggered.')]),t("p",[e._v("The web editor will upload the changes to bytebin and obtain the payload id. It then sends the payload id to the server using the socket.")]),t("p",[e._v("The server will apply the changes, then upload refreshed state to bytebin, and return this payload id to the web editor using the socket.")]),t("p",[t("img",{attrs:{src:r(8822),height:"600"}})])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},1379:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[e._v("LuckPerms features a web editor, which allows you to make changes to permissions data using a friendly interface in your web browser. It is safe, secure and easy to use. You don't need to host the page yourself - and it works for all storage types!")]),t("p",[e._v("If you'd like more information about the technical details, please see the "),t("a",{attrs:{href:"Web-Editor-Technical-Details"}},[e._v("technical info page")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"getting-started",tabindex:"-1"}},[e._v("Getting started "),t("a",{staticClass:"header-anchor",attrs:{href:"#getting-started"}},[e._v("🔗")])]),t("p",[e._v("Editor sessions are first created by executing a command on the server. You can run different commands to open sessions with different scopes:")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Scope")]),t("th",[e._v("Command")])])]),t("tbody",[t("tr",[t("td",[t("strong",[e._v("All groups and online/non-default users:")])]),t("td",[t("code",{pre:!0},[e._v("/lp editor")]),e._v(" or "),t("code",{pre:!0},[e._v("lp editor all")])])]),t("tr",[t("td",[t("strong",[e._v("All groups:")])]),t("td",[t("code",{pre:!0},[e._v("/lp editor groups")])])]),t("tr",[t("td",[t("strong",[e._v("All online and non-default users:")])]),t("td",[t("code",{pre:!0},[e._v("/lp editor users")])])]),t("tr",[t("td",[t("strong",[e._v("All online users:")])]),t("td",[t("code",{pre:!0},[e._v("/lp editor online")])])]),t("tr",[t("td",[t("strong",[e._v("For a specific group:")])]),t("td",[t("code",{pre:!0},[e._v("/lp group <group> editor")])])]),t("tr",[t("td",[t("strong",[e._v("For a specific user:")])]),t("td",[t("code",{pre:!0},[e._v("/lp user <user> editor")])])]),t("tr",[t("td",[t("strong",[e._v("For users only with a specific permission:")])]),t("td",[t("code",{pre:!0},[e._v("/lp editor users <filter>")]),e._v(" or "),t("code",{pre:!0},[e._v("lp editor <filter>")])])])])]),t("blockquote",[t("p",[e._v("Remember to use "),t("code",{pre:!0},[e._v("/lpb")]),e._v(" or "),t("code",{pre:!0},[e._v("/lpv")]),e._v(" instead of "),t("code",{pre:!0},[e._v("/lp")]),e._v(" if you want to target your command to a BungeeCord/Velocity version of LP.")])]),t("blockquote",[t("p",[e._v("The user permission filter command will load only users with a directly applied permission matching the filter to the editor.")])]),t("p",[e._v("Once the command has been executed, the server will begin creating a new session. It should only take a second or so (depending on your connection speed).")]),t("p",[e._v("Once the session is ready, you will be sent a link.")]),t("p",[t("img",{attrs:{src:r(2766),alt:""}})]),t("p",[e._v('To proceed, click on the URL, then press "'),t("strong",[e._v("Yes")]),e._v('".')]),t("p",[t("img",{attrs:{src:r(597),alt:""}})]),t("p",[e._v("Your default web browser should then open the new editor session you've created.")]),t("hr"),t("h3",{attrs:{id:"using-the-editor",tabindex:"-1"}},[e._v("Using the editor "),t("a",{staticClass:"header-anchor",attrs:{href:"#using-the-editor"}},[e._v("🔗")])]),t("p",[e._v("Once you've created and opened the session, you can use the interface to make changes to the user/group's data.")]),t("h3",{attrs:{id:"editor-context",tabindex:"-1"}},[e._v("Editor Context "),t("a",{staticClass:"header-anchor",attrs:{href:"#editor-context"}},[e._v("🔗")])]),t("p",[e._v('You can add contexts in the editor in addition to in-game. To do so, either click the "Add Contexts" button before adding a permission or simply fill in the '),t("code",{pre:!0},[e._v("key")]),e._v(" and "),t("code",{pre:!0},[e._v("value")]),e._v(" fields after a permission with appropriate keys and values, such as "),t("code",{pre:!0},[e._v("world")]),e._v(" and "),t("code",{pre:!0},[e._v("nether")]),e._v(", or "),t("code",{pre:!0},[e._v("server")]),e._v(" and "),t("code",{pre:!0},[e._v("hub")]),e._v(".")]),t("p",[e._v("Note that a permission can only have one world and one server context at a time. You have to set the same permission again with the other context to make it apply on multiple worlds/servers.")]),t("h4",{attrs:{id:"adding-a-permission",tabindex:"-1"}},[e._v("Adding a permission "),t("a",{staticClass:"header-anchor",attrs:{href:"#adding-a-permission"}},[e._v("🔗")])]),t("p",[e._v('To add a permission, type the node you\'d like to add into the "Add Permission" input box and press enter. You can repeat this for all permissions that you want to add with the same properties.'),t("br"),e._v(' When typing the editor will show a list of suggestions matching your input so far. You can select one through the arrow keys or with your cursor and include it by pressing enter or clicking on it. After you\'ve entered the permission(s), click the "+" button to add.')]),t("p",[e._v("You can add multiple permissions at once! Just type or copy/paste them into the box, and add them as usual.")]),t("p",[t("img",{attrs:{src:r(8187),alt:""}})]),t("h4",{attrs:{id:"editing-existing-data",tabindex:"-1"}},[e._v("Editing existing data "),t("a",{staticClass:"header-anchor",attrs:{href:"#editing-existing-data"}},[e._v("🔗")])]),t("p",[e._v("To edit any value in the table, just click it.")]),t("p",[t("img",{attrs:{src:r(9792),alt:""}})]),t("h4",{attrs:{id:"sorting-the-data",tabindex:"-1"}},[e._v("Sorting the data "),t("a",{staticClass:"header-anchor",attrs:{href:"#sorting-the-data"}},[e._v("🔗")])]),t("p",[e._v("To change the sorting settings, click on the column heading you'd like to sort by.")]),t("p",[t("img",{attrs:{src:r(2345),alt:""}})]),t("h4",{attrs:{id:"luckperms-nodes",tabindex:"-1"}},[e._v("LuckPerms Nodes "),t("a",{staticClass:"header-anchor",attrs:{href:"#luckperms-nodes"}},[e._v("🔗")])]),t("p",[e._v("The editor allows you to add or change aspects about groups and players such as weight and parents using nodes.")]),t("table",[t("thead",[t("tr",[t("th",[e._v("Function")]),t("th",[e._v("Node")])])]),t("tbody",[t("tr",[t("td",[t("strong",[e._v("To define a user or group's parent:")])]),t("td",[t("code",{pre:!0},[e._v("group.<parentgroup>")])])]),t("tr",[t("td",[t("strong",[e._v("To set a group's displayname:")])]),t("td",[t("code",{pre:!0},[e._v("displayname.<name>")])])]),t("tr",[t("td",[t("strong",[e._v("To set a group's weight:")])]),t("td",[t("code",{pre:!0},[e._v("weight.<weightnumber>")])])]),t("tr",[t("td",[t("strong",[e._v("To add a prefix:")])]),t("td",[t("code",{pre:!0},[e._v("prefix.<priority>.<prefix>")])])]),t("tr",[t("td",[t("strong",[e._v("To add a suffix:")])]),t("td",[t("code",{pre:!0},[e._v("suffix.<priority>.<suffix>")])])]),t("tr",[t("td",[t("strong",[e._v("To add meta:")])]),t("td",[t("code",{pre:!0},[e._v("meta.<key>.<value>")])])])])]),t("hr"),t("h3",{attrs:{id:"saving-your-changes",tabindex:"-1"}},[e._v("Saving your changes "),t("a",{staticClass:"header-anchor",attrs:{href:"#saving-your-changes"}},[e._v("🔗")])]),t("p",[e._v("Once you've finished making changes to the data, you need to save your changes back to the server.")]),t("p",[e._v('Click on the "Save" button, or use the '),t("code",{pre:!0},[e._v("CTRL + S")]),e._v(" keyboard shortcut to save, and the editor will generate a command which you need to execute in-game or in the console for your changes to apply. Simply clicking on the command will copy it to your clipboard.")]),t("p",[t("img",{attrs:{src:r(782),alt:""}})]),t("p",[e._v("When you run the command, a summary of the changes will be shown.")]),t("p",[t("img",{attrs:{src:r(120),alt:""}})])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},5698:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("h1",{attrs:{id:"weights",tabindex:"-1"}},[e._v("Weights "),t("a",{staticClass:"header-anchor",attrs:{href:"#weights"}},[e._v("🔗")])]),t("p",[e._v("Weights are an integral part of the way LuckPerms operates, and are based on the premise of resolving conflict where it may appear.")]),t("p",[e._v("There are two different, independent weights systems in LuckPerms, the first being "),t("a",{attrs:{href:"#group-weights"}},[t("strong",[e._v("group weight")])]),e._v(" and the second being "),t("a",{attrs:{href:"#meta-weights"}},[t("strong",[e._v("meta weight")])]),e._v(" (like prefixes and suffixes).")]),t("p",[e._v("In all cases, "),t("strong",[e._v("a higher weight number is a higher priority")])]),t("ul",[t("li",[e._v("When setting up weights, it is recommended that large gaps be left between groups, like going up by 100 instead of 1. This is so that if you want to insert groups/prefixes/suffixes later, you do not have to redefine everything.")]),t("li",[e._v("Weights can be any number, even negative!")])]),t("h2",{attrs:{id:"group-weights",tabindex:"-1"}},[e._v("Group Weights "),t("a",{staticClass:"header-anchor",attrs:{href:"#group-weights"}},[e._v("🔗")])]),t("p",[e._v("Group weights determine, in cases where a user has more than one group, which group's nodes take precedence when the nodes conflict. This is best explained by an example:")]),t("ul",[t("li",[e._v('Suppose a player was in group default and in group "admin". There is one permission node in each group, and it is '),t("code",{pre:!0},[e._v("essentials.fly")]),e._v(".")]),t("li",[e._v("In default group, "),t("code",{pre:!0},[e._v("essentials.fly")]),e._v(" is set to "),t("code",{pre:!0},[e._v("false")]),e._v('. In "admin" group, '),t("code",{pre:!0},[e._v("essentials.fly")]),e._v(" is set to "),t("code",{pre:!0},[e._v("true")]),e._v(". Without setting up weights, it is inconsistent and unclear which node the player will get - there is no way to know for sure whether they will be able to fly or not.")]),t("li",[e._v("This is where "),t("strong",[e._v("weights")]),e._v(' come in. Setting default in this example to have a higher weight than "admin" will result in the player being '),t("strong",[e._v("unable")]),e._v(" to fly. Setting admin to have a higher weight than default will result in the player being "),t("strong",[e._v("able")]),e._v(" to fly.")])]),t("p",[e._v("Likewise, whenever a player has several groups, the permissions in the highest weighted group will override the permissions in any lower weighted ones that conflict.")]),t("h3",{attrs:{id:"setting-group-weights",tabindex:"-1"}},[e._v("Setting group weights "),t("a",{staticClass:"header-anchor",attrs:{href:"#setting-group-weights"}},[e._v("🔗")])]),t("p",[e._v("There are two ways to set weight for a group; using a "),t("a",{attrs:{href:"#Group-Commands#lp-group-group-setweight-weight"}},[e._v("command")]),e._v(", and using the "),t("a",{attrs:{href:"#Web-Editor#luckperms-nodes"}},[e._v("editor")]),e._v(".")]),t("ul",[t("li",[e._v("With commands, you run /"),t("code",{pre:!0},[e._v("lp group <group> setweight <weight>")]),e._v(".")]),t("li",[e._v("In the editor, you add the node "),t("code",{pre:!0},[e._v("weight.<weight>")]),e._v(" to the group.")])]),t("h2",{attrs:{id:"meta-weights",tabindex:"-1"}},[e._v("Meta Weights "),t("a",{staticClass:"header-anchor",attrs:{href:"#meta-weights"}},[e._v("🔗")])]),t("p",[e._v("Meta weights are very similar to group weights, but for prefixes and suffixes. In the same way the group weights work, when a player inherits multiple prefixes or suffixes, the highest weighted one is the one that will display.")]),t("h3",{attrs:{id:"setting-meta-weights",tabindex:"-1"}},[e._v("Setting meta weights "),t("a",{staticClass:"header-anchor",attrs:{href:"#setting-meta-weights"}},[e._v("🔗")])]),t("p",[e._v("There are two ways to set a weight for a prefix or suffix; using a "),t("a",{attrs:{href:"#Meta-Commands"}},[e._v("command")]),e._v(", and using the "),t("a",{attrs:{href:"#Web-Editor#luckperms-nodes"}},[e._v("editor")]),e._v(".")]),t("ul",[t("li",[e._v("With commands, you simply set the weight when you add or set a prefix or suffix to a group or player: "),t("code",{pre:!0},[e._v("/lp user/group <user|group> meta setprefix/addprefix <weight> <prefix>")]),e._v(".")]),t("li",[e._v("In the editor, you simply add or modify the node "),t("code",{pre:!0},[e._v("prefix.<weight>.<prefix>")]),e._v(" to change the weight. The same principle applies to suffixes.")])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6668:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("p",[t("strong",[e._v("Hi there!")]),e._v(" 👋")]),t("p",[e._v("Welcome to the LuckPerms project - it's good to have you!")]),t("p",[e._v("The purpose of this page is to answer a number of questions/reactions people tend to have when they first discover the project, and explain why we think you should use LuckPerms!")]),t("p",[e._v("Let's start with some FAQs.")]),t("hr"),t("h4",{attrs:{id:"yet-another-permissions-plugin",tabindex:"-1"}},[e._v("Yet another permissions plugin? "),t("a",{staticClass:"header-anchor",attrs:{href:"#yet-another-permissions-plugin"}},[e._v("🔗")])]),t("p",[e._v("Yep. We thought there was room for improvement among the plugins already out there!")]),t("p",[e._v("LuckPerms is:")]),t("ul",[t("li",[t("strong",[e._v("fast")]),e._v(" - written with performance and scalability in mind.")]),t("li",[t("strong",[e._v("reliable")]),e._v(" - trusted by thousands of server admins, and the largest of server networks.")]),t("li",[t("strong",[e._v("easy to use")]),e._v(" - setup permissions using commands, directly in config files, or using the web editor.")]),t("li",[t("strong",[e._v("flexible")]),e._v(" - supports a variety of data storage options, and works on lots of different server types.")]),t("li",[t("strong",[e._v("extensive")]),e._v(" - a plethora of customization options and settings which can be changed to suit your server.")]),t("li",[t("strong",[e._v("free")]),e._v(" - available for download and usage at no cost, and permissively licensed so it can remain free forever.")])]),t("h4",{attrs:{id:"ive-been-using-x-plugin-for-years-and-it-works-great-why-should-i-bother-switching",tabindex:"-1"}},[e._v("I've been using [x] plugin for years and it works great! Why should I bother switching? "),t("a",{staticClass:"header-anchor",attrs:{href:"#ive-been-using-x-plugin-for-years-and-it-works-great-why-should-i-bother-switching"}},[e._v("🔗")])]),t("p",[e._v("Most other permission plugins date back a number of years, and increasingly have been abandoned by their original authors, receive no updates, support or bug fixes. LuckPerms is still an active resource and we endeavour to reply to all bug reports, issues and feature requests in a timely manner.")]),t("h4",{attrs:{id:"luckperms-seems-pretty-bigcomplex-and-i-just-want-something-simple-and-lightweight",tabindex:"-1"}},[e._v("LuckPerms seems pretty big/complex and I just want something simple and lightweight. "),t("a",{staticClass:"header-anchor",attrs:{href:"#luckperms-seems-pretty-bigcomplex-and-i-just-want-something-simple-and-lightweight"}},[e._v("🔗")])]),t("p",[e._v("Although the plugin has lots of customisation options, the default values are fine for most users. The LuckPerms in-game and online interfaces are very straight forward to use, and there is a vast array of information and setup guides you can read here on our wiki! 🎉")]),t("h4",{attrs:{id:"i-run-a-big-network-and-performance-is-important-how-does-luckperms-perform",tabindex:"-1"}},[e._v("I run a big network and performance is important. How does LuckPerms perform? "),t("a",{staticClass:"header-anchor",attrs:{href:"#i-run-a-big-network-and-performance-is-important-how-does-luckperms-perform"}},[e._v("🔗")])]),t("p",[e._v("The plugin has been written and improved over time with large servers in mind. It has proven itself to be very fast and reliable. LuckPerms currently runs on a number of popular networks in the community.")]),t("p",[e._v("LuckPerms has been designed to make use of multithreading for almost all of its operations. Lookups for permission checks and meta data are cached, and the internal data structures are designed in order to make queries as fast/efficient as possible.")]),t("hr"),t("p",[e._v("For the rest of this page, let's focus on some of the cool features LuckPerms has, which you may not have seen before / been aware of!")]),t("h3",{attrs:{id:"web-editor",tabindex:"-1"}},[e._v("Web Editor "),t("a",{staticClass:"header-anchor",attrs:{href:"#web-editor"}},[e._v("🔗")])]),t("p",[e._v("As well as the in-game/console command interface, LuckPerms has a web editor which you can use to make changes to your permission data.")]),t("p",[e._v("Anyone can use the editor, it works out of the box and doesn't require any extra setup!")]),t("p",[t("img",{attrs:{src:r(729),alt:""}})]),t("p",[e._v("It's super easy to use. You can try out a "),t("a",{attrs:{href:"https://luckperms.net/editor/demo"}},[e._v("demo session")]),e._v(" or have a look at the editor "),t("a",{attrs:{href:"Web-Editor"}},[e._v("wiki page")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"verbose",tabindex:"-1"}},[e._v("Verbose "),t("a",{staticClass:"header-anchor",attrs:{href:"#verbose"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms has a "),t("a",{attrs:{href:"Verbose"}},[e._v("verbose")]),e._v(" system, which allows you to monitor permission checks made by other plugins, occurring in real time.")]),t("p",[e._v("You can trace exactly where permission checks originate from - right down to the line of code which caused the check!")]),t("p",[t("img",{attrs:{src:r(994),alt:""}})]),t("p",[e._v("Verbose recordings can be viewed in a special web app for easier analysis and reading. You can have a look at a "),t("a",{attrs:{href:"https://luckperms.net/verbose/demo"}},[e._v("demo recording here")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"permission-trees",tabindex:"-1"}},[e._v("Permission trees "),t("a",{staticClass:"header-anchor",attrs:{href:"#permission-trees"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms allows you "),t("a",{attrs:{href:"General-Commands#lp-tree-scope-player"}},[e._v('build "permission trees"')]),e._v(" of all permissions known to the server. The data is populated using permissions registered to the server by plugins.")]),t("p",[e._v("The tree will grow over time as permissions checked for by plugins on the server are added.")]),t("p",[e._v("Trees can be color coded depending on whether a certain player has each permission. This allows you to easily visualise which permissions a player has access to.")]),t("p",[e._v("Permission trees can be viewed in a special web app for easy viewing and interpretation. You can have a look at a "),t("a",{attrs:{href:"https://luckperms.net/treeview"}},[e._v("demo tree here")]),e._v(".")]),t("hr"),t("h3",{attrs:{id:"command-interface--tab-completion",tabindex:"-1"}},[e._v("Command interface & tab completion "),t("a",{staticClass:"header-anchor",attrs:{href:"#command-interface--tab-completion"}},[e._v("🔗")])]),t("p",[e._v("The command system is super easy to use and understand. As well as the "),t("a",{attrs:{href:"Command-Usage"}},[e._v("documentation available here on the wiki")]),e._v(", command usage and listings can also be viewed in-game.")]),t("p",[t("img",{attrs:{src:r(2123),alt:""}})]),t("p",[e._v("All LuckPerms commands are fully tab completable, meaning you have to do less typing to get stuff done!")]),t("p",[t("img",{attrs:{src:r(2212),alt:""}})]),t("hr"),t("h3",{attrs:{id:"action-logging",tabindex:"-1"}},[e._v("Action logging "),t("a",{staticClass:"header-anchor",attrs:{href:"#action-logging"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms makes a detailed log of all changes that are made. If you have a rogue staff member try to give themselves permissions, instead of trawling through the servers log file, you can simply search for any actions executed by them!")]),t("p",[t("img",{attrs:{src:r(8893),alt:""}})]),t("p",[e._v("You can also view the history of certain users, groups, or tracks, or look at the actions executed by a user.")]),t("hr"),t("h3",{attrs:{id:"supports-multiple-versions-and-platforms",tabindex:"-1"}},[e._v("Supports multiple versions and platforms "),t("a",{staticClass:"header-anchor",attrs:{href:"#supports-multiple-versions-and-platforms"}},[e._v("🔗")])]),t("p",[e._v("LuckPerms was written in a way which makes it easy for us to support lots of different server types and versions.")]),t("p",[e._v("You can always grab the latest downloads for the platforms we support on the "),t("a",{attrs:{href:"https://luckperms.net/download"}},[e._v("downloads")]),e._v(" page!")])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},6355:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var s=function(){var e=this;e._self._c;return e._m(0)},a=[function(){var e=this,t=e._self._c;return t("section",[t("ul",[t("li",[t("a",{attrs:{href:"Installation"}},[t("strong",[e._v("Install")]),e._v(" (on a single server)")])]),t("li",[t("a",{attrs:{href:"Network-Installation"}},[t("strong",[e._v("Install")]),e._v(" (on multiple servers)")])]),t("li",[t("a",{attrs:{href:"Usage"}},[t("strong",[e._v("Getting Started")])])]),t("li",[t("a",{attrs:{href:"Storage-types"}},[t("strong",[e._v("Storage")])])]),t("li",[t("a",{attrs:{href:"Configuration"}},[t("strong",[e._v("Configuration")])])]),t("li",[t("a",{attrs:{href:"FAQ"}},[t("strong",[e._v("FAQ")])])]),t("li",[t("a",{attrs:{href:"Hytale"}},[t("strong",[e._v("Hytale")])])]),t("li",[t("a",{attrs:{href:"Command-Usage"}},[t("strong",[e._v("Command Usage")])]),t("ul",[t("li",[t("a",{attrs:{href:"General-Commands"}},[e._v("General")])]),t("li",[t("a",{attrs:{href:"User-Commands"}},[e._v("User")])]),t("li",[t("a",{attrs:{href:"Group-Commands"}},[e._v("Group")])]),t("li",[t("a",{attrs:{href:"Permission-Commands"}},[e._v("Permission")])]),t("li",[t("a",{attrs:{href:"Parent-Commands"}},[e._v("Parent")])]),t("li",[t("a",{attrs:{href:"Meta-Commands"}},[e._v("Meta")])]),t("li",[t("a",{attrs:{href:"Track-Commands"}},[e._v("Track")])]),t("li",[t("a",{attrs:{href:"Log-Commands"}},[e._v("Log")])]),t("li",[t("a",{attrs:{href:"Permissions"}},[e._v("Permissions Reference")])])])])]),t("h3",{attrs:{id:"features",tabindex:"-1"}},[e._v("Features "),t("a",{staticClass:"header-anchor",attrs:{href:"#features"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"Web-Editor"}},[t("strong",[e._v("Web Editor")])])]),t("li",[t("a",{attrs:{href:"Context"}},[t("strong",[e._v("Context")])])]),t("li",[t("a",{attrs:{href:"Weight"}},[t("strong",[e._v("Weight")])])]),t("li",[t("a",{attrs:{href:"Prefixes,-Suffixes-&-Meta"}},[t("strong",[e._v("Prefix, Suffix, Meta")])])]),t("li",[t("a",{attrs:{href:"Verbose"}},[t("strong",[e._v("Verbose")])])]),t("li",[t("a",{attrs:{href:"Tracks"}},[t("strong",[e._v("Tracks")])])]),t("li",[t("a",{attrs:{href:"Default-Groups"}},[t("strong",[e._v("Default Groups")])])])]),t("h3",{attrs:{id:"how-to",tabindex:"-1"}},[e._v("How To "),t("a",{staticClass:"header-anchor",attrs:{href:"#how-to"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"Syncing-data-between-servers"}},[t("strong",[e._v("Sync data")]),e._v(" between servers")])]),t("li",[t("a",{attrs:{href:"Storage-system-errors"}},[e._v("Fix "),t("strong",[e._v("storage errors")])])]),t("li",[t("a",{attrs:{href:"Migration"}},[t("strong",[e._v("Migrate")]),e._v(" from other plugins")])]),t("li",[t("a",{attrs:{href:"Switching-storage-types"}},[t("strong",[e._v("Switch storage")]),e._v(" types")])]),t("li",[t("a",{attrs:{href:"Bulk-Editing"}},[e._v("Perform "),t("strong",[e._v("bulk edits")])])]),t("li",[t("a",{attrs:{href:"Prefix-&-Suffix-Stacking"}},[t("strong",[e._v("Stack prefixes")])])]),t("li",[t("a",{attrs:{href:"Extensions"}},[e._v("Install "),t("strong",[e._v("extensions")])])]),t("li",[t("a",{attrs:{href:"Argument-based-command-permissions"}},[e._v("Setup "),t("strong",[e._v("Argument based command permissions")])])])]),t("h3",{attrs:{id:"developers",tabindex:"-1"}},[e._v("Developers "),t("a",{staticClass:"header-anchor",attrs:{href:"#developers"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"Developer-API"}},[t("strong",[e._v("API Introduction")])])]),t("li",[t("a",{attrs:{href:"Developer-API-Usage"}},[t("strong",[e._v("API Usage")])])]),t("li",[t("a",{attrs:{href:"Standalone-and-REST-API"}},[t("strong",[e._v("Standalone App")]),e._v(" & "),t("strong",[e._v("REST API")])])]),t("li",[t("a",{attrs:{href:"Contributing"}},[t("strong",[e._v("Contributing")])])])]),t("h3",{attrs:{id:"reference",tabindex:"-1"}},[e._v("Reference "),t("a",{staticClass:"header-anchor",attrs:{href:"#reference"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"Advanced-Setup"}},[t("strong",[e._v("How permission calculation works")])])]),t("li",[t("a",{attrs:{href:"Web-Editor-Technical-Details"}},[t("strong",[e._v("Web Editor Technical Details")])])]),t("li",[t("a",{attrs:{href:"Self-hosting-the-web-interfaces"}},[t("strong",[e._v("Self hosting the web interfaces")])])]),t("li",[t("a",{attrs:{href:"Upgrading-from-v4-to-v5"}},[t("strong",[e._v("Upgrading from v4 to v5")])])]),t("li",[t("a",{attrs:{href:"Migrating-from-GroupManager-or-PermissionsEx"}},[t("strong",[e._v("Migrating from GM or PEX")])])])]),t("h3",{attrs:{id:"project-info",tabindex:"-1"}},[e._v("Project Info "),t("a",{staticClass:"header-anchor",attrs:{href:"#project-info"}},[e._v("🔗")])]),t("ul",[t("li",[t("a",{attrs:{href:"Why-LuckPerms"}},[t("strong",[e._v("Why LuckPerms?")])])]),t("li",[t("a",{attrs:{href:"Credits"}},[t("strong",[e._v("Credits")])])]),t("li",[t("a",{attrs:{href:"Locale-and-Translations"}},[t("strong",[e._v("Locale and Translations")])])]),t("li",[t("a",{attrs:{href:"Placeholders"}},[t("strong",[e._v("Placeholders")])])]),t("li",[t("a",{attrs:{href:"External-connections"}},[t("strong",[e._v("External connections")])])])])])}],o=r(845),i={},n=(0,o.A)(i,s,a,!1,null,null,null),l=n.exports},4450:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",[e.article?[t("h1",[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("span",{key:e.title},[e._v(" "+e._s(e.title)+" ")])])],1),t("transition",{attrs:{name:"fade",mode:"out-in"}},[t(e.article,{tag:"component"})],1)]:[t("NotFound")]],2)},a=[],o=(r(4114),r(7664)),i={metaInfo(){const{title:e}=this;return{title:e}},components:{NotFound:o.A},data(){return{article:null}},computed:{route(){return this.$route.params.page},title(){return this.route.split("-").join(" ")}},created(){this.route&&this.getArticle()},methods:{async getArticle(){try{this.article=r(9033)(`./${this.route}.md`).default}catch(e){return void(this.article=null)}await this.$nextTick(),document.querySelectorAll("#article a").forEach((e=>{e.addEventListener("click",(e=>{let t;e.preventDefault(),["STRONG","CODE"].includes(e.target.tagName)?t=e.target.parentNode:"A"===e.target.tagName&&({target:t}=e),t.href.startsWith(window.origin)?this.$router.push({path:t.pathname,hash:t.hash}).then().catch((()=>{})):window.open(t.href)}))})),this.$route.hash&&await this.scrollTo(this.$route.hash)},async scrollTo(e){await this.$nextTick();const t=document.getElementById(e.split("#")[1]);t&&setTimeout((()=>{t.scrollIntoView({behavior:"smooth"})}),500)}},watch:{$route(e){e.hash?this.$nextTick().then((()=>{this.scrollTo(e.hash)})):document.getElementById("article").scrollTo({top:0,behavior:"smooth"}),this.getArticle()}}},n=i,l=r(845),p=(0,l.A)(n,s,a,!1,null,null,null),c=p.exports},5777:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("main",{staticClass:"wiki container",attrs:{id:"wiki"}},[t("article",{attrs:{id:"article"}},[e.showLocaleWarning?t("div",{attrs:{id:"wiki-locale-notification"}},[e._v(" "+e._s(e.$t("wikiLocaleWarning"))+" "),t("button",{on:{click:e.acknowledgeWikiWarning}},[t("font-awesome",{attrs:{icon:"check"}})],1)]):e._e(),t("router-view")],1),t("aside",[t("h1",[e._v(e._s(e.$t("wiki")))]),t("sidebar")],1)])},a=[],o=(r(4114),r(6355)),i={metaInfo:{titleTemplate:"%s | Wiki | LuckPerms"},components:{Sidebar:o["default"]},data(){return{wikiWarningAcknowledged:!!JSON.parse(localStorage.getItem("wikiWarningAcknowledged"))}},computed:{locale(){return this.$store.getters.userLocale},showLocaleWarning(){return!(!this.locale||"en"===this.locale.code)&&!this.wikiWarningAcknowledged}},mounted(){const e=document.getElementById("wiki");document.querySelectorAll("#wiki aside a").forEach((t=>{t.addEventListener("click",(t=>{let r;t.preventDefault(),"STRONG"===t.target.tagName?r=t.target.parentNode:"A"===t.target.tagName&&({target:r}=t),this.$router.push({path:r.pathname,hash:r.hash}).then().catch((()=>{})),e.scrollTo({top:0,behavior:"smooth"})}))}))},methods:{acknowledgeWikiWarning(){this.wikiWarningAcknowledged=!0,localStorage.setItem("wikiWarningAcknowledged",JSON.stringify(!0))}}},n=i,l=r(845),p=(0,l.A)(n,s,a,!1,null,null,null),c=p.exports},9033:function(e,t,r){var s={"./Advanced-Setup.md":2738,"./Argument-based-command-permissions.md":5482,"./Bulk-Editing.md":6452,"./Command-Usage.md":718,"./Configuration.md":747,"./Context.md":2445,"./Contributing.md":9156,"./Credits.md":4788,"./Default-Groups.md":8017,"./Developer-API-Usage.md":4403,"./Developer-API.md":6738,"./Extensions.md":5764,"./External-connections.md":1207,"./FAQ.md":8407,"./General-Commands.md":9078,"./Group-Commands.md":4123,"./Home.md":7661,"./Hytale.md":3097,"./Installation.md":3931,"./Locale-and-Translations.md":1098,"./Log-Commands.md":1946,"./Meta-Commands.md":3225,"./Migrating-from-GroupManager-or-PermissionsEx.md":3553,"./Migration.md":9760,"./Network-Installation.md":1025,"./Parent-Commands.md":773,"./Permission-Commands.md":6682,"./Permissions.md":5941,"./Placeholders.md":6850,"./Prefix-&-Suffix-Stacking.md":3950,"./Prefixes,-Suffixes-&-Meta.md":7764,"./Self-hosting-the-web-interfaces.md":975,"./Standalone-and-REST-API.md":935,"./Storage-system-errors.md":5523,"./Storage-types.md":6989,"./Switching-storage-types.md":157,"./Syncing-data-between-servers.md":3435,"./Track-Commands.md":351,"./Tracks.md":2610,"./Upgrading-from-v4-to-v5.md":6639,"./Usage.md":5056,"./User-Commands.md":3226,"./Verbose.md":6367,"./Web-Editor-Technical-Details.md":575,"./Web-Editor.md":1379,"./Weight.md":5698,"./Why-LuckPerms.md":6668,"./_Sidebar.md":6355};function a(e){var t=o(e);return r(t)}function o(e){if(!r.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]}a.keys=function(){return Object.keys(s)},a.resolve=o,e.exports=a,a.id=9033},45:function(e,t,r){"use strict";e.exports=r.p+"img/context-1.66a48cae.gif"},2379:function(e,t,r){"use strict";e.exports=r.p+"img/contributing-1.d3d83e56.png"},3337:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAqCAMAAABm11LeAAACvlBMVEVHcEwAn98Ik+IJlOMHlOIIk+EIkuEJk+EKkuMJk+EIkeIJk+IIkuEIk+EJk+IKkd8IkuIAkdoIkuEJk+EIkuEAf9QJkuEJkuEIk+EGk+QJk+EIkuIJleIAjeIJk+IJk+IKk+AIk+EIkuIIk+EIkuIKkeEIkuIIlOIYjfv////y8vIQgOkJk+JutOqeyvDe7Pn0+f3p8vvS5fft8PKPw+5crOgXi/gdj/sqoORHpOYunOQSg+252PTG3/YslvoThfCs0fL5XzkzmvtYs+ff6vHA3u+Gxus3m/oRgevI4e8ikvt/u+zw8fIWivfo7vHx8vK92fQYjPqWzOyYzewUh/LQ4vO01fUQgeoUl+MSg+4QluPv8fJ9vPeXzewWivbY7P5Fovnt9v8Wi/groeQgkft8vv0RguwRluMnlfs5nfwdkPuey/WXzP1Rqfzg6/Hd6fEmlPsVmOOdy/UThO9KpPm82fT4TiSz2f4ZjfvS6f43puUWifbp7vFZtOiVzOzB3u97u/c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sBfjcl2aIWDaQnNSATRgbMoHSfdamE2yJY6eI1dH2SQ6/YbcyuMwa3jG/F7e9/+AVXXWG3X13ZYtmiHuqqQtX2ss6OTl5WZyTZ0qrelZ5cT2mRSbl+e9Q2pjcVIWYEv7Hf//rpC4B9nctxfsvGNYBknmwSsFWozVIf52DYE8musnpFsFrzNzQDsEV2GyMKqZJiJmCWyzfv/gSAtsdcosPFhyMWCybIQveNusEyUFqfZF0MZaS0YHzUEQVpY5TDM6Q1flR5wtD63gRTWioaudQ7crn5mXc+1ZzkhcvX3lFb0knQfc0+eS2SOjS5DgRNYM7DFjERLf85aI4E2xiXAFEPR/zrj7+AgZTzz2DQPv4EIJogRY9Ky3wDgi7XxWR3H7HK9BL1Ypr8JSG7ShvTQUnVQ7QIoRTXQfcEQLVoTWeCfVQNYxbmoWBoypqFMRGXbbQxGjJgMsGZIjpLFA5eKhV7pwM3zHaqkhjDCyknfv9oLjty9zayL3aIWU1CHM3wRBlmO1EVLa/K++2jK/HXETNJT+1L3atD1GN4ZlJizSVaxyevy5mf7DQz4vsTrVEPsQFGPz8zO435YmpuuRLSpXQ1tZ1eJ6oM+OSImvw7Do5ybGeN6AaYFZrlpyYZ8g+Hl1LV0cYYMetAdD5nTg3X4vlFtwMkKikTRN8Ra0n4A3gbnLGGyOAubK9Sf/PMNCJpRQW6Lww7+vl/yalwPyie/VO4NBPrPSEMmym6J8Qc2FTonpBBD5N0TxhDD3HqV/4HDnMtqS4aqisAAAAASUVORK5CYII="},5291:function(e,t,r){"use strict";e.exports=r.p+"img/hytale-chat-1.f256ed60.png"},3312:function(e,t,r){"use strict";e.exports=r.p+"img/hytale-chat-2.9767fa18.png"},8137:function(e,t,r){"use strict";e.exports=r.p+"img/hytale-chat-3.523b070d.png"},6883:function(e,t,r){"use strict";e.exports=r.p+"img/installation-1.aa0cd848.png"},4904:function(e,t,r){"use strict";e.exports=r.p+"img/installation-2.c2e837b0.png"},3297:function(e,t,r){"use strict";e.exports=r.p+"img/installation-3.1a7d58ab.png"},8734:function(e,t,r){"use strict";e.exports=r.p+"img/installation-4.c4c43b9f.png"},4519:function(e,t,r){"use strict";e.exports=r.p+"img/installation-5.3164243f.png"},3836:function(e,t,r){"use strict";e.exports=r.p+"img/installation-6.a0e36b44.png"},5461:function(e,t,r){"use strict";e.exports=r.p+"img/installation-7.b567e6fc.png"},6306:function(e,t,r){"use strict";e.exports=r.p+"img/installation-8.71ca6918.png"},1499:function(e,t,r){"use strict";e.exports=r.p+"img/installation-9.dd46497d.png"},2626:function(e,t,r){"use strict";e.exports=r.p+"img/standalone-1.55d1bd69.png"},1038:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnoAAAA5CAMAAACWJ3bVAAAC/VBMVEUWFhvCwsP////6+vqNjY9SUlbm5uelpaZra27z8/Pt7e3Z2dmvr7DPz9FubnF5eXzBwcK6urugoKKDg4UiIifS0tPp6er+/v5wcHM8PEG/v8D39/dWVlmsrK709PT29vbV1dby8vJ+foH8/PzMzM1JSU2QkJOpqavg4OHb29zv7/CKio2ampz9/f2oqKpQUFRpaWze3t+Pj5GIiIvl5ebl5eWWlphzc3a0tLaTk5W3t7iwsLLr6+t7e36dnZ++vsCqqqx2dnk1NTnu7u5lZWnJycowMDSEhIZ3d3rGxsji4uJGRkpgYGPExMXX19jw8PGCgoXo6OlOTlLY2NmioqTq6uqOjpD5+fk5OT1ZWVzKystcXGAUaoYTx/4WKDITrNwPV0ECyIUA2pAB0ooOWkQVOEcTuu0TnskUhqsUKicDvH4IkmVQUSPf4jj4+zu9vzPT1TZpaifs7zkSw/oTm8YWGBwNZUoDv38A2Y8KfVgUJSQFrHQTlr8UU2sFq3QGqXIVGh4SPDICxIOhoi4UQFETp9UVIisMa04BzokMcFAVICERRjcGoW4VWXETn8sVPEwUVWwUcpIUkbgUUWcIj2MLc1IUcI4Su+8SvfEUbowSs+UTwfcUfJ8UR1oTrt4SxfwVKDETtegToc4TqtoTgqcVHyYTvvQVLDcTseER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EnZ+b/bafgzvtKhIS4UIrbcXFtiWbLGS1+q8Qq60soKtRzKhiKIfJ1bvMLTGlE2qjVIzsGvOvhr9bNOzTUWgzjvWIxn/fnh+6jw6v9N6pG6ejHethurddxjene1jeGfrkcg71E3jZBk2G0xm4KtsuUKaTq1HrqJ+huJMN1CZeuSfKz76TZzfl4aGh4W2wruw8XmOpf7UTuJmLqseQoXnHKoOCVfTudqq6tDn1LKcNXWoZGrFxhkboIP3C0BRoZ9/Sa362VOHzOUe2UcrOni/IPRnwke//QWnrf/buQMLAGAYCqLV/YcudIjIvTfDCYIP3O+A3kHvoHfGsy+m9xL773ovsQ+s9wL773rHfd8N++96x38GGv930DvoHfQOegcAAADgAVYy39ZQMSwPAAAAAElFTkSuQmCC"},6789:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdEAAAA4CAMAAACVITJXAAAC/VBMVEUWFhsUU2sSs+YVOEfCwsP////6+vqNjY/m5udSUlZra27t7e2fn6HZ2dmDg4UiIifT09Tp6er+/v7n5+hwcHN+foH8/PzMzM1JSU3z8/PV1dbx8fKsrK729vaamp3v7/ClpabPz9FQUFTs7OyioqSKio3i4uLb29wwMDSvr7Dv7++ZmZvu7u74+PjS0tNZWVy3t7hzc3azs7WTk5XW1td7e32+vsA8PEGqqqywsLLr6+t8fH+Wlpj19fWdnZ9oaGvGxshycnWSkpWnp6lmZmrl5eY5OT13d3o1NTnDw8SFhYi/v8BgYGPe3t/y8vLa2tvw8PGCgoXHx8iwsLGgoKJkZGd5eXyPj5HY2Nm4uLno6OlVVVlubnGlpaeoqKpcXGCJiYzExMWMjI62trf9/f3Pz9COjpDBwcLk5OTKystOTlK5uboUhqsTrNwWKDIOV0ICyIUA2pAB1IsOWkQUKicDvH4Lc1IIkmWpqasTnskTx/4Tw/kTm8cWGBwFq3QGpnAVGh0SPDICxIPJycra2tqEhIYUaoYUQVITptQVIyy6urwUVWwTuu0VUWYVYXwTt+oSu/AUc5EVO0oTrt4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2J+JDfh/AxDMCk1QfxSUqf9xDEyfjg1fPqEyR+H8QHR20hPuT3IXzq0bNqePZBfLQbCJPwQb/PlaspfPYJCr8P4oOjthAf8vsQPtUth6sK3j2207jyQnyen78mJ9Mu4YN+H668gsXvg/jgqC3Eh/w+hI9WuBcfAWMhPrAudnqMvPqQ32eqiP0+LBaLxWKxWOz30YvF+T4TLxbn+7DY73P38WFxvg/Ggqvu09rfUODP1+vSwGWM8wHbOnt47Es2iLLPeHvukun/ZdNG9wfWz+wg71Rwvg8NJVC99QUnRb4PBv58jZT+6zfu66c4n21rXrAJv09U/IP3RMQ9bl+Ral+ZI9bPWxuCu0/K+T40EkU8mryvuFcK/NHn++DCk5IycAnkOB/xDi0Xtx24pcAlh4nT3BP2FdSVD1Zxvg8OZBIdd2HYwMCfr873Gbg2qABIj7SLzpbgnvARnUHstyj9fTchOMR+H2N8jE/UtPogPlvzI23iHSJ88BKCffXhfB/avBAfDPwxOvtc6Cd8RMf9qXwJn9ysbBC6dT24zz6c70NHZ8QHA3+MKy/C59vLUhfkvi3hk5r4enLyytzgr7w43wcLd8SHAn8MRfg8lDA9Ijddwkcr3Df+q107wIAYBgIoGmCDTQILq0VbaS8QoHr/cxV6giCo987wRWbML+DeBwDg8wggH+SDfHifb8pFPp2oU5z3Qz6dWP4tplzkQ6erbat88PowVD39fTB5Ye+DfBhCPsgH5AMAAAAA3JLi7/Z1PL/mAAAAAElFTkSuQmCC"},771:function(e,t,r){"use strict";e.exports=r.p+"img/usage-4.f666a1cc.png"},3018:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqMAAACHCAMAAAAV46BTAAAC31BMVEUWFhsfHyM+PkEbGyAmJitVVVZaWltfX18XFxzk5ORoaGhOTlBlZWUrKy6np6ktLTAyMjViYmJSUlNEREYcHCFMTE08PD6enqBISErCwsMiIifZ2dn////+/v48PEHv7/D7+/sUhqsTt+lSUlYwMDTm5uelpaYVGiASw/vz8/P09PQTx/4WKDKN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KZiqQGBDnYOeYvQH6JLOaPhWi9RTnkHcFFElwqgp1y0ar5/C11IDEZoDBiNJkiBu2Xi1oCxsh7F15RQ/CilC4m4bEd4wEjvVGvr+4WemabOj6I/PrERSw0ItL++VkV/iC7ljIZrhcjU1S8RKB6KCKCnTLQqHY+8R/c9k1XxbTO4W3iUIwJZj+JrSgB+VNCjOI9roL41IODRKfCjIh6FodXa+nYP+kN0qblHw11HS5QcMY86TKJV43tUWV63x9t2ANytuEcTih/lZz3vUSO9s8x3wbddwKNT50f5Wc971IBAi3rqsodU9IfoUpNZT5sgDBVwUUSXCqCnRrSqmUeJOsprwN1ys97UownFj/LPTHAL0E6kd54nQOV2bzMyOaOfo1+6gw499DdN/Cj/zASPYikg0EHS/vncC+gP0aUMP4prhQo7T2m/uIkL2GcmAfSUjVaN79HDBcvJY2EduFv2mcnco4nEj/LvnuAWoJ1I7wxXHFYVV6Tdg0xOYY+K86P8uyd4lC4FBOqK7Hcp6pBvF+0P0aUcP4prheooi0pxUUSXCqCnbLQq59FjY9GqK4PEM/2qAu6WiVblPYpUVnj0P8OP/tPOHZwgDIMBGK1KEdzAtJRCW4+uIHQLh+qh9OgkLuAQnaBj6EHovYL8h/cWyOUjJOQnP8+PrkLOj/oSEDSKRoHy6w9LgUbRKGgUxmJKkRuFebhdn33kRqG63OtiSpEbheXRNZsaBfsozK/aefQD93rwzoRGQaOgUTQKAAAAAG8+vOgX7yCghQAAAABJRU5ErkJggg=="},4129:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtsAAAA0CAMAAABsIwTkAAADAFBMVEUWFhvCwsP////6+vqNjY9ra27z8/OlpaaKio3v7/BSUlbm5ufZ2dns7OwiIifY2NnV1dYwMDSfn6GDg4XS0tPo6On+/v7n5+hwcHO5ubr8/PzPz9H09PTy8vJZWVzLy8w8PEHu7u7d3d5QUFT19fXw8PH39/fJycp3d3rb29u/v8CampxWVlnMzM19fYBpaWz9/f2oqKqtra9dXWHh4e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sP+bHNAdXXC/t3wpcqUVw3ZS8zWur+h1cY4x2cD+ZjzFdatG4bs7ZVeebTCAUlloGComg1KI8xUotClcSikstvXClSy2C69FnIQAkw8fdTOCOA2LXhPXTUWqhOfbVaR2l1tPlr04/Xq7B1ebceW69DHZuPq7dudOi6L1GHUmphfYA2o79dgSFK9kmQEc++/dbomObAHnPn0dwpbcJxHFVIFOJ48oUOwSYvmggyWyoNQ04Fg64zZJXXwcA9cGokUXhasBJVfISom5UtlTbyCK4JuyVZ2wtfAfXHZ5yhYTgSjWyKO2akiovFM6ZqJFltIXgShpZxFMEV66RReFKQlEjS1UoER8rWfMdcFuKwpVuZBFcDzkFKB35DIfm14YCY3HMFaD0RcB/G1nrNI0seF2Gtq2oRtblsvKHeHatemNtZdl8XDXbTe/ZxJ/aht9Ce9vOHVgACABhGD1B64ZGaKS0TJWGSEKIhASI6Hhvhs/h8D+U528hDbauCcigWqdx6AMy2Je2ngO4KS4BcgW5Ilf434qLXEm17ypXci0QypVE+65yxXWFb/Zd5YrPAPi7glyRK8gV5AoAAPDeATTAz8Dtdr5QAAAAAElFTkSuQmCC"},3759:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArgAAAA6CAMAAABs+drnAAAC/VBMVEUWFht7fCni5Tn4+zvp7DqWmC3CwsP////6+vqNjY9SUlbm5uelpaZra27z8/Pt7e3Z2dmfn6GDg4UiIifS0tPq6ur+/v5wcHM8PEG/v8D39/fPz9FYWFutra709PT19fXU1NXy8vJ+foH8/PzMzM1JSU2QkJKpqavi4uLb29zv7/CJiYze3t9QUFSZmZu5ubqdnZ/u7u4wMDSwsLGioqTr6+v9/f3l5ea2trdzc3azs7WTk5XW1td/f4KwsLJ7e36Wlpirq63BwcI1NTnDw8RmZmno6OnHx8h3d3rJycpoaGvFxcY5OT2FhYdgYGP5+fldXWHw8PFVVVlubnFOTlLY2NlGRkqMjI7Kysu6urzs7OwWKDITrNwTx/4UhqsTnskSPDICy4cMc1IC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pqdaVpnMbztYgsIie+sf7hrvLgg3+NAqpP+YTDc4Gzt3ff6kL1ueMykIrdnVQ3TDTOGmTM4eDbkIiXW5SZgnK2xVOCl/b5Ifam0TJycEabBdMMQEtsyjLM1xrA8W8vSZ2vz3iAw3GuIP/O4XKZduf4F1nOYBmenyZZ0cIg/zUtMSMwYZmdresJMSDz1tSq3KCc2DtSa5vpnaxev19MNs7O13c3iAgdiLIabxwQC28Cw8Q9HKBT+YYWJZpJQE4bhz2hc2RN9+tR1+l87d20AIRBAUXAT3PqvFs+wDNuZGt4d/j9Lw6RNXZVFAHZ0qwAaBg1HAg1j5+f7DWN/+PsNY/dSw19nf1jDz8L/MPaHNXwF9yXA/WHQMBoGDYOGAQAAGACqbFV4432/sAAAAABJRU5ErkJggg=="},781:function(e,t,r){"use strict";e.exports=r.p+"img/usage-inheritance-1.e521f805.png"},5945:function(e,t,r){"use strict";e.exports=r.p+"img/verbose-1.48796279.png"},3010:function(e,t,r){"use strict";e.exports=r.p+"img/verbose-2.e3d00c6e.png"},2766:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-1.7e4bafd4.png"},597:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxAAAAEqCAMAAACyWUYtAAABBVBMVEUrNUkqNUk0Nzo+QEQrNkksN0lAQUE5Oz8qNUgqNEg0Njo9P0M4Oz8pNEg/QED8/Pw+Pj4qNEcpNEczNTk4Oj78yso+MjIpM0YpNEYqNEY3OT0pM0UoM0U3OTwyNDg2ODw7PUEAAACqqqqnp6erq6uoqKimpqasrKxvb29ubm5sbGxxcXFpaWltbW1zc3Nra2twcHB1dXVqamp0dHRoaGhSUlJ2dnZVVVVlZWVmZmZ4eHhUVFRZWVkqM0VkZGRWVlYpMkQoMkQpM0R3d3d7e3tPT086PEB5eXlYWFhjY2NXV1dQUFBTU1NMTExaWlpcXFxgYGBdXV0xMzdeXl5RUVE2ODs8PT2KcO+XAAAW/0lEQVR4Aeza0UrEMBCF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xgUH88eTGAwBRdk1wD3vFRDxuJ3CgIlpx4CD2an5wClYZEZ4rtfuDGw8iCD0BhN8E9XAehcSBgXB91e3IgYPYEzwcJRE5vVYEvbEhPrXxwEDwlxY/iUjsRSJO3SC8rvHAQfC3Fi+JyO08Cd8NQi6iO4cdBE3z4CcR6R0Vcfar7jUeCAj+N9pPIjwdEuGDlgGiGAc/CJ7gwWwibNlF5J2qN/89CCBYV8i5OdRHATj4V0SAAIduIOJOZg/1TUAOXAQwUNgD7xOEpNjYuoPhQgAAAABJRU5ErkJggg=="},8187:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-3.9e4e37fc.gif"},9792:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-4.8e8a0398.gif"},2345:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-5.bf396974.gif"},782:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-6.162e1374.gif"},120:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-7.25c9cdfb.png"},3348:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-technical-1.9a027636.png"},7839:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-technical-2.54f4b24c.png"},8822:function(e,t,r){"use strict";e.exports=r.p+"img/webeditor-technical-3.d536d35c.png"},729:function(e,t,r){"use strict";e.exports=r.p+"img/whyluckperms-1.1ec36893.png"},994:function(e,t,r){"use strict";e.exports=r.p+"img/whyluckperms-2.48796279.png"},2123:function(e,t,r){"use strict";e.exports=r.p+"img/whyluckperms-3.c3d1f3ec.png"},2212:function(e,t,r){"use strict";e.exports=r.p+"img/whyluckperms-4.4d7e9fcb.png"},8893:function(e,t,r){"use strict";e.exports=r.p+"img/whyluckperms-5.9844003d.png"}}]);
|
|
//# sourceMappingURL=wiki.48345197.js.map
|

Staff