mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-10-03 07:47:32 +02:00
Remove debug command & add more usages to commands (#2725)
This commit is contained in:
parent
26f7dfcb24
commit
e851234723
@ -6,7 +6,6 @@ luckperms {
|
|||||||
groups;
|
groups;
|
||||||
users;
|
users;
|
||||||
}
|
}
|
||||||
debug;
|
|
||||||
verbose {
|
verbose {
|
||||||
off;
|
off;
|
||||||
on {
|
on {
|
||||||
|
@ -35,7 +35,6 @@ public enum CommandPermission {
|
|||||||
SYNC("sync", Type.NONE),
|
SYNC("sync", Type.NONE),
|
||||||
INFO("info", Type.NONE),
|
INFO("info", Type.NONE),
|
||||||
EDITOR("editor", Type.NONE),
|
EDITOR("editor", Type.NONE),
|
||||||
DEBUG("debug", Type.NONE),
|
|
||||||
VERBOSE("verbose", Type.NONE),
|
VERBOSE("verbose", Type.NONE),
|
||||||
VERBOSE_COMMAND_OTHERS("verbose.command.others", Type.NONE),
|
VERBOSE_COMMAND_OTHERS("verbose.command.others", Type.NONE),
|
||||||
TREE("tree", Type.NONE),
|
TREE("tree", Type.NONE),
|
||||||
|
@ -49,7 +49,6 @@ public enum CommandSpec {
|
|||||||
arg("type", false),
|
arg("type", false),
|
||||||
arg("filter", false)
|
arg("filter", false)
|
||||||
),
|
),
|
||||||
DEBUG("/%s debug"),
|
|
||||||
VERBOSE("/%s verbose <on|record|off|upload> [filter]",
|
VERBOSE("/%s verbose <on|record|off|upload> [filter]",
|
||||||
arg("action", "on|record|off|upload|command", true),
|
arg("action", "on|record|off|upload|command", true),
|
||||||
arg("filter", false),
|
arg("filter", false),
|
||||||
@ -70,11 +69,14 @@ public enum CommandSpec {
|
|||||||
NETWORK_SYNC("/%s networksync"),
|
NETWORK_SYNC("/%s networksync"),
|
||||||
IMPORT("/%s import <file>",
|
IMPORT("/%s import <file>",
|
||||||
arg("file", true),
|
arg("file", true),
|
||||||
arg("replace", "--replace", false)
|
arg("replace", "--replace", false),
|
||||||
|
arg("upload", "--upload", false)
|
||||||
),
|
),
|
||||||
EXPORT("/%s export <file>",
|
EXPORT("/%s export <file>",
|
||||||
arg("file", true),
|
arg("file", true),
|
||||||
arg("without-users", "--without-users", false)
|
arg("without-users", "--without-users", false),
|
||||||
|
arg("without-groups", "--without-groups", false),
|
||||||
|
arg("upload", "--upload", false)
|
||||||
),
|
),
|
||||||
RELOAD_CONFIG("/%s reloadconfig"),
|
RELOAD_CONFIG("/%s reloadconfig"),
|
||||||
BULK_UPDATE("/%s bulkupdate",
|
BULK_UPDATE("/%s bulkupdate",
|
||||||
|
@ -352,7 +352,6 @@ luckperms.usage.info.description=Prints general information about the active plu
|
|||||||
luckperms.usage.editor.description=Creates a new web editor session
|
luckperms.usage.editor.description=Creates a new web editor session
|
||||||
luckperms.usage.editor.argument.type=the types to load into the editor. (''all'', ''users'' or ''groups'')
|
luckperms.usage.editor.argument.type=the types to load into the editor. (''all'', ''users'' or ''groups'')
|
||||||
luckperms.usage.editor.argument.filter=permission to filter user entries by
|
luckperms.usage.editor.argument.filter=permission to filter user entries by
|
||||||
luckperms.usage.debug.description=Produces a set of internal debugging output
|
|
||||||
luckperms.usage.verbose.description=Controls the plugins verbose permission check monitoring system.
|
luckperms.usage.verbose.description=Controls the plugins verbose permission check monitoring system.
|
||||||
luckperms.usage.verbose.argument.action=whether to enable/disable logging, or to upload the logged output
|
luckperms.usage.verbose.argument.action=whether to enable/disable logging, or to upload the logged output
|
||||||
luckperms.usage.verbose.argument.filter=the filter to match entries against
|
luckperms.usage.verbose.argument.filter=the filter to match entries against
|
||||||
@ -370,9 +369,12 @@ luckperms.usage.network-sync.description=Sync changes with the storage and reque
|
|||||||
luckperms.usage.import.description=Imports data from a (previously created) export file
|
luckperms.usage.import.description=Imports data from a (previously created) export file
|
||||||
luckperms.usage.import.argument.file=the file to import from
|
luckperms.usage.import.argument.file=the file to import from
|
||||||
luckperms.usage.import.argument.replace=replace existing data instead of merging
|
luckperms.usage.import.argument.replace=replace existing data instead of merging
|
||||||
|
luckperms.usage.import.argument.upload=upload the data from a previous export
|
||||||
luckperms.usage.export.description=Exports all permissions data to an ''export'' file. Can be re-imported at a later time.
|
luckperms.usage.export.description=Exports all permissions data to an ''export'' file. Can be re-imported at a later time.
|
||||||
luckperms.usage.export.argument.file=the file to export to
|
luckperms.usage.export.argument.file=the file to export to
|
||||||
luckperms.usage.export.argument.without-users=exclude users from the export
|
luckperms.usage.export.argument.without-users=exclude users from the export
|
||||||
|
luckperms.usage.export.argument.without-groups=exclude groups from the export
|
||||||
|
luckperms.usage.export.argument.upload=Upload all permission data to the webeditor. Can be re-imported at a later time.
|
||||||
luckperms.usage.reload-config.description=Reload some of the config options
|
luckperms.usage.reload-config.description=Reload some of the config options
|
||||||
luckperms.usage.bulk-update.description=Execute bulk change queries on all data
|
luckperms.usage.bulk-update.description=Execute bulk change queries on all data
|
||||||
luckperms.usage.bulk-update.argument.data-type=the type of data being changed. (''all'', ''users'' or ''groups'')
|
luckperms.usage.bulk-update.argument.data-type=the type of data being changed. (''all'', ''users'' or ''groups'')
|
||||||
|
Loading…
Reference in New Issue
Block a user