Commits
Doc authored and md_5 committed b1c689bd12e
254 254 | |
255 255 | /** |
256 256 | * Gets whether this server allows the Nether or not. |
257 257 | * |
258 258 | * @return whether this server allows the Nether or not |
259 259 | */ |
260 260 | public static boolean getAllowNether() { |
261 261 | return server.getAllowNether(); |
262 262 | } |
263 263 | |
264 + | /** |
265 + | * Gets whether the server is logging the IP addresses of players. |
266 + | * |
267 + | * @return whether the server is logging the IP addresses of players |
268 + | */ |
269 + | public static boolean isLoggingIPs() { |
270 + | return server.isLoggingIPs(); |
271 + | } |
272 + | |
264 273 | |
265 274 | public static List<String> getInitialEnabledPacks() { |
266 275 | return server.getInitialEnabledPacks(); |
267 276 | } |
268 277 | |
269 278 | |
270 279 | public static List<String> getInitialDisabledPacks() { |
271 280 | return server.getInitialDisabledPacks(); |
272 281 | } |
273 282 | |