add /ajq kick
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user