for (String gateTag : General.myGateTags)
{
if (EpicGates.permissions.hasPermission(sender, "epicgates.admin", true, true))
{
String message = "";
EpicGate gate = General.myGates.get(gateTag);
if (gate != null)
{
message = ChatColor.GOLD + "[" + gate.getTag() + "]" + ChatColor.GREEN + " in " + ChatColor.GOLD + "[" + gate.getLocation().getWorld().getName() + "]" + ChatColor.GREEN + " at " + ChatColor.GOLD + "[" + gate.getLocation().getBlockX() + "," + gate.getLocation().getBlockY() + "," + gate.getLocation().getBlockZ() + "]";
if (gate.getTarget() != null)
{
message = message + ChatColor.GREEN + " linked to " + ChatColor.GOLD + "[" + gate.getTargetTag() + "].";
}
else
{
message = message + ChatColor.GREEN + ".";
}