Skip to content

IllegalArgumentException “plugin is not registered” on Velocity 3.4.0 + ValioBungee + Redis Server 8.2.2 environment #778

@Mattrolol

Description

@Mattrolol

Setup:

  • Proxy: Velocity 3.4.0 – SNAPSHOT build 555
  • Using ValioBungee 0.12.5 (https://github.com/ProxioDev/ValioBungee) with Redis Server 8.2.2
  • BTLP version: BungeeTabListPlus-3.6.8-SNAPSHOT (built via Jenkins on 18 Oct 2025)

Problem:
On proxy startup I get the following error and the plugin fails to initialize properly:

[19:59:05 ERROR]: Couldn't pass ProxyInitializeEvent to bungeetablistplus 3.6.8-SNAPSHOT
java.lang.IllegalArgumentException: plugin is not registered
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145) ~[velocity-3.4.0-SNAPSHOT-555.jar:3.4.0-SNAPSHOT (git-b6b6b20f-b555)]
        at com.velocitypowered.proxy.scheduler.VelocityScheduler.buildTask(VelocityScheduler.java:84) ~[velocity-3.4.0-SNAPSHOT-555.jar:3.4.0-SNAPSHOT (git-b6b6b20f-b555)]
        at codecrafter47.bungeetablistplus.managers.RedisPlayerManager.<init>(RedisPlayerManager.java:108) ~[?:?]
        at codecrafter47.bungeetablistplus.BungeeTabListPlus.onEnable(BungeeTabListPlus.java:274) ~[?:?]
        at codecrafter47.bungeetablistplus.BootstrapPlugin.onProxyInitializationLate(BootstrapPlugin.java:96) ~[?:?]
        at codecrafter47.bungeetablistplus.Lmbda$6.execute(Unknown Source) ~[?:?]
        at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.4.0-SNAPSHOT-555.jar:3.4.0-SNAPSHOT (git-b6b6b20f-b555)]
        at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:677) ~[velocity-3.4.0-SNAPSHOT-555.jar:3.4.0-SNAPSHOT (git-b6b6b20f-b555)]
        at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:542) ~[velocity-3.4.0-SNAPSHOT-555.jar:3.4.0-SNAPSHOT (git-b6b6b20f-b555)]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

What I think is happening:
It looks like BTLP tries to run a scheduler task before the plugin is fully registered in Velocity.

Notes:

  • The issue happens only when ValioBungee is installed.
  • Removing ValioBungee makes BTLP start successfully with no errors.
  • Redis connection is working fine otherwise.

Request:
Can you please check if BTLP works correctly with Velocity 3.4.0 (build # 555) and ValioBungee?
Maybe something changed in how plugins are registered or in the scheduler API.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions