This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a packet system that can be used with the RedisAPI in my gist located at: | |
https://gist.github.com/PedroMPagani/b6fb2a5d54dd2912f98126fff4126051 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.github.luben.zstd.Zstd; | |
import io.lettuce.core.RedisClient; | |
import io.lettuce.core.RedisURI; | |
import io.lettuce.core.api.StatefulRedisConnection; | |
import io.lettuce.core.codec.ByteArrayCodec; | |
import io.lettuce.core.pubsub.RedisPubSubAdapter; | |
import io.lettuce.core.pubsub.StatefulRedisPubSubConnection; | |
import io.lettuce.core.pubsub.api.async.RedisPubSubAsyncCommands; | |
import io.netty.util.concurrent.DefaultThreadFactory; | |
import org.bukkit.Bukkit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.comphenix.example; | |
import java.lang.reflect.InvocationTargetException; | |
import org.bukkit.ChatColor; | |
import org.bukkit.Location; | |
import org.bukkit.World; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.CommandSender; | |
import org.bukkit.entity.Entity; |