We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d604f2 + a7e819e commit b7c778eCopy full SHA for b7c778e
1 file changed
src/main/java/pro/cloudnode/smp/smpcore/Nation.java
@@ -94,6 +94,7 @@ public Nation(final @NotNull String id, final @NotNull String name, final @NotNu
94
final @NotNull Team team = SMPCore.getInstance().getServer().getScoreboardManager().getMainScoreboard().registerNewTeam(id);
95
team.setAllowFriendlyFire(false);
96
team.setCanSeeFriendlyInvisibles(true);
97
+ team.setOption(Team.Option.DEATH_MESSAGE_VISIBILITY, Team.OptionStatus.FOR_OWN_TEAM);
98
team.displayName(Component.text(shortName).color(TextColor.color(Integer.decode("0x" + color))).hoverEvent(HoverEvent.showText(Component.text(name))));
99
team.prefix(Component.text(shortName + " ").color(TextColor.color(Integer.decode("0x" + color))).hoverEvent(HoverEvent.showText(Component.text(name))));
100
for (final @NotNull Member member : members()) try {
0 commit comments