Dieser Commit ist enthalten in:
Ursprung
74fbf965ac
Commit
51083cbe3a
@ -33,7 +33,7 @@ UTIL_INFO_OWNER=§7Owner: §e{0}
|
||||
UTIL_INFO_PARENT=§7Directory: §e{0}
|
||||
UTIL_INFO_UPDATED=§7Last update: §e{0}
|
||||
UTIL_INFO_TYPE=§7Type: §e{0}
|
||||
UTIL_INFO_TYPE_DIR=§7DIR
|
||||
UTIL_INFO_TYPE_DIR=§eDIR
|
||||
UTIL_INFO_RANK=§7Rank: §e{0}
|
||||
UTIL_INFO_COLOR=§Color translation: {0}
|
||||
UTIL_INFO_REPLAY=§7Replay playback: {0}
|
||||
@ -41,16 +41,16 @@ UTIL_INFO_FORMAT=§7Format: §e{0}
|
||||
UTIL_INFO_STATUS=§cState: §c{0}: {1}
|
||||
UTIL_INFO_MEMBER=§7Members: §e{0}
|
||||
UTIL_INFO_MEMBER_STRING=Members:
|
||||
UTIL_INFO_ACTION_LOAD=[Load]
|
||||
UTIL_INFO_ACTION_LOAD=(Load)
|
||||
UTIL_INFO_ACTION_LOAD_HOVER=§eLoad schematic
|
||||
UTIL_INFO_ACTION_DOWNLOAD=[Download]
|
||||
UTIL_INFO_ACTION_DOWNLOAD=(Download)
|
||||
UTIL_INFO_ACTION_DOWNLOAD_HOVER=§eDownload schematic
|
||||
UTIL_INFO_ACTION_TYPE_HOVER=§eChange schematic type
|
||||
UTIL_INFO_ACTION_ADD_HOVER=§eAdd member
|
||||
UTIL_INFO_ACTION_REMOVE_HOVER=§eRemove {0}
|
||||
UTIL_INFO_ACTION_MOVE_HOVER=§eMove schematic
|
||||
UTIL_INFO_ACTION_RENAME_HOVER=§eRename schematic
|
||||
UTIL_INFO_ACTION_DELETE=[Delete]
|
||||
UTIL_INFO_ACTION_DELETE=(Delete)
|
||||
UTIL_INFO_ACTION_DELETE_HOVER=§eDelete schematic
|
||||
UTIL_LOAD_NOT_HERE=§cYou cannot load schematics here
|
||||
UTIL_LOAD_NOT_HERE_ALL=§cSchematics cannot be loaded on this build
|
||||
|
@ -30,7 +30,7 @@ UTIL_INFO_REPLAY=§7Replaywiedergabe: {0}
|
||||
UTIL_INFO_STATUS=§cStatus: §c{0}: {1}
|
||||
UTIL_INFO_MEMBER=§7Mitglieder: §e{0}
|
||||
UTIL_INFO_MEMBER_STRING=Mitglieder:
|
||||
UTIL_INFO_ACTION_LOAD=[Laden]
|
||||
UTIL_INFO_ACTION_LOAD=(Laden)
|
||||
UTIL_INFO_ACTION_LOAD_HOVER=§eSchematic laden
|
||||
UTIL_INFO_ACTION_DOWNLOAD_HOVER=§eSchematic downloaden
|
||||
UTIL_INFO_ACTION_TYPE_HOVER=§eSchematic Typ ändern
|
||||
@ -38,7 +38,7 @@ UTIL_INFO_ACTION_ADD_HOVER=§eMember hinzufügen
|
||||
UTIL_INFO_ACTION_REMOVE_HOVER=§e{0} entfernen
|
||||
UTIL_INFO_ACTION_MOVE_HOVER=§eSchematic verschieben
|
||||
UTIL_INFO_ACTION_RENAME_HOVER=§eSchematic umbenennen
|
||||
UTIL_INFO_ACTION_DELETE=[Löschen]
|
||||
UTIL_INFO_ACTION_DELETE=(Löschen)
|
||||
UTIL_INFO_ACTION_DELETE_HOVER=§eSchematic löschen
|
||||
UTIL_LOAD_NOT_HERE=§cDu kannst hier keine Schematics laden
|
||||
UTIL_LOAD_NOT_HERE_ALL=§cAuf diesem Bau können keine Schematics geladen werden
|
||||
|
@ -239,7 +239,7 @@ public class SchematicCommandUtils {
|
||||
.event(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{SchematicSystem.MESSAGE.parseToComponent("UTIL_INFO_ACTION_REMOVE_HOVER", false, player, member.getUserName())}))
|
||||
.append(" ", ComponentBuilder.FormatRetention.NONE);
|
||||
});
|
||||
memberBuilder.append("+", ComponentBuilder.FormatRetention.NONE)
|
||||
memberBuilder.append("(+)", ComponentBuilder.FormatRetention.NONE)
|
||||
.color(ChatColor.GREEN)
|
||||
.event(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{SchematicSystem.MESSAGE.parseToComponent("UTIL_INFO_ACTION_ADD_HOVER", false, player)}))
|
||||
.event(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, "/schem addmember " + node.generateBreadcrumbs(user) + " "));
|
||||
@ -247,7 +247,7 @@ public class SchematicCommandUtils {
|
||||
} else {
|
||||
List<String> schematicMembers = new ArrayList<>();
|
||||
NodeMember.getNodeMembers(node.getId()).forEach(nodeMember -> schematicMembers.add(SteamwarUser.get(nodeMember.getMember()).getUserName()));
|
||||
SchematicSystem.MESSAGE.sendPrefixless("UTIL_INFO_MEMBER", player, schematicMembers);
|
||||
SchematicSystem.MESSAGE.sendPrefixless("UTIL_INFO_MEMBER", player, schematicMembers.stream().reduce((s, s2) -> s + ", " + s2).orElse(""));
|
||||
}
|
||||
|
||||
TextComponent base = new TextComponent();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren