mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
remove failing comment
This commit is contained in:
parent
c39a758aea
commit
7477fa3f7a
@ -34,7 +34,6 @@ import java.util.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 2:27 PM [07-07-2023]
|
* @since 2:27 PM [07-07-2023]
|
||||||
*/
|
*/
|
||||||
public abstract class PlexBrigadierCommand
|
public abstract class PlexBrigadierCommand
|
||||||
|
@ -9,7 +9,6 @@ import java.lang.annotation.Target;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 4:31 AM [08-07-2023]
|
* @since 4:31 AM [08-07-2023]
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@ -7,7 +7,6 @@ import java.lang.annotation.Target;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 4:54 PM [07-07-2023]
|
* @since 4:54 PM [07-07-2023]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ import java.lang.annotation.Target;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 4:54 PM [07-07-2023]
|
* @since 4:54 PM [07-07-2023]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ import java.lang.annotation.Target;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 7:08 AM [09-07-2023]
|
* @since 7:08 AM [09-07-2023]
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@ -7,7 +7,6 @@ import java.lang.annotation.Target;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 4:54 PM [07-07-2023]
|
* @since 4:54 PM [07-07-2023]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ import java.lang.annotation.Target;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 4:46 PM [07-07-2023]
|
* @since 4:46 PM [07-07-2023]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -9,14 +9,12 @@ import dev.plex.command.annotation.Default;
|
|||||||
import dev.plex.command.source.RequiredCommandSource;
|
import dev.plex.command.source.RequiredCommandSource;
|
||||||
import dev.plex.player.PlexPlayer;
|
import dev.plex.player.PlexPlayer;
|
||||||
import org.apache.commons.lang3.BooleanUtils;
|
import org.apache.commons.lang3.BooleanUtils;
|
||||||
import org.bukkit.command.CommandSender;
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import static dev.plex.util.PlexUtils.messageComponent;
|
import static dev.plex.util.PlexUtils.messageComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 6:54 AM [09-07-2023]
|
* @since 6:54 AM [09-07-2023]
|
||||||
*/
|
*/
|
||||||
@CommandName({"adminchat", "o", "sc", "ac", "staffchat"})
|
@CommandName({"adminchat", "o", "sc", "ac", "staffchat"})
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package dev.plex.command.impl.brigadier;
|
package dev.plex.command.impl.brigadier;
|
||||||
|
|
||||||
|
import com.mojang.brigadier.arguments.StringArgumentType;
|
||||||
import dev.plex.command.PlexBrigadierCommand;
|
import dev.plex.command.PlexBrigadierCommand;
|
||||||
import dev.plex.command.annotation.*;
|
import dev.plex.command.annotation.*;
|
||||||
import dev.plex.command.exception.CommandFailException;
|
import dev.plex.command.exception.CommandFailException;
|
||||||
@ -14,7 +15,6 @@ import java.util.stream.Collectors;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Taah
|
* @author Taah
|
||||||
* @project Plex
|
|
||||||
* @since 3:46 PM [07-07-2023]
|
* @since 3:46 PM [07-07-2023]
|
||||||
*/
|
*/
|
||||||
@CommandName({"plex", "pplexx"})
|
@CommandName({"plex", "pplexx"})
|
||||||
@ -48,13 +48,13 @@ public class PlexBrigadierCMD extends PlexBrigadierCommand
|
|||||||
send(sender, "Plex successfully reloaded.");
|
send(sender, "Plex successfully reloaded.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@SubCommand("test yourmom")
|
@SubCommand("test yourmom")
|
||||||
@CommandPermission("plex.test")
|
@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*//*) {
|
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(i));
|
||||||
send(sender, String.valueOf(j));
|
send(sender, String.valueOf(j));
|
||||||
// send(sender, param);
|
// send(sender, param);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
@SubCommand("redis")
|
@SubCommand("redis")
|
||||||
@CommandPermission("plex.redis")
|
@CommandPermission("plex.redis")
|
||||||
@ -85,14 +85,14 @@ public class PlexBrigadierCMD extends PlexBrigadierCommand
|
|||||||
send(sender, mmString("<green>All modules reloaded!"));
|
send(sender, mmString("<green>All modules reloaded!"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@SubCommand("modules testing more args")
|
@SubCommand("modules testing more args")
|
||||||
@CommandPermission("plex.modules.reload")
|
@CommandPermission("plex.modules.reload")
|
||||||
public void viewViewModules(CommandSender sender)
|
public void stupidTesting(CommandSender sender)
|
||||||
{
|
{
|
||||||
send(sender, "leave me alone");
|
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()), ", ")));
|
// 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