geforkt von SteamWar/BungeeCore
Update RankCommand
Dieser Commit ist enthalten in:
Ursprung
23f8e687ad
Commit
6a6e7046d6
@ -41,6 +41,15 @@ public class RankCommand extends BasicCommand {
|
|||||||
|
|
||||||
ProxiedPlayer player = (ProxiedPlayer) sender;
|
ProxiedPlayer player = (ProxiedPlayer) sender;
|
||||||
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
||||||
|
if (args.length > 0) {
|
||||||
|
SteamwarUser nUser = SteamwarUser.get(args[0]);
|
||||||
|
if (nUser == null) {
|
||||||
|
Message.send("RANK_PLAYER_NOT_FOUND", player);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Message.send("RANK_PLAYER_FOUND", player, nUser.getUserName());
|
||||||
|
user = nUser;
|
||||||
|
}
|
||||||
for(ArenaMode mode : ArenaMode.getAllModes()) {
|
for(ArenaMode mode : ArenaMode.getAllModes()) {
|
||||||
if (!mode.isRanked())
|
if (!mode.isRanked())
|
||||||
continue;
|
continue;
|
||||||
|
@ -563,6 +563,8 @@ HOURS_PLAYED=§7Deine Spielzeit beträgt§8: §e{0}h
|
|||||||
ARENA_NOT_FOUND=§cDie angegebene Arena konnte nicht gefunden werden
|
ARENA_NOT_FOUND=§cDie angegebene Arena konnte nicht gefunden werden
|
||||||
|
|
||||||
#Rank
|
#Rank
|
||||||
|
RANK_PLAYER_NOT_FOUND=§cSpieler nicht gefunden
|
||||||
|
RANK_PLAYER_FOUND=§eRanks §7für §e{0}
|
||||||
RANK_HEADER=§7§lModus {0}
|
RANK_HEADER=§7§lModus {0}
|
||||||
RANK_UNPLACED=§eunplatziert
|
RANK_UNPLACED=§eunplatziert
|
||||||
RANK_PLACED=§e{0}§8. §7mit §e{1} §7Elo§8.
|
RANK_PLACED=§e{0}§8. §7mit §e{1} §7Elo§8.
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren