Added /ajq pausequeueserver command, which will temporarily not queue you when you are in queue-servers

This commit is contained in:
ajgeiss0702
2023-01-11 10:04:14 -07:00
parent 555ef21192
commit 1372390988
11 changed files with 167 additions and 9 deletions
@@ -3,8 +3,15 @@ package us.ajg0702.queue.api.commands;
import net.kyori.adventure.audience.Audience;
import us.ajg0702.queue.api.util.Handle;
import java.util.UUID;
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
public interface ICommandSender extends Handle, Audience {
boolean hasPermission(String permission);
boolean isPlayer();
/**
* @throws IllegalStateException if the sender is not a player
*/
UUID getUniqueId() throws IllegalStateException;
}