public BungeeCommandManager(Plugin plugin) {
this.plugin = plugin;
this.formatters.put(MessageType.ERROR, defaultFormatter = new BungeeMessageFormatter(ChatColor.RED, ChatColor.YELLOW, ChatColor.RED));
this.formatters.put(MessageType.SYNTAX, new BungeeMessageFormatter(ChatColor.YELLOW, ChatColor.GREEN, ChatColor.WHITE));
this.formatters.put(MessageType.INFO, new BungeeMessageFormatter(ChatColor.BLUE, ChatColor.DARK_GREEN, ChatColor.GREEN));
this.formatters.put(MessageType.HELP, new BungeeMessageFormatter(ChatColor.AQUA, ChatColor.GREEN, ChatColor.YELLOW));
getLocales();
plugin.getProxy().getPluginManager().registerListener(plugin, new ACFBungeeListener(this, plugin));
plugin.getProxy().getScheduler().schedule(plugin, () -> {
ProxyServer.getInstance().getPlayers().forEach(this::readLocale);
}, 5, 5, TimeUnit.SECONDS);
registerDependency(plugin.getClass(), plugin);
registerDependency(Plugin.class, plugin);
}