More MultiLang #169
@ -19,7 +19,6 @@
|
||||
|
||||
package de.steamwar.bungeecore.commands;
|
||||
|
||||
import de.steamwar.bungeecore.BungeeCore;
|
||||
import de.steamwar.bungeecore.Message;
|
||||
import de.steamwar.bungeecore.inventory.SWItem;
|
||||
import de.steamwar.bungeecore.inventory.SWListInv;
|
||||
@ -40,7 +39,6 @@ import java.time.Instant;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.*;
|
||||
|
||||
import static de.steamwar.bungeecore.Storage.sessions;
|
||||
import static de.steamwar.bungeecore.Storage.teamInvitations;
|
||||
|
||||
public class TeamCommand extends BasicCommand {
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
package de.steamwar.bungeecore.commands;
|
||||
|
||||
import de.steamwar.bungeecore.BungeeCore;
|
||||
import de.steamwar.bungeecore.Message;
|
||||
import de.steamwar.bungeecore.sql.SteamwarUser;
|
||||
import net.md_5.bungee.api.CommandSender;
|
||||
|
||||
@ -35,7 +35,7 @@ public class UnbanCommand extends BasicCommand {
|
||||
@Override
|
||||
public void execute(CommandSender sender, String[] args) {
|
||||
if(args.length < 1){
|
||||
BungeeCore.send(sender, BungeeCore.CHAT_PREFIX + "/unban [Spieler]");
|
||||
Message.send("UNBAN_SYNTAX", sender);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ public class UnbanCommand extends BasicCommand {
|
||||
if(target == null)
|
||||
return;
|
||||
|
||||
BungeeCore.send(sender, BungeeCore.CHAT_PREFIX + "Du hast " + target.getUserName() + " entbannt.");
|
||||
Message.send("UNBAN_UNBANNED", sender, target.getUserName());
|
||||
target.ban(Timestamp.from(new Date().toInstant()), "");
|
||||
}
|
||||
}
|
||||
|
@ -396,4 +396,8 @@ TEAM_COLOR_TITLE=§6Farbe wählen
|
||||
#TpCommand
|
||||
TP_SYNTAX=§8/§etp §8[§7Spieler§8]
|
||||
TP_SYNTAX_EVENT=§8/§etp §8[§7Spieler §8oder §7Team§8]
|
||||
TP_NOT_FOUND=§cKonnte das angegebene Ziel nicht finden.
|
||||
TP_NOT_FOUND=§cKonnte das angegebene Ziel nicht finden.
|
||||
|
||||
#UnbanCommand
|
||||
UNBAN_SYNTAX=/unban [Spieler]
|
||||
UNBAN_UNBANNED=Du hast {0} entbannt.
|
In neuem Issue referenzieren
Einen Benutzer sperren