ValioBungee icon indicating copy to clipboard operation
ValioBungee copied to clipboard

0.12.0

Open ham1255 opened this issue 1 year ago • 1 comments

Changes

  • RedisBungee is compiled with java 17 now, Due java 11 support is ending at end of September
  • config version is now 2 which will reset your config if older version
  • Adventure API is included inside RedisBungee API
  • new Language infrastructure for commands and RedisBungee built-in messages #85
  • New data system which replaces Redis PubSub with Redis Streams see below
  • Ability to connect player to last server they where on using an config option #84
  • new environment variable REDISBUNGEE_PROXY_ID which can be set before launch
  • RedisBungee requires redis version 6.2 or above #88
  • now using Jedis 5.1.1

New data system

Due limitation of Redis PubSub in Cluster environment, Internals of RedisBungee were changed to support Redis Streams

Heartbeat system:

RedisBungee old heartbeat system used hastset on redisbungee to store the current unix time of the proxy to check what every proxy died or not, now instead we publish the heartbeat using unix time, and online count to proxy which proxy store it in their memory, which allow the get number of online players to be faster than pooling whole list in old data system.

PubSub

since redisbungee was initially designed with pubsub in mind, registration no longer required now for event to fire, see the api changes below.

NOTES

this shouldn't effect anybody as it was internal but due data changes, if you do any direct query to Redis query data, you should adapt the changes.

API changes

Kick api

Deprecated: kickPlayer(String playerName, String message) kickPlayer(UUID playerUUID, String message) newer where added using adventure api: kickPlayer(String playerName, Component message) kickPlayer(UUID playerUUID, Component message)

PubSub api

Deprecated:

/**
     * Register (a) PubSub channel(s), so that you may handle PubSubMessageEvent for it.
     *
     * @param channels the channels to register
     * @since 0.3
     * @deprecated No longer required
     */
    @Deprecated
    public final void registerPubSubChannels(String... channels) {
    }

    /**
     * Unregister (a) PubSub channel(s).
     *
     * @param channels the channels to unregister
     * @since 0.3
     * @deprecated No longer required
     */
    @Deprecated
    public final void unregisterPubSubChannels(String... channels) {
    }

Contributors

  • summoncraft.us for running this branch in production
  • @SrBedrock for providing Brazilian Portuguese translation #87

issues

closes #85 closes #84 closes #88 closes #92

ham1255 avatar Sep 10 '23 17:09 ham1255

Languages still not finalized yet.

ham1255 avatar Sep 10 '23 18:09 ham1255