Package com.bencodez.votingplugin.config
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the black list.org.bukkit.configuration.ConfigurationSection
getCustomCommands
(String ident) getCustomPlaceholderReturns
(String placeholder) getCustomPlaceholderReturns
(String placeholder, String returnString) int
int
Gets the commands vote party.Gets the commands vote text.int
Gets the vote help.int
boolean
getLoadTopVoter
(TopVoter top) int
int
int
int
int
Gets the rewards.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
Methods inherited from class com.bencodez.simpleapi.file.YMLFile
createSection, getData, getdFile, getPlugin, isFailedToRead, isJustCreated, reloadData, saveData, setData, setup, setValue
-
Constructor Details
-
Config
-
-
Method Details
-
getBlackList
Gets the black list.- Returns:
- the black list
-
getCustomPlaceholderReturns
-
getCustomPlaceholderReturns
-
getCustomCommands
-
getPlaceholderCacheLevel
-
getFormatCommandsVoteParty
Gets the commands vote party.- Returns:
- the commands vote party
-
getFormatCommandsVoteStreakLines
-
getFormatCommandsVoteText
Gets the commands vote text.- Returns:
- the commands vote text
-
getFormatCommandsVoteTotal
-
getFormatCommandsVoteTotalAll
-
getFormatVoteHelp
Gets the vote help.- Returns:
- the vote help
-
getLoadTopVoter
-
getVoteRemindingRewardsPath
Gets the rewards.- Returns:
- the rewards
-
loadValues
public void loadValues()- Overrides:
loadValues
in classcom.bencodez.simpleapi.file.YMLFile
-
onFileCreation
public void onFileCreation()- Specified by:
onFileCreation
in classcom.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
-
getDisabledDefaultPermissions
-
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
-
getFormatAlternateBroadcastDelay
public int getFormatAlternateBroadcastDelay() -
isFormatAlternateBroadcastEnabled
public boolean isFormatAlternateBroadcastEnabled() -
isFormatOnlyOneOfflineBroadcast
public boolean isFormatOnlyOneOfflineBroadcast() -
getFormatOfflineBroadcast
-
isFormatCommandsVoteForceLinks
public boolean isFormatCommandsVoteForceLinks() -
getFormatCommandsVoteLastLastVoted
-
getFormatCommandsVoteGivePointsNotEnoughPoints
-
getFormatCommandsVoteGivePointsNotJoinedServer
-
getFormatCommandsVoteGivePointsNumberLowerThanZero
-
getFormatCommandsVoteGivePointsTransferFrom
-
getFormatCommandsVoteGivePointsTransferTo
-
getFormatCommandsVoteLastLine
-
getFormatCommandsVoteLastNeverVoted
-
isFormatCommandsVoteLastIncludeSeconds
public boolean isFormatCommandsVoteLastIncludeSeconds() -
getFormatCommandsVoteLastTimeFormat
-
getFormatCommandsVoteTodayLine
-
getFormatCommandsVoteTodayTitle
-
getFormatCommandsVoteToggleBroadcastDisabled
-
getFormatCommandsVoteToggleBroadcastEnabled
-
getFormatCommandsVoteToggleRemindersDisabled
-
getFormatCommandsVoteToggleRemindersEnabled
-
getFormatPageSize
public int getFormatPageSize() -
getFormatTimeFormatsDay
-
getFormatTimeFormatsDays
-
getFormatTimeFormatsHour
-
getFormatTimeFormatsHours
-
getFormatTimeFormatsMinute
-
getFormatTimeFormatsMinutes
-
getFormatTimeFormatsSecond
-
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
-
getCustomCommands
-
getCustomPlaceholderReturns
-
getFormatBroadCastMsg
-
isFormatBroadcastWhenOnline
public boolean isFormatBroadcastWhenOnline() -
isFormatCommandsVoteAutoInputSites
public boolean isFormatCommandsVoteAutoInputSites() -
isFormatCommandsVoteOnlyShowSitesToVote
public boolean isFormatCommandsVoteOnlyShowSitesToVote() -
getFormatCommandsVoteBestLines
-
getFormatCommandsVoteBestTitle
-
getFormatCommandsVoteHelpHoverColor
-
getFormatCommandsVoteHelpLine
-
isFormatCommandsVoteHelpRequirePermission
public boolean isFormatCommandsVoteHelpRequirePermission() -
getFormatCommandsVoteHelpTitle
-
getFormatCommandsVoteLastTitle
-
getFormatCommandsVoteNextInfoCanVote
-
getFormatCommandsVoteNextInfoError
-
getFormatCommandsVoteNextInfoTime
-
getFormatCommandsVoteNextInfoVoteDelayDaily
-
getPlaceholderCacheLevelString
-
getFormatCommandsVoteNextLayout
-
getFormatCommandsVoteNextTitle
-
getFormatCommandsVoteStreakTitle
-
getFormatCommandsVoteURLS
-
getFormatCommandsVotePoints
-
getFormatCommandsVoteTopLine
-
getFormatCommandVoteTopTitle
-
getFormatNextPage
-
getFormatNoPerms
-
getFormatNotNumber
-
getFormatPrevPage
-
getFormatShopFailedMsg
-
getFormatShopNotPurchasable
-
getFormatShopPurchaseMsg
-
getFormatSignTopVoterSignLine1
-
getFormatSignTopVoterSignLine2
-
getFormatSignTopVoterSignLine3
-
getFormatSignTopVoterSignLine4
-
getFormatSignTopVoterSignRightClickMessage
-
getFormatTimeFormat
-
getFormatTopVoterAllTime
-
getFormatTopVoterDaily
-
getFormatTopVoterMonthly
-
getFormatTopVoterRewardMsg
-
getFormatTopVoterWeekly
-
getFormatUserNotExist
-
getFormatInvalidCommandVote
-
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
-
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
-