Class VoteSite

java.lang.Object
com.bencodez.votingplugin.objects.VoteSite

public class VoteSite extends Object
The Class VoteSite.
  • Constructor Details

  • Method Details

    • broadcastVote

      public void broadcastVote(VotingPluginUser user)
    • broadcastVote

      public void broadcastVote(VotingPluginUser user, boolean checkBungee)
      Broadcast vote.
      Parameters:
      user - the user
      checkBungee - check bungee broadcast
    • getItem

      public com.bencodez.advancedcore.api.item.ItemBuilder getItem()
      Returns:
      the item
    • getSiteData

      public org.bukkit.configuration.ConfigurationSection getSiteData()
    • getVoteURL

      public String getVoteURL()
    • getVoteURL

      public String getVoteURL(boolean json)
    • getVoteURLJsonStrip

      public String getVoteURLJsonStrip()
    • giveRewards

      public void giveRewards(VotingPluginUser user, boolean online, boolean bungee)
    • hasRewards

      public boolean hasRewards()
    • init

      public void init()
      Inits the.
    • isVaidServiceSite

      public boolean isVaidServiceSite()
    • loadingDebug

      public String loadingDebug()
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • isGiveOffline

      public boolean isGiveOffline()
    • setGiveOffline

      public void setGiveOffline(boolean giveOffline)
    • isHidden

      public boolean isHidden()
    • setHidden

      public void setHidden(boolean hidden)
    • isIgnoreCanVote

      public boolean isIgnoreCanVote()
    • setIgnoreCanVote

      public void setIgnoreCanVote(boolean ignoreCanVote)
    • setItem

      public void setItem(org.bukkit.configuration.ConfigurationSection item)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getPriority

      public int getPriority()
    • setPriority

      public void setPriority(int priority)
    • getServiceSite

      public String getServiceSite()
    • setServiceSite

      public void setServiceSite(String serviceSite)
    • getVoteDelayDailyHour

      public int getVoteDelayDailyHour()
    • setVoteDelayDailyHour

      public void setVoteDelayDailyHour(int voteDelayDailyHour)
    • getVoteDelay

      public double getVoteDelay()
    • setVoteDelay

      public void setVoteDelay(double voteDelay)
    • isVoteDelayDaily

      public boolean isVoteDelayDaily()
    • setVoteDelayDaily

      public void setVoteDelayDaily(boolean voteDelayDaily)
    • getVoteDelayMin

      public double getVoteDelayMin()
    • setVoteDelayMin

      public void setVoteDelayMin(double voteDelayMin)
    • setVoteURL

      public void setVoteURL(String voteURL)
    • getPermissionToView

      public String getPermissionToView()
    • setPermissionToView

      public void setPermissionToView(String permissionToView)
    • isWaitUntilVoteDelay

      public boolean isWaitUntilVoteDelay()
    • setWaitUntilVoteDelay

      public void setWaitUntilVoteDelay(boolean waitUntilVoteDelay)