Remove debug command & add more usages to commands (#2725)

This commit is contained in:
powercas_gamer 2020-11-19 00:52:26 +01:00 committed by GitHub
parent 26f7dfcb24
commit e851234723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

View File

@ -6,7 +6,6 @@ luckperms {
groups;
users;
}
debug;
verbose {
off;
on {

View File

@ -35,7 +35,6 @@ public enum CommandPermission {
SYNC("sync", Type.NONE),
INFO("info", Type.NONE),
EDITOR("editor", Type.NONE),
DEBUG("debug", Type.NONE),
VERBOSE("verbose", Type.NONE),
VERBOSE_COMMAND_OTHERS("verbose.command.others", Type.NONE),
TREE("tree", Type.NONE),

View File

@ -49,7 +49,6 @@ public enum CommandSpec {
arg("type", false),
arg("filter", false)
),
DEBUG("/%s debug"),
VERBOSE("/%s verbose <on|record|off|upload> [filter]",
arg("action", "on|record|off|upload|command", true),
arg("filter", false),
@ -70,11 +69,14 @@ public enum CommandSpec {
NETWORK_SYNC("/%s networksync"),
IMPORT("/%s import <file>",
arg("file", true),
arg("replace", "--replace", false)
arg("replace", "--replace", false),
arg("upload", "--upload", false)
),
EXPORT("/%s export <file>",
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"),
BULK_UPDATE("/%s bulkupdate",

View File

@ -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.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.debug.description=Produces a set of internal debugging output
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.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.argument.file=the file to import from
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.argument.file=the file to export to
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.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'')