New border dimensions

This commit is contained in:
Shaun Bennett 2015-06-24 23:18:18 -05:00
parent a0d97d5d99
commit 7f530f6593
2 changed files with 7 additions and 3 deletions

View File

@ -27,8 +27,8 @@ public class ClansRegions extends MiniPlugin
public final static int SPAWN_RADIUS = 2; // Radius of spawn claim area (measured in chunks)
public final static int SHOP_RADIUS = 1; // Radius of shop claim area (measured in chunks)
public final static int FIELDS_RADIUS = 7; // Radius of fields claim area (measured in chunks)
public final static int BORDERLANDS_RADIUS = 41; // Radius of borderlands claim area (measured in chunks)
public static final int BORDER_RADIUS = 512;
public final static int BORDERLANDS_RADIUS = 50; // Radius of borderlands claim area (measured in chunks)
public static final int BORDER_RADIUS = 768;
private ClansManager _manager;
private World _world;
@ -58,7 +58,7 @@ public class ClansRegions extends MiniPlugin
// Initialize Fields and Borderlands factions and claims
claimArea("Fields", FIELDS_RADIUS, 0, false, worldCenter);
claimArea("Borderlands", BORDERLANDS_RADIUS, 26, false, worldCenter);
claimArea("Borderlands", BORDERLANDS_RADIUS, 32, false, worldCenter);
}
/**

View File

@ -36,6 +36,10 @@ public class ScoreboardElementClan implements ScoreboardElement
if (clanInfo.getEnergyCostPerMinute() > 0)
output.add(C.cGreen + "Energy: " + C.cWhite + UtilTime.convertString((clanInfo.getEnergy() / clanInfo.getEnergyCostPerMinute()) * 60000L, 1, UtilTime.TimeUnit.FIT));
}
else
{
output.add(C.cGreen + "You are not in a clan");
}
return output;
}