@Override
    public Sender getConsoleSender() {
        return this.senderFactory.wrap(this.bootstrap.getProxy().getConsoleCommandSource());
    }
LuckPerms implementation for the Velocity API.
velocity/src/main/java/me/lucko/luckperms/velocity/LPVelocityPlugin.java