mirror of
https://github.com/plexusorg/Plex.git
synced 2025-01-03 14:17:37 +00:00
remove testing methods
This commit is contained in:
parent
7477fa3f7a
commit
0cdd4ca6a7
@ -48,14 +48,6 @@ public class PlexBrigadierCMD extends PlexBrigadierCommand
|
|||||||
send(sender, "Plex successfully reloaded.");
|
send(sender, "Plex successfully reloaded.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubCommand("test yourmom")
|
|
||||||
@CommandPermission("plex.test")
|
|
||||||
public void testPlex(CommandSender sender, @Argument(value = "test", min = 0, max = 100) int i, @Argument(value = "test2", min = 0, max = 100) int j, @Argument(value = "param", argumentType = StringArgumentType.StringType.GREEDY_PHRASE) String param) {
|
|
||||||
send(sender, String.valueOf(i));
|
|
||||||
send(sender, String.valueOf(j));
|
|
||||||
// send(sender, param);
|
|
||||||
}
|
|
||||||
|
|
||||||
@SubCommand("redis")
|
@SubCommand("redis")
|
||||||
@CommandPermission("plex.redis")
|
@CommandPermission("plex.redis")
|
||||||
public void testRedis(CommandSender sender)
|
public void testRedis(CommandSender sender)
|
||||||
@ -85,15 +77,6 @@ public class PlexBrigadierCMD extends PlexBrigadierCommand
|
|||||||
send(sender, mmString("<green>All modules reloaded!"));
|
send(sender, mmString("<green>All modules reloaded!"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubCommand("modules testing more args")
|
|
||||||
@CommandPermission("plex.modules.reload")
|
|
||||||
public void stupidTesting(CommandSender sender)
|
|
||||||
{
|
|
||||||
send(sender, "leave me alone");
|
|
||||||
// send(sender, mmString("<gold>Modules (" + plugin.getModuleManager().getModules().size() + "): <yellow>" + StringUtils.join(plugin.getModuleManager().getModules().stream().map(PlexModule::getPlexModuleFile).map(PlexModuleFile::getName).collect(Collectors.toList()), ", ")));
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Default
|
@Default
|
||||||
public void defaultCommand(CommandSender sender)
|
public void defaultCommand(CommandSender sender)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user