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.SerializationConfig
Entryfee-settings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntryFee.EntryFeeCurrencySerializor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAmount()
@Nullable org.bukkit.Material
getCurrency()
void
setAmount(double amount)
Sets the amount.void
setCurrency(@Nullable org.bukkit.Material currency)
Sets the currency.protected void
setDefaults()
-
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:
setDefaults
in 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.
-
-