mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-29 19:51:30 +01:00
#902: Add Server#isLoggingIPs to get log-ips configuration
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
04d1d1e2b9
commit
a8cebda10e
@ -261,6 +261,15 @@ public final class Bukkit {
|
||||
return server.getAllowNether();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether the server is logging the IP addresses of players.
|
||||
*
|
||||
* @return whether the server is logging the IP addresses of players
|
||||
*/
|
||||
public static boolean isLoggingIPs() {
|
||||
return server.isLoggingIPs();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static List<String> getInitialEnabledPacks() {
|
||||
return server.getInitialEnabledPacks();
|
||||
|
@ -216,6 +216,13 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
public boolean getAllowNether();
|
||||
|
||||
/**
|
||||
* Gets whether the server is logging the IP addresses of players.
|
||||
*
|
||||
* @return whether the server is logging the IP addresses of players
|
||||
*/
|
||||
public boolean isLoggingIPs();
|
||||
|
||||
/**
|
||||
* Gets a list of packs to be enabled.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user