Class ConfigKeys
java.lang.Object
me.lucko.luckperms.common.config.ConfigKeys
-
Field Summary
FieldsModifier and TypeFieldDescriptionIf LuckPerms should allow usernames with non alphanumeric characters.If Bukkit attachment permissions are being applied.If Bukkit child permissions are being applied.If Bukkit default permissions are being applied.If BungeeCord configured permissions are being applied.If default negated permissions should be applied before wildcards.If Nukkit attachment permissions are being applied.If Nukkit child permissions are being applied.If Nukkit default permissions are being applied.If Sponge default subjects should be appliedIf regex permissions are being appliedIf shorthand permissions are being appliedIf wildcards are being appliedIf Sponge's implicit permission inheritance system should be appliedIf LuckPerms should automatically install translation bundles and periodically update them.If auto op is enabled.If updates should be automatically pushed by the messaging serviceIf LuckPerms should broadcast received logging entries to players on this platformThe URL of the bytebin instance used to upload dataThe host of the bytesocks instance used to communicate withIf TLS (https/wss) should be used when connecting to bytesocksIf LP should cancel login attempts for players whose permission data could not be loaded.If server operators should be able to use LuckPerms commands by default.If LuckPerms should rate-limit command executions.static final ConfigKey<net.luckperms.api.context.ContextSatisfyMode> The default contexts satisfy modestatic final ConfigKey<StorageCredentials> The database settings, username, password, etc for use by any databaseIf LuckPerms should produce extra logging output when it handles logins.If LuckPerms should prevent bulkupdate operations.If LuckPerms commands are disabled for the server consoleIf LuckPerms commands are disabled for playersDisabled context calculatorsA set of disabled contextsIf the editor key should be generated lazily (only when needed)static final ConfigKey<net.luckperms.api.query.QueryOptions> The default global contexts instanceThe group name rewrites mapThe configured group weightingsstatic final ConfigKey<TraversalAlgorithm> The algorithm LuckPerms should use when traversing the "inheritance tree"If the owner of an integrated server should automatically bypass all permission checks.If log notifications are enabledDefines a list of log entries which should not be sent as notifications to users.If log should be posted synchronously to storage/messaging in commandsThe name of the messaging service in use, or "none" if not enabledstatic final ConfigKey<net.luckperms.api.query.meta.MetaValueSelector> The meta value selectorThe prefix for any MongoDB collectionsMongoDB ClientConnectionURI to override default connection optionsThe address of the nats serverIf nats messaging is enabledThe password in use by the nats server, or an empty string if there is no passwordIf the nats connection should use SSLThe username to connect with, or an empty string if it should use defaultIf server operators should be enabled.If a final sort according to "inheritance rules" should be performed after the traversal algorithm has resolved the inheritance treestatic final ConfigKey<net.luckperms.api.metastacking.MetaStackDefinition> Creates a new prefix MetaStack element based upon the configured values.If set to false, the plugin will allow a Users primary group to be removed with the 'parent remove' command, and will set their primary group back to default.static final ConfigKey<Function<User, PrimaryGroupHolder>> A function to create primary group holder instances based upon thePRIMARY_GROUP_CALCULATION_METHODsetting.How primary groups should be calculated.If LuckPerms should push logging entries to connected servers via the messaging serviceThe address of the rabbitmq serverIf rabbitmq messaging is enabledThe password in use by the rabbitmq server, or an empty string if there is no passwordThe username in use by the rabbitmq serverThe virtual host to be used by the rabbitmq serverIf the plugin is in read-only mode for the server consoleIf the plugin is in read-only mode for playersThe address of the redis serverThe addresses of the redis servers (only for redis clusters)If redis messaging is enabledThe password in use by the redis server, or an empty string if there is no passwordIf the redis connection should use SSLThe username to connect with, or an empty string if it should use defaultIf LuckPerms should attempt to register "Brigadier" command list data for its commands.If the plugin should check whether senders are a member of a given group before they're able to edit the groups permissions or add/remove it from other users.If LuckPerms should attempt to resolve Vanilla command target selectors for LP commands.The REST storage auth keyThe REST storage URLThe name of the serverIf LuckPerms should not require users to confirm bulkupdate operations.If split storage is being usedstatic final ConfigKey<Map<SplitStorageType, StorageType>> The options for split storageThe prefix for any SQL tablesstatic final ConfigKey<StorageType> The name of the storage method being usedstatic final ConfigKey<net.luckperms.api.metastacking.MetaStackDefinition> Creates a new suffix MetaStack element based upon the configured values.How many minutes to wait between syncs.static final ConfigKey<net.luckperms.api.model.data.TemporaryNodeMergeStrategy> Controls how temporary add commands should behaveThe URL of the tree viewerIf LuckPerms should update the list of commands sent to the client when permissions are changed.If the plugin should check for "extra" permissions with users run LP commands# If the servers own UUID cache/lookup facility should be used when there is no record for a player in the LuckPerms cache.If the vault server option should be usedIf LuckPerms should use the 'display name' of a group when returning groups in Vault API calls.If any worlds provided with Vault lookups should be ignoredIf Vault should apply global permissionsControls which group LuckPerms should use for NPC players when handling Vault requestsControls how LuckPerms should consider the OP status of NPC players when handing Vault requestsThe name of the server to use for Vault.If Vault lookups for offline players on the main server thread should be enabledThe URL of the verbose viewerIf storage files should be monitored for changesThe URL of the web editorstatic final ConfigKey<WorldNameRewriter> The world rewrites map -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()static booleanshouldCensorValue(String path) Check if the value at the given path should be censored in console/log output
-
Field Details
-
SERVER
-
SYNC_TIME
-
GLOBAL_QUERY_OPTIONS
The default global contexts instance -
CONTEXT_SATISFY_MODE
The default contexts satisfy mode -
DISABLED_CONTEXTS
-
USE_SERVER_UUID_CACHE
-
ALLOW_INVALID_USERNAMES
-
SKIP_BULKUPDATE_CONFIRMATION
-
DISABLE_BULKUPDATE
-
DEBUG_LOGINS
-
CANCEL_FAILED_LOGINS
-
UPDATE_CLIENT_COMMAND_LIST
-
REGISTER_COMMAND_LIST_DATA
-
RESOLVE_COMMAND_SELECTORS
-
TEMPORARY_ADD_BEHAVIOUR
public static final ConfigKey<net.luckperms.api.model.data.TemporaryNodeMergeStrategy> TEMPORARY_ADD_BEHAVIOURControls how temporary add commands should behave -
PRIMARY_GROUP_CALCULATION_METHOD
-
PRIMARY_GROUP_CALCULATION
A function to create primary group holder instances based upon thePRIMARY_GROUP_CALCULATION_METHODsetting. -
PREVENT_PRIMARY_GROUP_REMOVAL
-
USE_ARGUMENT_BASED_COMMAND_PERMISSIONS
-
REQUIRE_SENDER_GROUP_MEMBERSHIP_TO_MODIFY
-
READ_ONLY_MODE_PLAYERS
-
READ_ONLY_MODE_CONSOLE
-
DISABLE_LUCKPERMS_COMMANDS_PLAYERS
-
DISABLE_LUCKPERMS_COMMANDS_CONSOLE
-
APPLYING_WILDCARDS
-
APPLYING_WILDCARDS_SPONGE
-
APPLY_DEFAULT_NEGATIONS_BEFORE_WILDCARDS
-
APPLYING_REGEX
-
APPLYING_SHORTHAND
-
APPLY_BUKKIT_CHILD_PERMISSIONS
-
APPLY_BUKKIT_DEFAULT_PERMISSIONS
-
APPLY_BUKKIT_ATTACHMENT_PERMISSIONS
-
APPLY_NUKKIT_CHILD_PERMISSIONS
-
APPLY_NUKKIT_DEFAULT_PERMISSIONS
-
APPLY_NUKKIT_ATTACHMENT_PERMISSIONS
-
APPLY_BUNGEE_CONFIG_PERMISSIONS
-
APPLY_SPONGE_DEFAULT_SUBJECTS
-
INHERITANCE_TRAVERSAL_ALGORITHM
The algorithm LuckPerms should use when traversing the "inheritance tree" -
POST_TRAVERSAL_INHERITANCE_SORT
-
META_VALUE_SELECTOR
The meta value selector -
GROUP_WEIGHTS
-
PREFIX_FORMATTING_OPTIONS
public static final ConfigKey<net.luckperms.api.metastacking.MetaStackDefinition> PREFIX_FORMATTING_OPTIONSCreates a new prefix MetaStack element based upon the configured values. -
SUFFIX_FORMATTING_OPTIONS
public static final ConfigKey<net.luckperms.api.metastacking.MetaStackDefinition> SUFFIX_FORMATTING_OPTIONSCreates a new suffix MetaStack element based upon the configured values. -
LOG_NOTIFY
-
LOG_NOTIFY_FILTERED_DESCRIPTIONS
-
LOG_SYNCHRONOUSLY_IN_COMMANDS
-
AUTO_INSTALL_TRANSLATIONS
-
AUTO_OP
-
OPS_ENABLED
-
COMMANDS_ALLOW_OP
-
COMMANDS_RATE_LIMIT
-
VAULT_UNSAFE_LOOKUPS
-
VAULT_GROUP_USE_DISPLAYNAMES
-
VAULT_NPC_GROUP
-
VAULT_NPC_OP_STATUS
-
USE_VAULT_SERVER
-
VAULT_SERVER
-
VAULT_INCLUDING_GLOBAL
-
VAULT_IGNORE_WORLD
-
INTEGRATED_SERVER_OWNER_BYPASSES_CHECKS
-
DISABLED_CONTEXT_CALCULATORS
-
WORLD_REWRITES
The world rewrites map -
GROUP_NAME_REWRITES
-
DATABASE_VALUES
The database settings, username, password, etc for use by any database -
SQL_TABLE_PREFIX
-
MONGODB_COLLECTION_PREFIX
-
MONGODB_CONNECTION_URI
-
REST_STORAGE_URL
-
REST_STORAGE_AUTH_KEY
-
STORAGE_METHOD
The name of the storage method being used -
WATCH_FILES
-
SPLIT_STORAGE
-
SPLIT_STORAGE_OPTIONS
The options for split storage -
MESSAGING_SERVICE
-
AUTO_PUSH_UPDATES
-
PUSH_LOG_ENTRIES
-
BROADCAST_RECEIVED_LOG_ENTRIES
-
REDIS_ENABLED
-
REDIS_ADDRESS
-
REDIS_ADDRESSES
-
REDIS_USERNAME
-
REDIS_PASSWORD
-
REDIS_SSL
-
NATS_ENABLED
-
NATS_ADDRESS
-
NATS_USERNAME
-
NATS_PASSWORD
-
NATS_SSL
-
RABBITMQ_ENABLED
-
RABBITMQ_ADDRESS
-
RABBITMQ_VIRTUAL_HOST
-
RABBITMQ_USERNAME
-
RABBITMQ_PASSWORD
-
EDITOR_LAZILY_GENERATE_KEY
-
BYTEBIN_URL
-
BYTESOCKS_HOST
-
BYTESOCKS_USE_TLS
-
WEB_EDITOR_URL_PATTERN
-
VERBOSE_VIEWER_URL_PATTERN
-
TREE_VIEWER_URL_PATTERN
-
-
Method Details
-
getKeys
-
shouldCensorValue
Check if the value at the given path should be censored in console/log output- Parameters:
path- the path- Returns:
- true if the value should be censored
-