Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
356afc9bff
Commit
af357cb554
@ -1 +1 @@
|
|||||||
Subproject commit 4eadcb4b09c0747cd1726c7f6cfe86ff07e59ea2
|
Subproject commit b868ff2c1282a0cbfde6dae3a6a72bc932984c8e
|
@ -47,8 +47,6 @@ import java.util.*;
|
|||||||
|
|
||||||
public class ConnectionListener extends BasicListener {
|
public class ConnectionListener extends BasicListener {
|
||||||
|
|
||||||
private static final String TEAM_GROUP = "team";
|
|
||||||
|
|
||||||
public static final String ALERT_PERMISSION = "bungeecore.alert";
|
public static final String ALERT_PERMISSION = "bungeecore.alert";
|
||||||
public static final String BAN_PERMISSION = "bungeecore.ban";
|
public static final String BAN_PERMISSION = "bungeecore.ban";
|
||||||
public static final String BUILDERCLOUD_PERMISSION = "bungeecore.buildercloud";
|
public static final String BUILDERCLOUD_PERMISSION = "bungeecore.buildercloud";
|
||||||
@ -69,8 +67,6 @@ public class ConnectionListener extends BasicListener {
|
|||||||
ProxiedPlayer player = event.getPlayer();
|
ProxiedPlayer player = event.getPlayer();
|
||||||
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
||||||
|
|
||||||
player.removeGroups(TEAM_GROUP);
|
|
||||||
|
|
||||||
if(user.hasPerm(UserPerm.ADMINISTRATION)) {
|
if(user.hasPerm(UserPerm.ADMINISTRATION)) {
|
||||||
player.setPermission("bungeecord.command.end", true);
|
player.setPermission("bungeecord.command.end", true);
|
||||||
player.setPermission("bungeecord.command.reload", true);
|
player.setPermission("bungeecord.command.reload", true);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren