Beispiel #1
0
 public LoggerUtility(BookShop plugin) {
   this.plugin = plugin;
   debugfile = plugin.getConfig().getBoolean("debugfile");
   debug = plugin.getConfig().getBoolean("debug");
   Prefix = plugin.getConfig().getString("Prefix");
   usePrefix = plugin.getConfig().getBoolean("UsePrefix");
   loadcolors();
 }
Beispiel #2
0
 private void loadcolors() {
   PrefixColor = ChatColor.getByChar(plugin.getConfig().getString("PrefixColor"));
   TextColor = ChatColor.getByChar(plugin.getConfig().getString("TextColor"));
 }