This commit is contained in:
ajgeiss0702
2021-07-27 18:41:55 -07:00
parent 6e53584261
commit a88a142348
24 changed files with 404 additions and 88 deletions
@@ -62,4 +62,10 @@ public interface QueuePlayer {
* @return The number of miliseconds since this player was online
*/
long getTimeSinceOnline();
/**
* Gets the max number of seconds this player is allowed to be offline before getting removed from the queue.
* @return
*/
int getMaxOfflineTime();
}
@@ -0,0 +1,9 @@
package us.ajg0702.queue.api.util;
public interface QueueLogger {
void warn(String message);
void warning(String message);
void info(String message);
void error(String message);
void severe(String message);
}