Class Config

java.lang.Object
com.bencodez.simpleapi.file.YMLFile
com.bencodez.votingplugin.config.Config

public class Config extends com.bencodez.simpleapi.file.YMLFile
The Class Config.
  • Constructor Details

  • Method Details

    • getBlackList

      public ArrayList<String> getBlackList()
      Gets the black list.
      Returns:
      the black list
    • getCustomPlaceholderReturns

      public Set<String> getCustomPlaceholderReturns(String placeholder)
    • getCustomPlaceholderReturns

      public String getCustomPlaceholderReturns(String placeholder, String returnString)
    • getCustomCommands

      public org.bukkit.configuration.ConfigurationSection getCustomCommands(String ident)
    • getPlaceholderCacheLevel

      public PlaceholderCacheLevel getPlaceholderCacheLevel()
    • getFormatCommandsVoteParty

      public ArrayList<String> getFormatCommandsVoteParty()
      Gets the commands vote party.
      Returns:
      the commands vote party
    • getFormatCommandsVoteStreakLines

      public ArrayList<String> getFormatCommandsVoteStreakLines()
    • getFormatCommandsVoteText

      public ArrayList<String> getFormatCommandsVoteText()
      Gets the commands vote text.
      Returns:
      the commands vote text
    • getFormatCommandsVoteTotal

      public ArrayList<String> getFormatCommandsVoteTotal()
    • getFormatCommandsVoteTotalAll

      public ArrayList<String> getFormatCommandsVoteTotalAll()
    • getFormatVoteHelp

      public ArrayList<String> getFormatVoteHelp()
      Gets the vote help.
      Returns:
      the vote help
    • getLoadTopVoter

      public boolean getLoadTopVoter(TopVoter top)
    • getVoteRemindingRewardsPath

      public String getVoteRemindingRewardsPath()
      Gets the rewards.
      Returns:
      the rewards
    • loadValues

      public void loadValues()
      Overrides:
      loadValues in class com.bencodez.simpleapi.file.YMLFile
    • onFileCreation

      public void onFileCreation()
      Specified by:
      onFileCreation in class com.bencodez.simpleapi.file.YMLFile
    • isAddCustomCommands

      public boolean isAddCustomCommands()
    • isAddTotals

      public boolean isAddTotals()
    • isAddTotalsOffline

      public boolean isAddTotalsOffline()
    • isLoadInteralExpansion

      public boolean isLoadInteralExpansion()
    • isPerSiteCoolDownEvents

      public boolean isPerSiteCoolDownEvents()
    • getLimitVotePoints

      public int getLimitVotePoints()
    • isQueueVotesDuringTimeChange

      public boolean isQueueVotesDuringTimeChange()
    • isAdvancedServiceSiteHandling

      public boolean isAdvancedServiceSiteHandling()
    • isAllowUnjoined

      public boolean isAllowUnjoined()
    • isPreloadSkulls

      public boolean isPreloadSkulls()
    • isAllowUnJoinedCheckServer

      public boolean isAllowUnJoinedCheckServer()
    • isAllowVotePointTransfers

      public boolean isAllowVotePointTransfers()
    • isAlternateUUIDLookup

      public boolean isAlternateUUIDLookup()
    • isAlwaysCloseInventory

      public boolean isAlwaysCloseInventory()
    • isExtraVoteShopCheck

      public boolean isExtraVoteShopCheck()
    • isTrackShopPurchases

      public boolean isTrackShopPurchases()
    • isAlwaysUpdate

      public boolean isAlwaysUpdate()
    • isAutoCreateVoteSites

      public boolean isAutoCreateVoteSites()
    • isBroadcastVotesEnabled

      public boolean isBroadcastVotesEnabled()
    • isCountFakeVotes

      public boolean isCountFakeVotes()
    • getDelayBetweenUpdates

      public int getDelayBetweenUpdates()
    • isDisableAdvancedTab

      public boolean isDisableAdvancedTab()
    • isDisableCoolDownCheck

      public boolean isDisableCoolDownCheck()
    • getDisabledCommands

      public ArrayList<String> getDisabledCommands()
    • getDisabledDefaultPermissions

      public ArrayList<String> getDisabledDefaultPermissions()
    • getCachedPlaceholders

      public ArrayList<String> getCachedPlaceholders()
    • isDisableInteractEvent

      public boolean isDisableInteractEvent()
    • isDisableNoServiceSiteMessage

      public boolean isDisableNoServiceSiteMessage()
    • isDisableUpdateChecking

      public boolean isDisableUpdateChecking()
    • isExtraAllSitesCheck

      public boolean isExtraAllSitesCheck()
    • isCloseInventoryOnVote

      public boolean isCloseInventoryOnVote()
    • isExtraBackgroundUpdate

      public boolean isExtraBackgroundUpdate()
    • getFormatAlternateBroadcastBroadcast

      public String getFormatAlternateBroadcastBroadcast()
    • getFormatAlternateBroadcastDelay

      public int getFormatAlternateBroadcastDelay()
    • isFormatAlternateBroadcastEnabled

      public boolean isFormatAlternateBroadcastEnabled()
    • isFormatOnlyOneOfflineBroadcast

      public boolean isFormatOnlyOneOfflineBroadcast()
    • getFormatOfflineBroadcast

      public String getFormatOfflineBroadcast()
    • isFormatCommandsVoteForceLinks

      public boolean isFormatCommandsVoteForceLinks()
    • getFormatCommandsVoteLastLastVoted

      public String getFormatCommandsVoteLastLastVoted()
    • getFormatCommandsVoteGivePointsNotEnoughPoints

      public String getFormatCommandsVoteGivePointsNotEnoughPoints()
    • getFormatCommandsVoteGivePointsNotJoinedServer

      public String getFormatCommandsVoteGivePointsNotJoinedServer()
    • getFormatCommandsVoteGivePointsNumberLowerThanZero

      public String getFormatCommandsVoteGivePointsNumberLowerThanZero()
    • getFormatCommandsVoteGivePointsTransferFrom

      public String getFormatCommandsVoteGivePointsTransferFrom()
    • getFormatCommandsVoteGivePointsTransferTo

      public String getFormatCommandsVoteGivePointsTransferTo()
    • getFormatCommandsVoteLastLine

      public String getFormatCommandsVoteLastLine()
    • getFormatCommandsVoteLastNeverVoted

      public String getFormatCommandsVoteLastNeverVoted()
    • isFormatCommandsVoteLastIncludeSeconds

      public boolean isFormatCommandsVoteLastIncludeSeconds()
    • getFormatCommandsVoteLastTimeFormat

      public String getFormatCommandsVoteLastTimeFormat()
    • getFormatCommandsVoteTodayLine

      public String getFormatCommandsVoteTodayLine()
    • getFormatCommandsVoteTodayTitle

      public ArrayList<String> getFormatCommandsVoteTodayTitle()
    • getFormatCommandsVoteToggleBroadcastDisabled

      public String getFormatCommandsVoteToggleBroadcastDisabled()
    • getFormatCommandsVoteToggleBroadcastEnabled

      public String getFormatCommandsVoteToggleBroadcastEnabled()
    • getFormatCommandsVoteToggleRemindersDisabled

      public String getFormatCommandsVoteToggleRemindersDisabled()
    • getFormatCommandsVoteToggleRemindersEnabled

      public String getFormatCommandsVoteToggleRemindersEnabled()
    • getFormatPageSize

      public int getFormatPageSize()
    • getFormatTimeFormatsDay

      public String getFormatTimeFormatsDay()
    • getFormatTimeFormatsDays

      public String getFormatTimeFormatsDays()
    • getFormatTimeFormatsHour

      public String getFormatTimeFormatsHour()
    • getFormatTimeFormatsHours

      public String getFormatTimeFormatsHours()
    • getFormatTimeFormatsMinute

      public String getFormatTimeFormatsMinute()
    • getFormatTimeFormatsMinutes

      public String getFormatTimeFormatsMinutes()
    • getFormatTimeFormatsSecond

      public String getFormatTimeFormatsSecond()
    • getFormatTimeFormatsSeconds

      public String getFormatTimeFormatsSeconds()
    • isLimitMonthlyVotes

      public boolean isLimitMonthlyVotes()
    • isLoadCommandAliases

      public boolean isLoadCommandAliases()
    • isLogVotesToFile

      public boolean isLogVotesToFile()
    • getMaxiumNumberOfTopVotersToLoad

      public int getMaxiumNumberOfTopVotersToLoad()
    • isOverrideVersionDisable

      public boolean isOverrideVersionDisable()
    • isPreventRepeatMilestones

      public boolean isPreventRepeatMilestones()
    • isOfflineVotesLimitEnabled

      public boolean isOfflineVotesLimitEnabled()
    • getOfflineVotesLimitAmount

      public int getOfflineVotesLimitAmount()
    • isUpdateWithPlayersOnlineOnly

      public boolean isUpdateWithPlayersOnlineOnly()
    • isUseHighestTotals

      public boolean isUseHighestTotals()
    • isUseJavascriptPlaceholders

      public boolean isUseJavascriptPlaceholders()
    • isUsePrimaryAccountForPlaceholders

      public boolean isUsePrimaryAccountForPlaceholders()
    • isUseVoteGUIMainCommand

      public boolean isUseVoteGUIMainCommand()
    • isUseVoteStreaks

      public boolean isUseVoteStreaks()
    • getVotingBroadcastBlacklist

      public ArrayList<String> getVotingBroadcastBlacklist()
    • getCustomCommands

      public Set<String> getCustomCommands()
    • getCustomPlaceholderReturns

      public Set<String> getCustomPlaceholderReturns()
    • getFormatBroadCastMsg

      public String getFormatBroadCastMsg()
    • isFormatBroadcastWhenOnline

      public boolean isFormatBroadcastWhenOnline()
    • isFormatCommandsVoteAutoInputSites

      public boolean isFormatCommandsVoteAutoInputSites()
    • isFormatCommandsVoteOnlyShowSitesToVote

      public boolean isFormatCommandsVoteOnlyShowSitesToVote()
    • getFormatCommandsVoteBestLines

      public ArrayList<String> getFormatCommandsVoteBestLines()
    • getFormatCommandsVoteBestTitle

      public String getFormatCommandsVoteBestTitle()
    • getFormatCommandsVoteHelpHoverColor

      public String getFormatCommandsVoteHelpHoverColor()
    • getFormatCommandsVoteHelpLine

      public String getFormatCommandsVoteHelpLine()
    • isFormatCommandsVoteHelpRequirePermission

      public boolean isFormatCommandsVoteHelpRequirePermission()
    • getFormatCommandsVoteHelpTitle

      public String getFormatCommandsVoteHelpTitle()
    • getFormatCommandsVoteLastTitle

      public String getFormatCommandsVoteLastTitle()
    • getFormatCommandsVoteNextInfoCanVote

      public String getFormatCommandsVoteNextInfoCanVote()
    • getFormatCommandsVoteNextInfoError

      public String getFormatCommandsVoteNextInfoError()
    • getFormatCommandsVoteNextInfoTime

      public String getFormatCommandsVoteNextInfoTime()
    • getFormatCommandsVoteNextInfoVoteDelayDaily

      public String getFormatCommandsVoteNextInfoVoteDelayDaily()
    • getPlaceholderCacheLevelString

      public String getPlaceholderCacheLevelString()
    • getFormatCommandsVoteNextLayout

      public String getFormatCommandsVoteNextLayout()
    • getFormatCommandsVoteNextTitle

      public String getFormatCommandsVoteNextTitle()
    • getFormatCommandsVoteStreakTitle

      public String getFormatCommandsVoteStreakTitle()
    • getFormatCommandsVoteURLS

      public String getFormatCommandsVoteURLS()
    • getFormatCommandsVotePoints

      public String getFormatCommandsVotePoints()
    • getFormatCommandsVoteTopLine

      public String getFormatCommandsVoteTopLine()
    • getFormatCommandVoteTopTitle

      public String getFormatCommandVoteTopTitle()
    • getFormatNextPage

      public String getFormatNextPage()
    • getFormatNoPerms

      public String getFormatNoPerms()
    • getFormatNotNumber

      public String getFormatNotNumber()
    • getFormatPrevPage

      public String getFormatPrevPage()
    • getFormatShopFailedMsg

      public String getFormatShopFailedMsg()
    • getFormatShopNotPurchasable

      public String getFormatShopNotPurchasable()
    • getFormatShopPurchaseMsg

      public String getFormatShopPurchaseMsg()
    • getFormatSignTopVoterSignLine1

      public String getFormatSignTopVoterSignLine1()
    • getFormatSignTopVoterSignLine2

      public String getFormatSignTopVoterSignLine2()
    • getFormatSignTopVoterSignLine3

      public String getFormatSignTopVoterSignLine3()
    • getFormatSignTopVoterSignLine4

      public String getFormatSignTopVoterSignLine4()
    • getFormatSignTopVoterSignRightClickMessage

      public String getFormatSignTopVoterSignRightClickMessage()
    • getFormatTimeFormat

      public String getFormatTimeFormat()
    • getFormatTopVoterAllTime

      public String getFormatTopVoterAllTime()
    • getFormatTopVoterDaily

      public String getFormatTopVoterDaily()
    • getFormatTopVoterMonthly

      public String getFormatTopVoterMonthly()
    • getFormatTopVoterRewardMsg

      public String getFormatTopVoterRewardMsg()
    • getFormatTopVoterWeekly

      public String getFormatTopVoterWeekly()
    • getFormatUserNotExist

      public String getFormatUserNotExist()
    • getFormatInvalidCommandVote

      public String getFormatInvalidCommandVote()
    • getFormatInvalidCommandAdminVote

      public String getFormatInvalidCommandAdminVote()
    • isGiveDefaultPermission

      public boolean isGiveDefaultPermission()
    • isLoadTopVoterAllTime

      public boolean isLoadTopVoterAllTime()
    • isLoadTopVoterMonthly

      public boolean isLoadTopVoterMonthly()
    • isLoadTopVoterDaily

      public boolean isLoadTopVoterDaily()
    • isLoadTopVoterWeekly

      public boolean isLoadTopVoterWeekly()
    • getPointsOnVote

      public int getPointsOnVote()
    • getPurgeMin

      public int getPurgeMin()
    • isPurgeOldData

      public boolean isPurgeOldData()
    • getRequestAPIDefaultMethod

      public String getRequestAPIDefaultMethod()
    • getRequestAPIDisabledMethods

      public ArrayList<String> getRequestAPIDisabledMethods()
    • isStoreTopVotersDaily

      public boolean isStoreTopVotersDaily()
    • isStoreTopVotersWeekly

      public boolean isStoreTopVotersWeekly()
    • isTopVoterAwardsTies

      public boolean isTopVoterAwardsTies()
    • isTopVoterIgnorePermission

      public boolean isTopVoterIgnorePermission()
    • isVoteRemindingEnabled

      public boolean isVoteRemindingEnabled()
    • getVoteRemindingRemindDelay

      public int getVoteRemindingRemindDelay()
    • isVoteRemindingRemindOnLogin

      public boolean isVoteRemindingRemindOnLogin()
    • isVoteRemindingRemindOnlyOnce

      public boolean isVoteRemindingRemindOnlyOnce()
    • getVoteTopDefault

      public String getVoteTopDefault()