diff --git a/VotingPlugin/src/com/bencodez/votingplugin/placeholders/PlaceHolders.java b/VotingPlugin/src/com/bencodez/votingplugin/placeholders/PlaceHolders.java index 65493324d..d6e5cbc6e 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/placeholders/PlaceHolders.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/placeholders/PlaceHolders.java @@ -505,6 +505,14 @@ public String placeholderRequest(VotingPluginUser user, String identifier) { } }.withDescription("How long until user can vote on anysite").updateDataKey("LastVotes")); + placeholders.add(new PlaceHolder("SitesAvailable") { + + @Override + public String placeholderRequest(VotingPluginUser user, String identifier) { + return "" + user.getSitesNotVotedOn(); + } + }.withDescription("Get number of sites available to be voted on").updateDataKey("LastVotes")); + for (final VoteSite voteSite : plugin.getVoteSites()) { placeholders.add(new CalculatingPlaceholder("Next_" + voteSite.getKey()) {