mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +00:00
parent
dea384a203
commit
9ceccb6dd2
@ -83,7 +83,9 @@ public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player> {
|
|||||||
private static final Object SERVER_TO_PLAYERS_KEY = new Object();
|
private static final Object SERVER_TO_PLAYERS_KEY = new Object();
|
||||||
public static final List<ChannelIdentifier> IDENTIFIERS = List.of(
|
public static final List<ChannelIdentifier> IDENTIFIERS = List.of(
|
||||||
MinecraftChannelIdentifier.create("legacy", "redisbungee"),
|
MinecraftChannelIdentifier.create("legacy", "redisbungee"),
|
||||||
new LegacyChannelIdentifier("RedisBungee")
|
new LegacyChannelIdentifier("RedisBungee"),
|
||||||
|
// This is needed for clients before 1.13
|
||||||
|
new LegacyChannelIdentifier("legacy:redisbungee")
|
||||||
);
|
);
|
||||||
private final Cache<Object, Multimap<String, UUID>> serverToPlayersCache = CacheBuilder.newBuilder()
|
private final Cache<Object, Multimap<String, UUID>> serverToPlayersCache = CacheBuilder.newBuilder()
|
||||||
.expireAfterWrite(5, TimeUnit.SECONDS)
|
.expireAfterWrite(5, TimeUnit.SECONDS)
|
||||||
|
Loading…
Reference in New Issue
Block a user