Class BanSystem
java.lang.Object
zombie.network.BanSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringBanIP(String ip, UdpConnection adminConnection, String argument, boolean ban) static StringBanUser(String username, UdpConnection adminConnection, String argument, boolean ban) static StringBanUserByIP(String username, UdpConnection adminConnection, String argument, boolean ban) static StringBanUserBySteamID(String steamID, UdpConnection adminConnection, String argument, boolean ban) static void
-
Constructor Details
-
BanSystem
public BanSystem()
-
-
Method Details
-
BanUser
public static String BanUser(String username, UdpConnection adminConnection, String argument, boolean ban) throws SQLException - Throws:
SQLException
-
KickUser
-
BanUserBySteamID
public static String BanUserBySteamID(String steamID, UdpConnection adminConnection, String argument, boolean ban) throws SQLException - Throws:
SQLException
-
BanIP
public static String BanIP(String ip, UdpConnection adminConnection, String argument, boolean ban) throws SQLException - Throws:
SQLException
-
BanUserByIP
public static String BanUserByIP(String username, UdpConnection adminConnection, String argument, boolean ban) throws SQLException - Throws:
SQLException
-