geforkt von SteamWar/BungeeCore
Add option to change email + one line distance between selection options
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
a0058f468b
Commit
99c1aa1741
@ -235,8 +235,10 @@ public class CheckCommand extends BasicCommand {
|
|||||||
}else if(ranks.containsKey(schematic.getSchemType())){
|
}else if(ranks.containsKey(schematic.getSchemType())){
|
||||||
next = new TextComponent();
|
next = new TextComponent();
|
||||||
List<String> r = ranks.get(schematic.getSchemType());
|
List<String> r = ranks.get(schematic.getSchemType());
|
||||||
for(int i = 0; i < r.size(); i++)
|
for(int i = 0; i < r.size(); i++){
|
||||||
BungeeCore.send(checker, "§aRang " + (i+1) + ": " + r.get(i), "§aMit diesem Rang freigeben", new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/check allow " + (i+1)));
|
BungeeCore.send(checker, "§aRang " + (i+1) + ": " + r.get(i), "§aMit diesem Rang freigeben", new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/check allow " + (i+1)));
|
||||||
|
BungeeCore.send(checker, "");
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
next = new TextComponent("accept ");
|
next = new TextComponent("accept ");
|
||||||
next.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/check allow"));
|
next.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/check allow"));
|
||||||
|
@ -45,6 +45,9 @@ public class WebregisterCommand extends BasicCommand {
|
|||||||
case "invalid_email":
|
case "invalid_email":
|
||||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§c[E-Mail], nicht [Freitext]!");
|
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§c[E-Mail], nicht [Freitext]!");
|
||||||
break;
|
break;
|
||||||
|
case "email_updated":
|
||||||
|
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§aDeine E-Mail-Adresse wurde aktualisiert.");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cEin interner Fehler ist aufgetreten, bitte wende dich an einen Developer.");
|
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cEin interner Fehler ist aufgetreten, bitte wende dich an einen Developer.");
|
||||||
SWException.log("Bungee", "Unknown Wordpress User Creation Error", errorLine);
|
SWException.log("Bungee", "Unknown Wordpress User Creation Error", errorLine);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren