Like?
Code:if(playerCommand.equalsIgnoreCase("reward") && player.hasVoted()) { c.getItems().addItem(0000, 1); } else { c.sendMessage("You have not voted in the last 24 hours"); }
Some derivative of this I would assume. I'm sure there is more to it, I'm still not 100% sure what you are asking other then you want a reward command.