Solved Velocity plugin messaging not working

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

Lemar98

New member
Apr 20, 2022
2
0
1

4drian3d

Velocity Developer
Jan 5, 2022
60
4
8
Perú
Do not use server.getEventManager().register(this, this);, the main class of your plugin is already registered automatically (that's why the ProxyInitializeEvent listener works)

I would recommend that as an alternative to
private final String channel = "donategiverbungee:channel";
use
private final MinecraftChannelIdentifier channel = MinecraftChannelIdentifier.create("donategiverbungee", "channel");
 

Lemar98

New member
Apr 20, 2022
2
0
1
The problem was that for the message channel to work, there had to be at least one player online on the server. I tested it without players on the server...