blob: 9875c7715f49f262d46d40c69fa6b8132a7deb8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package com.earth2me.essentials.anticheat.config;
/**
* Configurations specific for logging. Every world gets one of these.
*
*/
public class LoggingConfig
{
public final boolean active;
public final boolean showactivechecks;
public final boolean toFile;
public final boolean toConsole;
public final boolean toChat;
public final String prefix;
public final boolean debugmessages;
public LoggingConfig(NoCheatConfiguration data)
{
active = data.getBoolean(ConfPaths.LOGGING_ACTIVE);
showactivechecks = data.getBoolean(ConfPaths.LOGGING_SHOWACTIVECHECKS);
debugmessages = data.getBoolean(ConfPaths.LOGGING_DEBUGMESSAGES);
prefix = data.getString(ConfPaths.LOGGING_PREFIX);
toFile = data.getBoolean(ConfPaths.LOGGING_LOGTOFILE);
toConsole = data.getBoolean(ConfPaths.LOGGING_LOGTOCONSOLE);
toChat = data.getBoolean(ConfPaths.LOGGING_LOGTOINGAMECHAT);
}
}
|