mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
#902: Add Server#isLoggingIPs to get log-ips configuration
By: Doc <nachito94@msn.com>
This commit is contained in:
@@ -261,6 +261,15 @@ public final class Bukkit {
|
|||||||
return server.getAllowNether();
|
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
|
@NotNull
|
||||||
public static List<String> getInitialEnabledPacks() {
|
public static List<String> getInitialEnabledPacks() {
|
||||||
return server.getInitialEnabledPacks();
|
return server.getInitialEnabledPacks();
|
||||||
|
@@ -216,6 +216,13 @@ public interface Server extends PluginMessageRecipient {
|
|||||||
*/
|
*/
|
||||||
public boolean getAllowNether();
|
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.
|
* Gets a list of packs to be enabled.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user