progress
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user