mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-05 04:48:02 +00:00
log version / build date
This commit is contained in:
parent
b7433bc9a3
commit
76c362cf66
@ -49,7 +49,7 @@ proxy-id: "proxy-1"
|
||||
|
||||
# since version 0.8.0 Internally now uses JedisPooled instead of Jedis, JedisPool.
|
||||
# which will break compatibility with old plugins that uses RedisBungee JedisPool
|
||||
# so to mitigate this issue, we will instruct RedisBungee to init an JedisPool for compatibility reasons.
|
||||
# so to mitigate this issue, RedisBungee will create an JedisPool for compatibility reasons.
|
||||
# disabled by default
|
||||
# ignored when cluster mode is enabled
|
||||
enable-jedis-pool-compatibility: false
|
||||
|
@ -25,6 +25,7 @@ default-language: en
|
||||
# https://minecraft.fandom.com/wiki/Language
|
||||
use-client-language: true
|
||||
|
||||
# messages
|
||||
messages:
|
||||
logged-in-other-location:
|
||||
en: "<color:red>You logged in from another location!"
|
||||
@ -36,4 +37,18 @@ messages:
|
||||
en: "<color:green>Connecting you to %s..."
|
||||
|
||||
|
||||
# commands:
|
||||
# commands common messages:
|
||||
commands-common:
|
||||
player-not-found:
|
||||
en: "<color:red>Player not found."
|
||||
player-not-specified:
|
||||
en: "<color:red>You must specify a player name."
|
||||
command-not-specified:
|
||||
en: "<color:red>You must specify a command to be run."
|
||||
|
||||
# commands
|
||||
#commands:
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
@ -185,6 +185,8 @@ public class RedisBungee extends Plugin implements RedisBungeePlugin<ProxiedPlay
|
||||
@Override
|
||||
public void initialize() {
|
||||
logInfo("Initializing RedisBungee.....");
|
||||
logInfo("Version: {}", Constants.VERSION);
|
||||
logInfo("Build date: {}", Constants.BUILD_DATE);
|
||||
ThreadFactory factory = ((ThreadPoolExecutor) getExecutorService()).getThreadFactory();
|
||||
ScheduledExecutorService service = Executors.newScheduledThreadPool(24, factory);
|
||||
try {
|
||||
|
@ -93,6 +93,8 @@ public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player>, Con
|
||||
this.server = server;
|
||||
this.logger = logger;
|
||||
this.dataFolder = dataDirectory;
|
||||
logInfo("Version: {}", Constants.VERSION);
|
||||
logInfo("Build date: {}", Constants.BUILD_DATE);
|
||||
try {
|
||||
loadConfig(this, dataDirectory);
|
||||
} catch (IOException e) {
|
||||
@ -252,7 +254,7 @@ public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player>, Con
|
||||
|
||||
@Override
|
||||
public void initialize() {
|
||||
logInfo("Initializing RedisBungee.....");
|
||||
logInfo("Initializing RedisBungee.....");;
|
||||
// start heartbeat task
|
||||
// heartbeat and clean up
|
||||
this.heartbeatTask = server.getScheduler().buildTask(this, this.proxyDataManager::publishHeartbeat).repeat(Duration.ofSeconds(1)).schedule();
|
||||
|
Loading…
Reference in New Issue
Block a user