mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Added customizable command log format (Date+Time are now available)
Added the option format to config files (config.yml + worldedit.properties). By default, current date and time are displayed. The formatting function is implemented by analogy with the class java.util.logging.SimpleFormatter
This commit is contained in:
@ -86,6 +86,7 @@ public class ConfigurateConfiguration extends LocalConfiguration {
|
||||
registerHelp = node.getNode("register-help").getBoolean(true);
|
||||
logCommands = node.getNode("logging", "log-commands").getBoolean(logCommands);
|
||||
logFile = node.getNode("logging", "file").getString(logFile);
|
||||
logFormat = node.getNode("logging", "format").getString(logFormat);
|
||||
|
||||
superPickaxeDrop = node.getNode("super-pickaxe", "drop-items").getBoolean(superPickaxeDrop);
|
||||
superPickaxeManyDrop = node.getNode("super-pickaxe", "many-drop-items").getBoolean(superPickaxeManyDrop);
|
||||
|
Reference in New Issue
Block a user