Add option to have Dynmap STFU during start (verbose: false)
Add softdep, authors, stats commands to plugin.yml
This commit is contained in:
parent
39281188bc
commit
b937c4bf38
7 changed files with 26 additions and 9 deletions
|
|
@ -6,9 +6,14 @@ import java.util.logging.Logger;
|
|||
public class Log {
|
||||
protected static final Logger log = Logger.getLogger("Minecraft");
|
||||
protected static final String LOG_PREFIX = "[dynmap] ";
|
||||
public static boolean verbose = false;
|
||||
public static void info(String msg) {
|
||||
log.log(Level.INFO, LOG_PREFIX + msg);
|
||||
}
|
||||
public static void verboseinfo(String msg) {
|
||||
if(verbose)
|
||||
log.log(Level.INFO, LOG_PREFIX + msg);
|
||||
}
|
||||
public static void severe(Exception e) {
|
||||
log.log(Level.SEVERE, LOG_PREFIX + "Exception occured: ", e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue