From 7c651e20106938af20b994569248d6b7e5e2b4bc Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 5 Dec 2021 03:12:45 +0100 Subject: [PATCH] fix: vane-permissions will not remove any permissions defaults anymore, except when explicitly requested. (fixes #66) This is to ease installation for the majority of the userbase. --- .../main/java/org/oddlama/vane/permissions/Permissions.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vane-permissions/src/main/java/org/oddlama/vane/permissions/Permissions.java b/vane-permissions/src/main/java/org/oddlama/vane/permissions/Permissions.java index f1e8f8977..dcb7fade6 100644 --- a/vane-permissions/src/main/java/org/oddlama/vane/permissions/Permissions.java +++ b/vane-permissions/src/main/java/org/oddlama/vane/permissions/Permissions.java @@ -32,7 +32,10 @@ public class Permissions extends Module { // Configuration - @ConfigBoolean(def = true, desc = "Remove all default permissions to start with a clean preset.") + @ConfigBoolean( + def = false, + desc = "Remove all default permissions from ANY SOURCE (including other plugins and minecraft permissions) to start with a clean preset. This will allow you to exactly set which player have which permissions instead of having to resort to volatile stateful changes like negative permissions. This will result in OPped players to lose access to commands, if not explicitly added back via permissions. The wildcard permissions can be viewed using `perms list permissions`. The wildcard permissions `minecraft` and `craftbukkit` may be especially useful." + ) public boolean config_remove_defaults; @ConfigString(