summaryrefslogtreecommitdiffstats
path: root/EssentialsPermissionsCommands/src
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-11-30 23:51:41 +0100
committersnowleo <schneeleo@gmail.com>2011-11-30 23:51:41 +0100
commit40220960f5286d82b43f31192594488fb505ee09 (patch)
treebfcca57484038fbc59915405b433671c44737c86 /EssentialsPermissionsCommands/src
parent3c9f0db3d49b314dcd6ac2005205940e805b3e0b (diff)
downloadEssentials-40220960f5286d82b43f31192594488fb505ee09.tar
Essentials-40220960f5286d82b43f31192594488fb505ee09.tar.gz
Essentials-40220960f5286d82b43f31192594488fb505ee09.tar.lz
Essentials-40220960f5286d82b43f31192594488fb505ee09.tar.xz
Essentials-40220960f5286d82b43f31192594488fb505ee09.zip
We don't need that anymore.
Diffstat (limited to 'EssentialsPermissionsCommands/src')
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java30
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddi.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddp.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangcheckp.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdel.java30
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdeli.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdelp.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanglistp.java30
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanload.java30
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuadd.java32
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddp.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddsub.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudel.java30
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelp.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelsub.java31
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanulistp.java30
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java57
-rw-r--r--EssentialsPermissionsCommands/src/plugin.yml166
19 files changed, 0 insertions, 745 deletions
diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java
deleted file mode 100644
index 8c22dabdc..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangadd.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmangadd extends EssentialsCommand
-{
- public Commandmangadd()
- {
- super("mangadd");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 1)
- {
- throw new NotEnoughArgumentsException();
- }
- final String group = args[0];
- 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
deleted file mode 100644
index 760b5c81f..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddi.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmangaddi extends EssentialsCommand
-{
- public Commandmangaddi()
- {
- super("mangaddi");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String target = args[0];
- final String group = args[1];
- 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
deleted file mode 100644
index e83de4e50..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangaddp.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmangaddp extends EssentialsCommand
-{
- public Commandmangaddp()
- {
- super("mangaddp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String target = args[0];
- final String perm = args[1];
- 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
deleted file mode 100644
index 1152d1a0b..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangcheckp.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmangcheckp extends EssentialsCommand
-{
- public Commandmangcheckp()
- {
- super("mangcheckp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String target = args[0];
- final String perm = args[1];
- 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
deleted file mode 100644
index 24ffe2307..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdel.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmangdel extends EssentialsCommand
-{
- public Commandmangdel()
- {
- super("mangdel");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 1)
- {
- throw new NotEnoughArgumentsException();
- }
- final String group = args[0];
- 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
deleted file mode 100644
index aea296735..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdeli.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmangdeli extends EssentialsCommand
-{
- public Commandmangdeli()
- {
- super("mangdeli");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String target = args[0];
- final String group = args[1];
- 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
deleted file mode 100644
index ef1dd4207..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmangdelp.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmangdelp extends EssentialsCommand
-{
- public Commandmangdelp()
- {
- super("mangdelp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String target = args[0];
- final String perm = args[1];
- 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
deleted file mode 100644
index 715f42774..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanglistp.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanglistp extends EssentialsCommand
-{
- public Commandmanglistp()
- {
- super("manglistp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 1)
- {
- throw new NotEnoughArgumentsException();
- }
- final String target = args[0];
- 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
deleted file mode 100644
index 390cb78eb..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanload.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanload extends EssentialsCommand
-{
- public Commandmanload()
- {
- super("manload");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- String world = "all";
- if (args.length > 1)
- {
- world = args[0];
- }
- 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
deleted file mode 100644
index a63a1a36b..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuadd.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanuadd extends EssentialsCommand
-{
- public Commandmanuadd()
- {
- super("manuadd");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- 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;
- 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
deleted file mode 100644
index 3d3d67c72..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddp.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanuaddp extends EssentialsCommand
-{
- public Commandmanuaddp()
- {
- super("manuaddp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String player = args[0];
- final String perm = args[1];
- 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
deleted file mode 100644
index 60d1980af..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanuaddsub.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanuaddsub extends EssentialsCommand
-{
- public Commandmanuaddsub()
- {
- super("manuaddsub");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String player = args[0];
- final String group = args[1];
- 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
deleted file mode 100644
index 634b447c7..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanucheckp.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanucheckp extends EssentialsCommand
-{
- public Commandmanucheckp()
- {
- super("manucheckp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String player = args[0];
- final String perm = args[1];
- 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
deleted file mode 100644
index 72c8fc2af..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudel.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanudel extends EssentialsCommand
-{
- public Commandmanudel()
- {
- super("manudel");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 1)
- {
- throw new NotEnoughArgumentsException();
- }
- final String player = args[0];
- 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
deleted file mode 100644
index 01adf97b2..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelp.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanudelp extends EssentialsCommand
-{
- public Commandmanudelp()
- {
- super("manudelp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String player = args[0];
- final String perm = args[1];
- 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
deleted file mode 100644
index 1a1ae2a6d..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanudelsub.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanudelsub extends EssentialsCommand
-{
- public Commandmanudelsub()
- {
- super("manudelsub");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 2)
- {
- throw new NotEnoughArgumentsException();
- }
- final String player = args[0];
- final String group = args[1];
- 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
deleted file mode 100644
index f809f3c61..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/Commandmanulistp.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.commands.EssentialsCommand;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
-import org.bukkit.Server;
-import org.bukkit.command.CommandSender;
-
-
-public class Commandmanulistp extends EssentialsCommand
-{
- public Commandmanulistp()
- {
- super("manulistp");
- }
-
- @Override
- protected void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
- {
- if (args.length < 1)
- {
- throw new NotEnoughArgumentsException();
- }
- final String player = args[0];
- 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
deleted file mode 100644
index 14e9a117c..000000000
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package com.earth2me.essentials.permissions;
-
-import com.earth2me.essentials.IEssentials;
-import com.earth2me.essentials.Util;
-import com.nijiko.permissions.PermissionHandler;
-import com.nijikokun.bukkit.Permissions.Permissions;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-import org.bukkit.command.Command;
-import org.bukkit.command.CommandSender;
-import org.bukkit.plugin.Plugin;
-import org.bukkit.plugin.PluginManager;
-import org.bukkit.plugin.java.JavaPlugin;
-
-
-public class EssentialsPermissionsCommands extends JavaPlugin
-{
- private static PermissionHandler permissionHandler = null;
- private static final Logger LOGGER = Logger.getLogger("Minecraft");
- private IEssentials ess;
-
- public static PermissionHandler getPermissionHandler()
- {
- return permissionHandler;
- }
-
- @Override
- public void onEnable()
- {
- final PluginManager pluginManager = getServer().getPluginManager();
- final Plugin permissionsPlugin = pluginManager.getPlugin("Permissions");
-
- if (permissionsPlugin != null
- && permissionsPlugin.getDescription().getVersion().charAt(0) == '3')
- {
- permissionHandler = ((Permissions)permissionsPlugin).getHandler();
- }
- ess = (IEssentials)pluginManager.getPlugin("Essentials");
-
- if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion())) {
- LOGGER.log(Level.WARNING, Util.i18n("versionMismatchAll"));
- }
- LOGGER.info(Util.format("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), "essentials team"));
-
- }
-
- @Override
- public boolean onCommand(final CommandSender sender, final Command command, final String label, final String[] args)
- {
- return ess.onCommandEssentials(sender, command, label, args, EssentialsPermissionsCommands.class.getClassLoader(), "com.earth2me.essentials.permissions.Command", "groupmanager.");
- }
-
- @Override
- public void onDisable()
- {
- }
-}
diff --git a/EssentialsPermissionsCommands/src/plugin.yml b/EssentialsPermissionsCommands/src/plugin.yml
deleted file mode 100644
index a13023a5c..000000000
--- a/EssentialsPermissionsCommands/src/plugin.yml
+++ /dev/null
@@ -1,166 +0,0 @@
-# This determines the command prefix when there are conflicts (/name:home, /name:help, etc.)
-name: EssentialsPermissionsCommands
-main: com.earth2me.essentials.permissions.EssentialsPermissionsCommands
-# Note to developers: This next line cannot change, or the automatic versioning system will break.
-version: TeamCity
-website: http://www.earth2me.net:8001/
-description: Adds commands aliases to Permissions 3
-authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology]
-depend: [Permissions, Essentials]
-commands:
- manuadd:
- description: Move a player to desired group.(Adds to the file if not exists)
- usage: /<command> <player> <group>
- permission: groupmanager.manuadd
- manudel:
- description: Remove any user specific configuration. Make him default group.
- usage: /<command> <player>
- permission: groupmanager.manudel
- manuaddsub:
- description: Add a group to a player's subgroup list.
- usage: /<command> <player> <group>
- permission: groupmanager.manuaddsub
- manudelsub:
- description: Remove a group to a player's subgroup list.
- usage: /<command> <player> <group>
- permission: groupmanager.manudelsub
- mangadd:
- description: Add group to the system.
- usage: /<command> <group>
- permission: groupmanager.mangadd
- mangdel:
- description: Removes group from the system(all it's users become default)
- usage: /<command> <group>
- permission: groupmanager.mangdel
- manuaddp:
- description: Add permission diretly to the player.
- usage: /<command> <player> <permission>
- permission: groupmanager.manuaddp
- manudelp:
- description: Removes permission diretly from the player.
- usage: /<command> <player> <permission>
- permission: groupmanager.manudelp
- manulistp:
- description: List all permissions from a player.
- usage: /<command> <player>
- permission: groupmanager.manulistp
- manucheckp:
- description: Verify if user has a permission, and where it comes from.
- usage: /<command> <player> <permission>
- permission: groupmanager.manucheckp
- mangaddp:
- description: Add permission to a group.
- usage: /<command> <group> <permission>
- permission: groupmanager.mangaddp
- mangdelp:
- description: Removes permission from a group.
- usage: /<command> <group> <permission>
- permission: groupmanager.mangdelp
- manglistp:
- description: Lists all permissions from a group.
- usage: /<command> <group>
- permission: groupmanager.manglistp
- mangcheckp:
- description: Check if group has a permission, and where it comes from.
- usage: /<command> <group> <permission>
- permission: groupmanager.mangcheckp
- mangaddi:
- description: Add a group to another group inheritance list.
- usage: /<command> <group1> <group2>
- permission: groupmanager.mangaddi
- mangdeli:
- description: Remove a group from another group inheritance list.
- usage: /<command> <group1> <group2>
- permission: groupmanager.mangdeli
- manuaddv:
- description: Add, or replaces, a variable to a user (like prefix or suffix).
- usage: /<command> <user> <variable> <value>
- permission: groupmanager.manuaddv
- manudelv:
- description: Remove a variable from a user.
- usage: /<command> <user> <variable>
- permission: groupmanager.manudelv
- manulistv:
- description: List variables a user has (like prefix or suffix).
- usage: /<command> <user>
- permission: groupmanager.manulistv
- manucheckv:
- description: Verify a value of a variable of user, and where it comes from.
- usage: /<command> <user> <variable>
- permission: groupmanager.manucheckv
- mangaddv:
- description: Add, or replaces, a variable to a group (like prefix or suffix).
- usage: /<command> <group> <variable> <value>
- permission: groupmanager.mangaddv
- mangdelv:
- description: Remove a variable from a group.
- usage: /<command> <group> <variable>
- permission: groupmanager.mangdelv
- manglistv:
- description: List variables a group has (like prefix or suffix).
- usage: /<command> <group>
- permission: groupmanager.manglistv
- mangcheckv:
- description: Verify a value of a variable of group, and where it comes from.
- usage: /<command> <group> <variable>
- permission: groupmanager.mangcheckv
- manwhois:
- description: Tell the group that user belongs.
- usage: /<command> <player>
- permission: groupmanager.manwhois
- tempadd:
- description: Creates a temporary permission copy for that user.
- usage: /<command> <player>
- permission: groupmanager.tempadd
- tempdel:
- description: Remove the temporary permission copy for player.
- usage: /<command> <player>
- permission: groupmanager.tempdel
- templist:
- description: List players in overload-permissions mode made by /tempadd.
- usage: /<command>
- permission: groupmanager.templist
- tempdelall:
- description: Remove all overrides made by command /tempadd.
- usage: /<command>
- permission: groupmanager.tempdelall
- mansave:
- description: Save all permissions on file.
- usage: /<command>
- permission: groupmanager.mansave
- manload:
- description: Reload current world and config.yml. Or load given world.
- usage: /<command> [world]
- permission: groupmanager.manload
- listgroups:
- description: List the groups available.
- usage: /<command>
- permission: groupmanager.listgroups
- manpromote:
- description: Promote a player in the same heritage line to a higher rank.
- usage: /<command> <player> <group>
- permission: groupmanager.manpromote
- mandemote:
- description: Demote a player in the same heritage line to a lower rank.
- usage: /<command> <player> <group>
- permission: groupmanager.mandemote
- mantogglevalidate:
- description: Toggle on/off the validating if player is online.
- usage: /<command>
- permission: groupmanager.mantogglevalidate
- mantogglesave:
- description: Toggle on/ff the autosave.
- usage: /<command>
- permission: groupmanager.mantogglesave
- manworld:
- description: Prints the selected world name
- usage: /<command>
- permission: groupmanager.manworld
- manselect:
- description: Select a world to work with next commands.
- usage: /<command> <world>
- permission: groupmanager.manselect
- manclear:
- description: Clear world selection. Next commands will work on your world.
- usage: /<command>
- permission: groupmanager.manclear