check if a player is in a queue server and isnt queued

This commit is contained in:
ajgeiss0702
2021-07-31 14:11:30 -07:00
parent f644745c24
commit f569353213
4 changed files with 40 additions and 2 deletions
@@ -3,6 +3,7 @@ package us.ajg0702.queue.api;
import us.ajg0702.queue.api.commands.IBaseCommand;
import us.ajg0702.queue.api.commands.ICommandSender;
import us.ajg0702.queue.api.players.AdaptedPlayer;
import us.ajg0702.queue.api.server.AdaptedServer;
import java.util.List;
@@ -42,4 +43,6 @@ public interface PlatformMethods {
* @return if the plugin is on the server
*/
boolean hasPlugin(String pluginName);
AdaptedServer getServer(String name);
}