Class EntryFee
- java.lang.Object
-
- me.main__.util.SerializationConfig.SerializationConfig
-
- com.onarandombox.MultiverseCore.configuration.EntryFee
-
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
public class EntryFee extends me.main__.util.SerializationConfig.SerializationConfigEntryfee-settings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntryFee.EntryFeeCurrencySerializor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAmount()@Nullable org.bukkit.MaterialgetCurrency()voidsetAmount(double amount)Sets the amount.voidsetCurrency(@Nullable org.bukkit.Material currency)Sets the currency.protected voidsetDefaults()-
Methods inherited from class me.main__.util.SerializationConfig.SerializationConfig
buildVPropChanges, copyValues, flushPendingVPropChanges, getAliasMap, getAliasMap, getProperty, getProperty, getPropertyDescription, getPropertyDescription, getPropertyDescriptionUnchecked, getPropertyDescriptionUnchecked, getPropertyUnchecked, getPropertyUnchecked, initLogging, loadValues, registerAlias, registerAlias, registerAll, registerGlobalValidator, registerObjectUsing, registerValidator, serialize, setProperty, setProperty, setPropertyUnchecked, setPropertyUnchecked, setPropertyValue, setPropertyValue, setPropertyValueUnchecked, setPropertyValueUnchecked, unregisterAll
-
-
-
-
Method Detail
-
setDefaults
protected void setDefaults()
- Specified by:
setDefaultsin classme.main__.util.SerializationConfig.SerializationConfig
-
getAmount
public double getAmount()
- Returns:
- the amount
-
getCurrency
@Nullable public @Nullable org.bukkit.Material getCurrency()
- Returns:
- the currency
-
setAmount
public void setAmount(double amount)
Sets the amount.- Parameters:
amount- The new value.
-
setCurrency
public void setCurrency(@Nullable @Nullable org.bukkit.Material currency)Sets the currency.- Parameters:
currency- The new value.
-
-