add /ajq kick

This commit is contained in:
ajgeiss0702
2021-10-30 19:28:45 -07:00
parent 947ee78062
commit be71f48298
7 changed files with 134 additions and 1 deletions
@@ -117,6 +117,13 @@ public interface QueueManager {
*/
ImmutableList<QueuePlayer> findPlayerInQueues(AdaptedPlayer p);
/**
* Finds QueuePlayers that have this username
* @param name The username to look up
* @return A list of QueuePlayers that have this username
*/
ImmutableList<QueuePlayer> findPlayerInQueuesByName(String name);
/**
* Gets all of the queues the player is currently queued for
* @param p The player
@@ -192,6 +192,12 @@ public interface QueueServer {
*/
boolean isGroup();
/**
* Finds the player in this queue and returns the representative QueuePlayer
* @return The QueuePlayer representing the player, null if not found
*/
QueuePlayer findPlayer(String player);
/**
* Finds the player in this queue and returns the representative QueuePlayer
* @return The QueuePlayer representing the player, null if not found