Releases: ProxioDev/ValioBungee
ACL usernames support!
IMPORTATANT NOTE: Project has switched to Gradle as build toolchain as result there is change in instruction how to implement a plugin check readme for more info
What's Changed
0.10.2 small fixes update
0.10.1 Disabling name fetching history API
0.10.0
bugs that were fixed in this release
- Fix NullPointerException due plugin instance for jedis tasks in UUIDTranslator/AbstractDataManager (#57)
changes in this release
After some backlash lmao sorry
about new 0.9 kick behavior, new config option was introduced. to restore the old behavior.
# restore old login when online behavior before 0.9.0 update
# uncomment to enable it
# disable-kick-when-online: true
0.9.0
this release has no api changes.
new in this release
- Messages can be changed now
messages.yml
logging in from another location behavior change:
Pre 0.9.0 player that tries to connect to the network, it wont let me connect due him being online somehow on the network in 0.9.0 it will kick the old player and allow joining of new player
here is a video to show old vs new https://www.youtube.com/watch?v=FLmwjSZ6Dzk *note kick message is changed in the release binaries they can be edited in side messages.yml
this has removed few messages that no longer needed.
0.8.1 SSL / TLS Hotfix
fixes in this release
- Fixes ssl connections not working on the single mode 748bc13
0.8.0
- This update focuses on introducing new Platform / Removes API breakage from versions 0.7
New Features
- Support Velocity proxy ( thanks to @4drian3d for helping #33 )
- Support Redis Cluster #21
- Ability to kick a Player from the network using the API
- Internally switched to UnifiedJedis which have all functions of Single/Cluster which introduced JedisPool compatibility option in the config.
- Config now has Versioning
API changes
new methods:
/**
* This gives you an instance of JedisCluster that can't be closed
* see {@link com.imaginarycode.minecraft.redisbungee.api.summoners.NotClosableJedisCluster}
*
* @return {@link redis.clients.jedis.JedisCluster}
* @throws IllegalStateException if the {@link #getMode()} is not equal to {@link RedisBungeeMode#CLUSTER}
* @since 0.8.0
*/
public JedisCluster requestClusterJedis() {
if (getMode() == RedisBungeeMode.CLUSTER) {
return ((JedisClusterSummoner) this.plugin.getSummoner()).obtainResource();
} else {
throw new IllegalStateException("Mode is not " + RedisBungeeMode.CLUSTER);
}
}
/**
* This gives you an instance of JedisPooled that can't be closed
* see {@link com.imaginarycode.minecraft.redisbungee.api.summoners.NotClosableJedisPooled}
*
* @return {@link redis.clients.jedis.JedisPooled}
* @throws IllegalStateException if the {@link #getMode()} is not equal to {@link RedisBungeeMode#SINGLE}
* @since 0.8.0
*/
public JedisPooled requestJedisPooled() {
if (getMode() == RedisBungeeMode.SINGLE) {
return ((JedisPooledSummoner) this.plugin.getSummoner()).obtainResource();
} else {
throw new IllegalStateException("Mode is not " + RedisBungeeMode.SINGLE);
}
}
/**
* returns Summoner class responsible for Single Jedis {@link redis.clients.jedis.JedisPooled} with {@link JedisPool}, Cluster Jedis {@link redis.clients.jedis.JedisCluster} handling
*
* @return {@link Summoner}
* @since 0.8.0
*/
public Summoner<?> getSummoner() {
return this.plugin.getSummoner();
}
/**
* shows what mode is RedisBungee is on
*
* @return {@link RedisBungeeMode}
* @since 0.8.0
*/
public RedisBungeeMode getMode() {
return this.plugin.getRedisBungeeMode();
}
Jedis Pool notes
since project switched internally to JedisPooled, we stoped using the JedisPool which marked as legacy by Jedis devs, so as option to maintain old plugins new option in config was introduced to allow creation of Jedis pool
Bug fixes:
- fix plugin messages issues before 1.13 #38
Github stuff:
- Not all artifacts were being uploaded in GitHub actions ( thanks @SirSalad )
Full Changelog: 0.7.3...0.8.0
0.7.3 Bug fixes
0.7.2 UPDATE
- This update should be finally fixing relocation + compilation.
0.7.1 UPDATE
- this update reenables relocations. #28