First implementation of scoreboards.

Boards can be toggled with /f sb. Toggles are persistent in a yml file.
Also fix some small spelling and format things that were really bugging me.
This commit is contained in:
drtshock
2014-08-05 10:17:27 -05:00
parent c735053bc3
commit ddf054330a
83 changed files with 375 additions and 21 deletions

View File

@@ -5,6 +5,7 @@ import org.bukkit.ChatColor;
import java.util.ArrayList;
public class AsciiCompass {
public enum Point {
N('N'),
NE('/'),

View File

@@ -8,6 +8,7 @@ import java.util.ArrayList;
import java.util.ListIterator;
public class AutoLeaveProcessTask extends BukkitRunnable {
private transient boolean readyToGo = false;
private transient boolean finished = false;
private transient ListIterator<FPlayer> iterator;

View File

@@ -4,6 +4,7 @@ import com.massivecraft.factions.Conf;
import com.massivecraft.factions.P;
public class AutoLeaveTask implements Runnable {
private static AutoLeaveProcessTask task;
double rate;

View File

@@ -10,6 +10,7 @@ import org.bukkit.World;
*/
public class LazyLocation {
private Location location = null;
private String worldName;
private double x;

View File

@@ -9,6 +9,7 @@ import java.util.Arrays;
import java.util.HashSet;
public class MiscUtil {
public static EntityType creatureTypeFromEntity(Entity entity) {
if (!(entity instanceof Creature)) {
return null;

View File

@@ -8,6 +8,7 @@ import java.util.logging.Level;
public class MyLocationTypeAdapter implements JsonDeserializer<LazyLocation>, JsonSerializer<LazyLocation> {
private static final String WORLD = "world";
private static final String X = "x";
private static final String Y = "y";

View File

@@ -9,6 +9,7 @@ import com.massivecraft.factions.zcore.util.TextUtil;
import org.bukkit.ChatColor;
public class RelationUtil {
public static String describeThatToMe(RelationParticipator that, RelationParticipator me, boolean ucfirst) {
String ret = "";

View File

@@ -23,6 +23,7 @@ import java.util.logging.Level;
*/
public abstract class SpiralTask implements Runnable {
// general task-related reference data
private transient World world = null;
private transient boolean readyToGo = false;