diff options
Diffstat (limited to 'EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions')
18 files changed, 18 insertions, 18 deletions
diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java index 442729f16..8c22dabdc 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java @@ -21,7 +21,7 @@ public class Commandmangadd extends EssentialsCommand throw new NotEnoughArgumentsException(); } final String group = args[0]; - String command = "/permissions g:" + group + " create"; + String command = "permissions g:" + group + " create"; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddi.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddi.java index f2eb55ee4..760b5c81f 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddi.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddi.java @@ -22,7 +22,7 @@ public class Commandmangaddi extends EssentialsCommand } final String target = args[0]; final String group = args[1]; - String command = "/permissions g:"+target+" parents add "+group; + String command = "permissions g:"+target+" parents add "+group; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddp.java index e57628c57..e83de4e50 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddp.java @@ -22,7 +22,7 @@ public class Commandmangaddp extends EssentialsCommand } final String target = args[0]; final String perm = args[1]; - String command = "/permissions g:"+target+" perms add "+perm; + String command = "permissions g:"+target+" perms add "+perm; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangcheckp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangcheckp.java index 106dcd791..1152d1a0b 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangcheckp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangcheckp.java @@ -22,7 +22,7 @@ public class Commandmangcheckp extends EssentialsCommand } final String target = args[0]; final String perm = args[1]; - String command = "/permissions g:"+target+" has "+perm; + String command = "permissions g:"+target+" has "+perm; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdel.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdel.java index 52fdc3da2..24ffe2307 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdel.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdel.java @@ -21,7 +21,7 @@ public class Commandmangdel extends EssentialsCommand throw new NotEnoughArgumentsException(); } final String group = args[0]; - String command = "/permissions g:"+group+" delete"; + String command = "permissions g:"+group+" delete"; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdeli.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdeli.java index 9b3bc3679..aea296735 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdeli.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdeli.java @@ -22,7 +22,7 @@ public class Commandmangdeli extends EssentialsCommand } final String target = args[0]; final String group = args[1]; - String command = "/permissions g:"+target+" parents remove "+group; + String command = "permissions g:"+target+" parents remove "+group; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdelp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdelp.java index de4ce8a7e..ef1dd4207 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdelp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdelp.java @@ -22,7 +22,7 @@ public class Commandmangdelp extends EssentialsCommand } final String target = args[0]; final String perm = args[1]; - String command = "/permissions g:"+target+" perms remove "+perm; + String command = "permissions g:"+target+" perms remove "+perm; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanglistp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanglistp.java index 2e775c147..715f42774 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanglistp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanglistp.java @@ -21,7 +21,7 @@ public class Commandmanglistp extends EssentialsCommand throw new NotEnoughArgumentsException(); } final String target = args[0]; - String command = "/permissions g:"+target+" perms list"; + String command = "permissions g:"+target+" perms list"; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanload.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanload.java index 3e1803233..390cb78eb 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanload.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanload.java @@ -21,7 +21,7 @@ public class Commandmanload extends EssentialsCommand { world = args[0]; } - String command = "/permissions -reload "+world; + String command = "permissions -reload "+world; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuadd.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuadd.java index 65a4df759..a63a1a36b 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuadd.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuadd.java @@ -23,7 +23,7 @@ public class Commandmanuadd extends EssentialsCommand final String player = args[0]; final String group = args[1]; //TODO: Make this command add a player if it doesnt exist /permissions +player+ create - String command = "/permissions "+player+" parents add "+group; + String command = "permissions "+player+" parents add "+group; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddp.java index 676631c63..3d3d67c72 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddp.java @@ -22,7 +22,7 @@ public class Commandmanuaddp extends EssentialsCommand } final String player = args[0]; final String perm = args[1]; - String command = "/permissions "+player+" perms add "+perm; + String command = "permissions "+player+" perms add "+perm; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddsub.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddsub.java index ee2cd3147..60d1980af 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddsub.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddsub.java @@ -22,7 +22,7 @@ public class Commandmanuaddsub extends EssentialsCommand } final String player = args[0]; final String group = args[1]; - String command = "/permissions "+player+" parents add "+group; + String command = "permissions "+player+" parents add "+group; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java index df713fc31..634b447c7 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java @@ -22,7 +22,7 @@ public class Commandmanucheckp extends EssentialsCommand } final String player = args[0]; final String perm = args[1]; - String command = "/permissions "+player+" has "+perm; + String command = "permissions "+player+" has "+perm; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudel.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudel.java index 9e117ac21..72c8fc2af 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudel.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudel.java @@ -21,7 +21,7 @@ public class Commandmanudel extends EssentialsCommand throw new NotEnoughArgumentsException(); } final String player = args[0]; - String command = "/permissions "+player+" delete"; + String command = "permissions "+player+" delete"; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelp.java index 4a35f628b..01adf97b2 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelp.java @@ -22,7 +22,7 @@ public class Commandmanudelp extends EssentialsCommand } final String player = args[0]; final String perm = args[1]; - String command = "/permissions "+player+" perms remove "+perm; + String command = "permissions "+player+" perms remove "+perm; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelsub.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelsub.java index 4640c68b1..1a1ae2a6d 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelsub.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelsub.java @@ -22,7 +22,7 @@ public class Commandmanudelsub extends EssentialsCommand } final String player = args[0]; final String group = args[1]; - String command = "/permissions "+player+" parents remove "+group; + String command = "permissions "+player+" parents remove "+group; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanulistp.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanulistp.java index f5d4a484e..f809f3c61 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanulistp.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanulistp.java @@ -21,7 +21,7 @@ public class Commandmanulistp extends EssentialsCommand throw new NotEnoughArgumentsException(); } final String player = args[0]; - String command = "/permissions "+player+" perms list"; + String command = "permissions "+player+" perms list"; sender.sendMessage(commandLabel + " is deprecated. Use " + command + " instead."); ess.getServer().dispatchCommand(sender, command); } diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java index e3c3f1dd6..a9651cd31 100644 --- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java +++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java @@ -35,7 +35,7 @@ public class EssentialsPermissionsCommands extends JavaPlugin @Override public boolean onCommand(final CommandSender sender, final Command command, final String label, final String[] args) { - return Essentials.getStatic().onCommandEssentials(sender, command, label, args, EssentialsPermissionsCommands.class.getClassLoader(), "com.earth2me.essentials.permissions.Command"); + return Essentials.getStatic().onCommandEssentials(sender, command, label, args, EssentialsPermissionsCommands.class.getClassLoader(), "com.earth2me.essentials.permissions.Command", "groupmanager."); } @Override |