@Override
    protected MessagingFactory<?> provideMessagingFactory() {
        return new VelocityMessagingFactory(this);
    }
LuckPerms implementation for the Velocity API.
velocity/src/main/java/me/lucko/luckperms/velocity/LPVelocityPlugin.java