Solved NuVotifier - VotifierEvent does not work

Discussion in 'Spigot Plugin Development' started by Spjiuh435, Sep 14, 2019.

  1. I am using NuVotifier and the server is able to receive votes.

    However, i have registered a VotifierEvent in my plugin but it does not get called when a vote arrives (and it is registered correctly).

    I also installed this VotingPlugin for rewards and it seems to be working fine but my plugin does not work because the VotifierEvent is not called.

    Any idea what i did wrong??

    Code (Text):
    public void onEnable(){
         Bukkit.getPluginManager().registerEvents(this, this)
    }

    @EventHandler
    public void onVote(VotifierEvent e){
        System.out.println("VOTE!!!!!!!!!!!");
    }