From e7a210dc06266c9760aa28c83d29aca10353d143 Mon Sep 17 00:00:00 2001 From: Luck Date: Fri, 16 Sep 2016 22:09:55 +0100 Subject: [PATCH] Update default configs --- bukkit/src/main/resources/config.yml | 2 +- bungee/src/main/resources/config.yml | 5 ++++- common/src/main/java/me/lucko/luckperms/utils/Node.java | 1 + sponge/src/main/resources/luckperms.conf | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bukkit/src/main/resources/config.yml b/bukkit/src/main/resources/config.yml index 4ee1b13b3..5588efae0 100644 --- a/bukkit/src/main/resources/config.yml +++ b/bukkit/src/main/resources/config.yml @@ -30,7 +30,7 @@ online-mode: true # If the plugin should apply wildcard permissions. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching -# the wildcard. This will only work for plugins that define all of their permissions to the server. +# the wildcard. apply-wildcards: true # If the plugin should parse regex permissions. diff --git a/bungee/src/main/resources/config.yml b/bungee/src/main/resources/config.yml index fca6d52c7..e0d65651b 100644 --- a/bungee/src/main/resources/config.yml +++ b/bungee/src/main/resources/config.yml @@ -30,7 +30,7 @@ online-mode: true # If the plugin should apply wildcard permissions. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching -# the wildcard. This will only work for plugins that define all of their permissions to the server. +# the wildcard. apply-wildcards: true # If the plugin should parse regex permissions. @@ -46,6 +46,9 @@ apply-shorthand: true # If the plugin should send log notifications to users whenever permissions are modified. log-notify: true +# If LuckPerms should print to console every time a plugin checks if a player has a permission +debug-permission-checks: false + # Which storage method the plugin should use. # Currently supported: mysql, sqlite, h2, json, yaml, mongodb # Fill out connection info below if you're using MySQL or MongoDB diff --git a/common/src/main/java/me/lucko/luckperms/utils/Node.java b/common/src/main/java/me/lucko/luckperms/utils/Node.java index 4ffa8bedf..712b6b861 100644 --- a/common/src/main/java/me/lucko/luckperms/utils/Node.java +++ b/common/src/main/java/me/lucko/luckperms/utils/Node.java @@ -277,6 +277,7 @@ public class Node implements me.lucko.luckperms.api.Node { return false; } + // TODO move this method to resolve time @Override public List resolveWildcard(List possibleNodes) { if (!isWildcard() || possibleNodes == null) { diff --git a/sponge/src/main/resources/luckperms.conf b/sponge/src/main/resources/luckperms.conf index d49a51aaa..e2ba1114f 100644 --- a/sponge/src/main/resources/luckperms.conf +++ b/sponge/src/main/resources/luckperms.conf @@ -26,7 +26,7 @@ online-mode=true # If the plugin should apply wildcard permissions. # If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered permissions matching -# the wildcard. This will only work for plugins that define all of their permissions to the server. +# the wildcard. apply-wildcards=true # If the plugin should parse regex permissions.