Solved Velocity plugin messaging not working

Lemar98

New member
Apr 20, 2022
2
0
1

4drian3d

Member
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...