This is a sub-page of the main Command Usage page. Click here to go back.
Key things to remember from the main page:
- You use
/lpb
instead of/lp
when running the plugin on BungeeCord - You use
/lpv
instead of/lp
when running the plugin on Velocity - Required arguments are marked with angle brackets - e.g.
<required>
- Optional arguments are marked with square brackets - e.g.
[optional]
- If you want to include spaces in arguments, you must escape the argument with quotes - e.g.
" "
- /lp
- /lp
sync
- /lp
info
- /lp
editor
- /lp
debug
- /lp
verbose
<on | record | off | upload> [filter] - /lp
tree
[scope] [player] - /lp
search
<permission> - /lp
check
<user> <permission> - /lp
networksync
- /lp
import
<file> - /lp
export
<file> - /lp
reloadconfig
- /lp
bulkupdate
- /lp
migration
- /lp
creategroup
<group> - /lp
deletegroup
<group> - /lp
listgroups
- /lp
createtrack
<track> - /lp
deletetrack
<track> - /lp
listtracks
Permission: n/a
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.
Permission: luckperms.sync
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.
Permission: luckperms.info
Lists some information/data about LuckPerms, including debugging output, statistics, settings, and important values from the configuration.
Permission: luckperms.editor
Arguments:
[type]
- the types to include in the editor session. can be "all", "users" or "groups"
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.
Permission: luckperms.debug
Records debugging output and provides you with a link.
Permission: luckperms.verbose
Arguments:
<on|record|off|upload>
- whether to enable/disable logging, or to upload the logged output[filter]
- the filter to sort the output
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.
If your filters match the permission check, you will be notified.
on
will enable the system, and will send you an alert in chat when the filter is matched. record
will do the same, however you will not be notified of checks in the chat. off
will simply disable the checking, and upload
will upload the first results to the web viewer, and provide you with a link.
Filters match the start of permissions or the user being checked. You can use &
(and) and |
(or) symbols, and !
to negate a match. Parenthesis ( )
are also supported.
For example:
Luck & (essentials | worldedit)
- matches any checks made against my user starting with "essentials" or "worldedit"!Luck & !anticheat
- matches any checks not against my user and not starting with "anticheat"anticheat & !anticheat.check
- matches any checks starting with "anticheat" but not starting with "anticheat.check"
More information can be found here
Permission: luckperms.tree
Arguments:
[scope]
- the root of the tree (specify.
to include all permissions)[player]
- the name of an online player to check against
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.
All arguments are optional. The default selection is .
(just a dot, which means all).
Scope allows you to only generate a part of the tree. For example, a scope of luckperms.user
will only return the branch of the tree starting with "luckperms.user".
Permission: luckperms.search
Arguments:
<permission>
- the permission to search for
Searches all users/groups for a specific permission, and returns a paginated list of all found entries.
Permission: luckperms.check
Arguments:
<user>
- the user to check<permission>
- the permission to check for
Performs a standard permission check on an online player, and returns the result. This check is equivalent to the checks performed by other plugins when checking for permissions.
Permission: luckperms.sync
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.
Permission: luckperms.import
Arguments:
<file>
- the file to import from
Imports data into LuckPerms from a file. The file must be a list of commands, starting with "/luckperms". This file can be generated using the export command. The file is expected to be in the plugin directory.
Permission: luckperms.export
Arguments:
<file>
- the file to export to
Exports data from LuckPerms into a file. This file can either be used as a backup, or used to move data between LuckPerms installations. The file can be re-imported using the import command. The generated file will be in the plugin directory.
Permission: luckperms.reloadconfig
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)
Permission: Console Only
Arguments:
<data type>
- the type of data being changed. (can beall
,users
orgroups
)<action>
- the action to perform on the data. (can beupdate
ordelete
)[action field]
- the field to act upon. only required for update actions. (can bepermission
,server
orworld
)[action value]
- the value to replace with. only required for update actions[constraints]
- the constraints required for the update
Allows you to perform a bulk modification to all permission data. A detailed guide on how to use this command can be found here.
Permission: luckperms.migration
Arguments:
<plugin name>
- the plugin to migrate data from[options]
- the options required for certain plugin migrations
Main command used for the migration system. Allows you to import permissions data into LuckPerms from other permission plugins. More information about this feature can be found here.
Permission: luckperms.creategroup
Arguments:
<name>
- the name of the group
Creates a new group.
Permission: luckperms.deletegroup
Arguments:
<name>
- the name of the group
Permanently deletes a group.
Permission: luckperms.listgroups
Displays a list of all current groups.
Permission: luckperms.createtrack
Arguments:
<name>
- the name of the track
Creates a new track.
Permission: luckperms.deletetrack
Arguments:
<name>
- the name of the track
Permanently deletes a track.
Permission: luckperms.listtracks
Displays a list of all current tracks.