mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +00:00
oops, removed leftover debug stuff
This commit is contained in:
parent
c848126aa7
commit
c207b4a0a2
@ -43,21 +43,18 @@ public class PayloadUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void kickPlayer(UUID uuid, String message, Pipeline pipeline) {
|
public static void kickPlayer(UUID uuid, String message, Pipeline pipeline) {
|
||||||
System.out.println(uuid);
|
|
||||||
pipeline.publish("redisbungee-data", gson.toJson(new AbstractDataManager.DataManagerMessage<>(
|
pipeline.publish("redisbungee-data", gson.toJson(new AbstractDataManager.DataManagerMessage<>(
|
||||||
uuid, RedisBungeeAPI.getRedisBungeeApi().getProxyId(), AbstractDataManager.DataManagerMessage.Action.KICK,
|
uuid, RedisBungeeAPI.getRedisBungeeApi().getProxyId(), AbstractDataManager.DataManagerMessage.Action.KICK,
|
||||||
new AbstractDataManager.KickPayload(message))));
|
new AbstractDataManager.KickPayload(message))));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void kickPlayer(UUID uuid, String message, Jedis jedis) {
|
public static void kickPlayer(UUID uuid, String message, Jedis jedis) {
|
||||||
System.out.println(uuid);
|
|
||||||
jedis.publish("redisbungee-data", gson.toJson(new AbstractDataManager.DataManagerMessage<>(
|
jedis.publish("redisbungee-data", gson.toJson(new AbstractDataManager.DataManagerMessage<>(
|
||||||
uuid, RedisBungeeAPI.getRedisBungeeApi().getProxyId(), AbstractDataManager.DataManagerMessage.Action.KICK,
|
uuid, RedisBungeeAPI.getRedisBungeeApi().getProxyId(), AbstractDataManager.DataManagerMessage.Action.KICK,
|
||||||
new AbstractDataManager.KickPayload(message))));
|
new AbstractDataManager.KickPayload(message))));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void kickPlayer(UUID uuid, String message, JedisCluster jedisCluster) {
|
public static void kickPlayer(UUID uuid, String message, JedisCluster jedisCluster) {
|
||||||
System.out.println(uuid);
|
|
||||||
jedisCluster.publish("redisbungee-data", gson.toJson(new AbstractDataManager.DataManagerMessage<>(
|
jedisCluster.publish("redisbungee-data", gson.toJson(new AbstractDataManager.DataManagerMessage<>(
|
||||||
uuid, RedisBungeeAPI.getRedisBungeeApi().getProxyId(), AbstractDataManager.DataManagerMessage.Action.KICK,
|
uuid, RedisBungeeAPI.getRedisBungeeApi().getProxyId(), AbstractDataManager.DataManagerMessage.Action.KICK,
|
||||||
new AbstractDataManager.KickPayload(message))));
|
new AbstractDataManager.KickPayload(message))));
|
||||||
|
@ -820,7 +820,6 @@ public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player> {
|
|||||||
getProxy().getCommandManager().register("lastseen", new RedisBungeeCommands.LastSeenCommand(this), "rlastseen");
|
getProxy().getCommandManager().register("lastseen", new RedisBungeeCommands.LastSeenCommand(this), "rlastseen");
|
||||||
getProxy().getCommandManager().register("ip", new RedisBungeeCommands.IpCommand(this), "playerip", "rip", "rplayerip");
|
getProxy().getCommandManager().register("ip", new RedisBungeeCommands.IpCommand(this), "playerip", "rip", "rplayerip");
|
||||||
getProxy().getCommandManager().register("find", new RedisBungeeCommands.FindCommand(this), "rfind");
|
getProxy().getCommandManager().register("find", new RedisBungeeCommands.FindCommand(this), "rfind");
|
||||||
getProxy().getCommandManager().register("networkkick", new RedisBungeeCommands.KickCommand(this));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user