增加间距
This commit is contained in:
parent
f344fa70d6
commit
8301a3097d
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.mmlsystem</groupId>
|
<groupId>com.mmlsystem</groupId>
|
||||||
<artifactId>StatusSystem</artifactId>
|
<artifactId>StatusSystem</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.1.1</version>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
|||||||
@ -50,10 +50,12 @@ public class Foundation extends JavaPlugin {
|
|||||||
Objective objective = board.registerNewObjective("info", "dummy", ChatColor.GOLD + "✦ 统计数据 ✦");
|
Objective objective = board.registerNewObjective("info", "dummy", ChatColor.GOLD + "✦ 统计数据 ✦");
|
||||||
objective.setDisplaySlot(DisplaySlot.SIDEBAR);
|
objective.setDisplaySlot(DisplaySlot.SIDEBAR);
|
||||||
|
|
||||||
objective.getScore(ChatColor.AQUA + "金币").setScore(5);
|
objective.getScore(ChatColor.AQUA + "金币").setScore(7);
|
||||||
objective.getScore(ChatColor.RED + " " + econ.getBalance(player) ).setScore(4);
|
objective.getScore(ChatColor.RED + " " + econ.getBalance(player) ).setScore(6);
|
||||||
objective.getScore(ChatColor.AQUA + "当前在线人数").setScore(3);
|
objective.getScore("").setScore(5);
|
||||||
objective.getScore(ChatColor.GREEN + " " + Bukkit.getOnlinePlayers().size()).setScore(2);
|
objective.getScore(ChatColor.AQUA + "当前在线人数").setScore(4);
|
||||||
|
objective.getScore(ChatColor.GREEN + " " + Bukkit.getOnlinePlayers().size()).setScore(3);
|
||||||
|
objective.getScore("").setScore(2);
|
||||||
objective.getScore(ChatColor.GRAY + "mymc.life").setScore(1);
|
objective.getScore(ChatColor.GRAY + "mymc.life").setScore(1);
|
||||||
|
|
||||||
player.setScoreboard(board);
|
player.setScoreboard(board);
|
||||||
@ -70,8 +72,8 @@ public class Foundation extends JavaPlugin {
|
|||||||
board.resetScores(entry);
|
board.resetScores(entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
objective.getScore(ChatColor.RED + " " + econ.getBalance(player) ).setScore(4);
|
objective.getScore(ChatColor.RED + " " + econ.getBalance(player) ).setScore(6);
|
||||||
objective.getScore(ChatColor.GREEN + " " + Bukkit.getOnlinePlayers().size()).setScore(2);
|
objective.getScore(ChatColor.GREEN + " " + Bukkit.getOnlinePlayers().size()).setScore(3);
|
||||||
}
|
}
|
||||||
}.runTaskTimer(this, 0L, 100L);
|
}.runTaskTimer(this, 0L, 100L);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user