diff --git a/BuildConfigUpdater/BuildConfigUpdater.iml b/BuildConfigUpdater/BuildConfigUpdater.iml
index f14440c..274b3de 100644
--- a/BuildConfigUpdater/BuildConfigUpdater.iml
+++ b/BuildConfigUpdater/BuildConfigUpdater.iml
@@ -12,7 +12,6 @@
-
diff --git a/ButtonCore/ButtonCore (1) (com.github.TBMCPlugins.ButtonCore).iml b/ButtonCore/ButtonCore (1) (com.github.TBMCPlugins.ButtonCore).iml
index 3c34336..77fac1e 100644
--- a/ButtonCore/ButtonCore (1) (com.github.TBMCPlugins.ButtonCore).iml
+++ b/ButtonCore/ButtonCore (1) (com.github.TBMCPlugins.ButtonCore).iml
@@ -1,5 +1,5 @@
-
+
diff --git a/ButtonCore/src/main/java/buttondevteam/lib/chat/Command2.java b/ButtonCore/src/main/java/buttondevteam/lib/chat/Command2.java
index bc10fc7..79c8556 100644
--- a/ButtonCore/src/main/java/buttondevteam/lib/chat/Command2.java
+++ b/ButtonCore/src/main/java/buttondevteam/lib/chat/Command2.java
@@ -46,10 +46,17 @@ public abstract class Command2
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Subcommand {
+ String MOD_GROUP = "mod";
/**
* Help text to show players. A usage message will be also shown below it.
*/
String[] helpText() default {};
+
+ /**
+ * The main permission which allows using this command (individual access can be still granted with "thorpe.command.X").
+ * Used to be "tbmc.admin"
+ */
+ String permGroup() default ""; //TODO
}
@Target(ElementType.PARAMETER)
diff --git a/ButtonCore/src/main/java/buttondevteam/lib/chat/ICommand2MC.java b/ButtonCore/src/main/java/buttondevteam/lib/chat/ICommand2MC.java
index 4ad997b..566285d 100644
--- a/ButtonCore/src/main/java/buttondevteam/lib/chat/ICommand2MC.java
+++ b/ButtonCore/src/main/java/buttondevteam/lib/chat/ICommand2MC.java
@@ -2,7 +2,7 @@ package buttondevteam.lib.chat;
import buttondevteam.lib.architecture.ButtonPlugin;
-public class ICommand2MC extends ICommand2 {
+public abstract class ICommand2MC extends ICommand2 {
public ICommand2MC() {
super(ButtonPlugin.getCommand2MC());
}