Package com.bencodez.votingplugin.config
Class ShopFile
java.lang.Object
com.bencodez.simpleapi.file.YMLFile
com.bencodez.votingplugin.config.ShopFile
public class ShopFile
extends com.bencodez.simpleapi.file.YMLFile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
createShop
(String value) org.bukkit.configuration.ConfigurationSection
org.bukkit.configuration.ConfigurationSection
org.bukkit.configuration.ConfigurationSection
int
getShopIdentifierCost
(String identifier) getShopIdentifierIdentifierName
(String identifier) int
getShopIdentifierLimit
(String identifier) getShopIdentifierRewardsPath
(String identifier) org.bukkit.configuration.ConfigurationSection
getShopIdentifierSection
(String identifier) boolean
getVoteShopCloseGUI
(String shop) boolean
boolean
getVoteShopNotBuyable
(String shop) getVoteShopPermission
(String ident) getVoteShopPurchase
(String identifier) boolean
getVoteShopResetDaily
(String shop) boolean
boolean
getVoteShopResetWeekly
(String shop) boolean
boolean
boolean
boolean
boolean
boolean
isVoteShopRequireConfirmation
(String identifier) void
void
void
removeShop
(String value) Methods inherited from class com.bencodez.simpleapi.file.YMLFile
createSection, getData, getdFile, getPlugin, isFailedToRead, isJustCreated, reloadData, saveData, setData, setup, setValue
-
Constructor Details
-
ShopFile
-
-
Method Details
-
createShop
-
getShopIdentifierCost
-
getShopIdentifierIdentifierName
-
getShopIdentifierLimit
-
getShopIdentifierRewardsPath
-
getShopIdentifiers
-
getShopIdentifierSection
-
getVoteShopCloseGUI
-
getVoteShopHideOnNoPermission
-
getVoteShopNotBuyable
-
getVoteShopPermission
-
getVoteShopPurchase
-
getVoteShopResetDaily
-
getVoteShopResetMonthly
-
getVoteShopResetWeekly
-
getGUIVoteShopExtraItems
-
isVoteShopRequireConfirmation
-
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
-
convertFromGUIFile
public void convertFromGUIFile() -
removeShop
-
getShopConfirmPurchaseNoItem
public org.bukkit.configuration.ConfigurationSection getShopConfirmPurchaseNoItem() -
getShopConfirmPurchaseTitle
-
getShopConfirmPurchaseYesItem
public org.bukkit.configuration.ConfigurationSection getShopConfirmPurchaseYesItem() -
getVoteShopDisabled
-
isVoteShopHideLimitedReached
public boolean isVoteShopHideLimitedReached() -
getVoteShopLimitReached
-
isVoteShopRequireConfirmation
public boolean isVoteShopRequireConfirmation() -
isVoteShopBackButton
public boolean isVoteShopBackButton() -
isVoteShopReopenGUIOnPurchase
public boolean isVoteShopReopenGUIOnPurchase() -
isVoteShopEnabled
public boolean isVoteShopEnabled() -
getVoteShopName
-
getVoteShopExtraItems
-