Implement special handling in the LP Vault implementation for NPC players (#1470)

This commit is contained in:
Luck
2019-04-01 15:09:58 +01:00
Unverified
parent c7a0d7026c
commit 62ca2d9c79
4 changed files with 84 additions and 23 deletions
@@ -358,6 +358,16 @@ public final class ConfigKeys {
*/
public static final ConfigKey<Boolean> VAULT_UNSAFE_LOOKUPS = booleanKey("vault-unsafe-lookups", false);
/**
* Controls which group LuckPerms should use for NPC players when handling Vault requests
*/
public static final ConfigKey<String> VAULT_NPC_GROUP = stringKey("vault-npc-group", "default");
/**
* Controls how LuckPerms should consider the OP status of NPC players when handing Vault requests
*/
public static final ConfigKey<Boolean> VAULT_NPC_OP_STATUS = booleanKey("vault-npc-op-status", false);
/**
* If the vault server option should be used
*/