@@ -0,0 +1,1928 @@
+package info.tregmine.commands;%0A%0Aimport info.tregmine.Tregmine;%0Aimport info.tregmine.api.Badge;%0Aimport info.tregmine.api.TregminePlayer;%0Aimport java.util.Map;%0Aimport org.bukkit.ChatColor;%0A%0Apublic class BadgeCommand extends AbstractCommand%0A%7B%0A    public BadgeCommand(Tregmine tregmine)%0A    %7B%0A        super(tregmine, %22badge%22);%0A    %7D%0A    %0A    @Override%0A    public boolean handlePlayer(TregminePlayer player, String args%5B%5D)%0A    %7B%0A        if (args.length == 1 && %22list%22.equalsIgnoreCase(args%5B0%5D)) %7B%0A            %0A            Map%3CBadge, Integer%3E badges = player.getBadges();%0A            if(badges.isEmpty())%7B%0A                player.sendMessage(ChatColor.AQUA +%0A                        %22You currently have no badges!%22);%0A                return true;%0A            %7D%0A            %0A            for(Map.Entry%3CBadge, Integer%3E badge : badges.entrySet())%7B%0A                player.sendMessage(ChatColor.AQUA + badge.getKey().name() +%0A                        %22 - Level %22 + badge.getValue());%0A            %7D%0A            %0A        %7D else if (args.length == 2 && %22list%22.equalsIgnoreCase(args%5B0%5D)) %7B%0A            %0A            TregminePlayer target = tregmine.getPlayerOffline(args%5B0%5D);%0A            %0A            if (target == null) %7B%0A                player.sendMessage(ChatColor.RED + %22Could not find player: %22%0A                        + ChatColor.YELLOW + args%5B0%5D);%0A                return true;%0A            %7D%0A            Map%3CBadge, Integer%3E badges = target.getBadges();%0A            if(badges.isEmpty())%7B%0A                player.sendMessage(target.getChatName() + ChatColor.AQUA +%0A                        %22 currently has no badges!%22);%0A                return true;%0A            %7D%0A            %0A            for(Map.Entry%3CBadge, Integer%3E badge : badges.entrySet())%7B%0A                player.sendMessage(ChatColor.AQUA + badge.getKey().name() +%0A                        %22 - Level %22 + badge.getValue());%0A            %7D%0A            %0A        %7D%0A        return true;%0A    %7D%0A%7D%0A

Create BadgeCommand.java