summaryrefslogtreecommitdiffstats
path: root/Essentials/src/net/ess3/settings/commands/Help.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/net/ess3/settings/commands/Help.java')
-rw-r--r--Essentials/src/net/ess3/settings/commands/Help.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/Essentials/src/net/ess3/settings/commands/Help.java b/Essentials/src/net/ess3/settings/commands/Help.java
new file mode 100644
index 000000000..92d5774c7
--- /dev/null
+++ b/Essentials/src/net/ess3/settings/commands/Help.java
@@ -0,0 +1,23 @@
+package net.ess3.settings.commands;
+
+import net.ess3.storage.Comment;
+import net.ess3.storage.StorageObject;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+
+@Data
+@EqualsAndHashCode(callSuper = false)
+public class Help implements StorageObject
+{
+ @Comment("Show other plugins commands in help")
+ private boolean showNonEssCommandsInHelp = true;
+ @Comment(
+ {
+ "Hide plugins which don't give a permission in their plugin.yml for each command.",
+ "You can override a true value here for a single plugin by adding a permission to a user/group.",
+ "The individual permission is: essentials.help.<plugin>, anyone with essentials.* or '*' will see all help this setting reguardless.",
+ "You can use negative permissions to remove access to just a single plugins help if the following is enabled."
+ })
+ private boolean hidePermissionlessCommands = true;
+}