mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
@@ -1167,6 +1167,16 @@ public final class Bukkit {
|
||||
return server.isEnforcingSecureProfiles();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether this server is allowing connections transferred from other
|
||||
* servers.
|
||||
*
|
||||
* @return true if the server accepts transfers, false otherwise
|
||||
*/
|
||||
public static boolean isAcceptingTransfers() {
|
||||
return server.isAcceptingTransfers();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether the Server hide online players in server status.
|
||||
*
|
||||
|
Reference in New Issue
Block a user