Package me.lucko.luckperms.common.config
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.Disabled 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.The 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 serverThe 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 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
The name of the server -
SYNC_TIME
How many minutes to wait between syncs. A value invalid input: '<'= 0 will disable syncing. -
GLOBAL_QUERY_OPTIONS
The default global contexts instance -
CONTEXT_SATISFY_MODE
The default contexts satisfy mode -
DISABLED_CONTEXTS
A set of disabled contexts -
USE_SERVER_UUID_CACHE
# If the servers own UUID cache/lookup facility should be used when there is no record for a player in the LuckPerms cache. -
ALLOW_INVALID_USERNAMES
If LuckPerms should allow usernames with non alphanumeric characters. -
SKIP_BULKUPDATE_CONFIRMATION
If LuckPerms should not require users to confirm bulkupdate operations. -
DISABLE_BULKUPDATE
If LuckPerms should prevent bulkupdate operations. -
DEBUG_LOGINS
If LuckPerms should produce extra logging output when it handles logins. -
CANCEL_FAILED_LOGINS
If LP should cancel login attempts for players whose permission data could not be loaded. -
UPDATE_CLIENT_COMMAND_LIST
If LuckPerms should update the list of commands sent to the client when permissions are changed. -
REGISTER_COMMAND_LIST_DATA
If LuckPerms should attempt to register "Brigadier" command list data for its commands. -
RESOLVE_COMMAND_SELECTORS
If LuckPerms should attempt to resolve Vanilla command target selectors for LP commands. -
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
How primary groups should be calculated. -
PRIMARY_GROUP_CALCULATION
A function to create primary group holder instances based upon thePRIMARY_GROUP_CALCULATION_METHODsetting. -
PREVENT_PRIMARY_GROUP_REMOVAL
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. -
USE_ARGUMENT_BASED_COMMAND_PERMISSIONS
If the plugin should check for "extra" permissions with users run LP commands -
REQUIRE_SENDER_GROUP_MEMBERSHIP_TO_MODIFY
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. -
APPLYING_WILDCARDS
If wildcards are being applied -
APPLYING_WILDCARDS_SPONGE
If Sponge's implicit permission inheritance system should be applied -
APPLY_DEFAULT_NEGATIONS_BEFORE_WILDCARDS
If default negated permissions should be applied before wildcards. -
APPLYING_REGEX
If regex permissions are being applied -
APPLYING_SHORTHAND
If shorthand permissions are being applied -
APPLY_BUKKIT_CHILD_PERMISSIONS
If Bukkit child permissions are being applied. This setting is ignored on other platforms. -
APPLY_BUKKIT_DEFAULT_PERMISSIONS
If Bukkit default permissions are being applied. This setting is ignored on other platforms. -
APPLY_BUKKIT_ATTACHMENT_PERMISSIONS
If Bukkit attachment permissions are being applied. This setting is ignored on other platforms. -
APPLY_NUKKIT_CHILD_PERMISSIONS
If Nukkit child permissions are being applied. This setting is ignored on other platforms. -
APPLY_NUKKIT_DEFAULT_PERMISSIONS
If Nukkit default permissions are being applied. This setting is ignored on other platforms. -
APPLY_NUKKIT_ATTACHMENT_PERMISSIONS
If Nukkit attachment permissions are being applied. This setting is ignored on other platforms. -
APPLY_BUNGEE_CONFIG_PERMISSIONS
If BungeeCord configured permissions are being applied. This setting is ignored on other platforms. -
APPLY_SPONGE_DEFAULT_SUBJECTS
If Sponge default subjects should be applied -
INHERITANCE_TRAVERSAL_ALGORITHM
The algorithm LuckPerms should use when traversing the "inheritance tree" -
POST_TRAVERSAL_INHERITANCE_SORT
If a final sort according to "inheritance rules" should be performed after the traversal algorithm has resolved the inheritance tree -
META_VALUE_SELECTOR
The meta value selector -
GROUP_WEIGHTS
The configured group weightings -
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
If log notifications are enabled -
LOG_NOTIFY_FILTERED_DESCRIPTIONS
Defines a list of log entries which should not be sent as notifications to users. -
AUTO_INSTALL_TRANSLATIONS
If LuckPerms should automatically install translation bundles and periodically update them. -
AUTO_OP
If auto op is enabled. Only used by the Bukkit platform. -
OPS_ENABLED
If server operators should be enabled. Only used by the Bukkit platform. -
COMMANDS_ALLOW_OP
If server operators should be able to use LuckPerms commands by default. Only used by the Bukkit platform. -
COMMANDS_RATE_LIMIT
If LuckPerms should rate-limit command executions. -
VAULT_UNSAFE_LOOKUPS
If Vault lookups for offline players on the main server thread should be enabled -
VAULT_GROUP_USE_DISPLAYNAMES
If LuckPerms should use the 'display name' of a group when returning groups in Vault API calls. -
VAULT_NPC_GROUP
Controls which group LuckPerms should use for NPC players when handling Vault requests -
VAULT_NPC_OP_STATUS
Controls how LuckPerms should consider the OP status of NPC players when handing Vault requests -
USE_VAULT_SERVER
If the vault server option should be used -
VAULT_SERVER
The name of the server to use for Vault. -
VAULT_INCLUDING_GLOBAL
If Vault should apply global permissions -
VAULT_IGNORE_WORLD
If any worlds provided with Vault lookups should be ignored -
INTEGRATED_SERVER_OWNER_BYPASSES_CHECKS
If the owner of an integrated server should automatically bypass all permission checks. On fabric and forge, this only applies on an Integrated Server. -
DISABLED_CONTEXT_CALCULATORS
Disabled context calculators -
WORLD_REWRITES
The world rewrites map -
GROUP_NAME_REWRITES
The group name rewrites map -
DATABASE_VALUES
The database settings, username, password, etc for use by any database -
SQL_TABLE_PREFIX
The prefix for any SQL tables -
MONGODB_COLLECTION_PREFIX
The prefix for any MongoDB collections -
MONGODB_CONNECTION_URI
MongoDB ClientConnectionURI to override default connection options -
STORAGE_METHOD
The name of the storage method being used -
WATCH_FILES
If storage files should be monitored for changes -
SPLIT_STORAGE
If split storage is being used -
SPLIT_STORAGE_OPTIONS
The options for split storage -
MESSAGING_SERVICE
The name of the messaging service in use, or "none" if not enabled -
AUTO_PUSH_UPDATES
If updates should be automatically pushed by the messaging service -
PUSH_LOG_ENTRIES
If LuckPerms should push logging entries to connected servers via the messaging service -
BROADCAST_RECEIVED_LOG_ENTRIES
If LuckPerms should broadcast received logging entries to players on this platform -
REDIS_ENABLED
If redis messaging is enabled -
REDIS_ADDRESS
The address of the redis server -
REDIS_ADDRESSES
The addresses of the redis servers (only for redis clusters) -
REDIS_USERNAME
The username to connect with, or an empty string if it should use default -
REDIS_PASSWORD
The password in use by the redis server, or an empty string if there is no password -
REDIS_SSL
If the redis connection should use SSL -
NATS_ENABLED
If nats messaging is enabled -
NATS_ADDRESS
The address of the nats server -
NATS_USERNAME
The username to connect with, or an empty string if it should use default -
NATS_PASSWORD
The password in use by the nats server, or an empty string if there is no password -
NATS_SSL
If the nats connection should use SSL -
RABBITMQ_ENABLED
If rabbitmq messaging is enabled -
RABBITMQ_ADDRESS
The address of the rabbitmq server -
RABBITMQ_VIRTUAL_HOST
The virtual host to be used by the rabbitmq server -
RABBITMQ_USERNAME
The username in use by the rabbitmq server -
RABBITMQ_PASSWORD
The password in use by the rabbitmq server, or an empty string if there is no password -
EDITOR_LAZILY_GENERATE_KEY
If the editor key should be generated lazily (only when needed) -
BYTEBIN_URL
The URL of the bytebin instance used to upload data -
BYTESOCKS_HOST
The host of the bytesocks instance used to communicate with -
BYTESOCKS_USE_TLS
If TLS (https/wss) should be used when connecting to bytesocks -
WEB_EDITOR_URL_PATTERN
The URL of the web editor -
VERBOSE_VIEWER_URL_PATTERN
The URL of the verbose viewer -
TREE_VIEWER_URL_PATTERN
The URL of the tree viewer
-
-
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
-