Add %ajqueue_status_<server>% placeholder
This commit is contained in:
@@ -18,7 +18,7 @@ dependencies {
|
||||
implementation("net.kyori:adventure-text-serializer-plain:4.9.3")
|
||||
compileOnly("com.google.guava:guava:30.1.1-jre")
|
||||
|
||||
compileOnly("us.ajg0702:ajUtils:1.1.22")
|
||||
compileOnly("us.ajg0702:ajUtils:1.2.10")
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
||||
@@ -36,6 +36,20 @@ public interface QueueServer {
|
||||
*/
|
||||
String getStatusString();
|
||||
|
||||
/**
|
||||
* Get the status of the server as a string (not from the messages file)
|
||||
* @param p The player that you are checking for. Used for checking restricted servers
|
||||
* @return The status of the server as a string
|
||||
*/
|
||||
String getStatus(AdaptedPlayer p);
|
||||
|
||||
/**
|
||||
* Get the status of the server as a string (not from the messages file)
|
||||
* Does not check if the player has access using restricted mode. May show online if it is restricted
|
||||
* @return The status of the server as a string
|
||||
*/
|
||||
String getStatus();
|
||||
|
||||
/**
|
||||
* Sends a server ping and uses the response to update online status, player count status, and whitelist status
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user