Klay, Yeah it would work perfectly,just I needed to create final variable,because when calling from inside of ThreadPoolManager you have to call variable of type final. te0x, This code is easy to redo for NPC:
if (actualCommand.startsWith("command"))
VotingReward.showVoteHtml(activeChar);
This would be a bit of waste if you don't want /vote command at all,but I think it should work.