Class EntryFee

  • All Implemented Interfaces:
    org.bukkit.configuration.serialization.ConfigurationSerializable

    public class EntryFee
    extends me.main__.util.SerializationConfig.SerializationConfig
    Entryfee-settings.
    • Constructor Summary

      Constructors 
      Constructor Description
      EntryFee()  
      EntryFee​(java.util.Map<java.lang.String,​java.lang.Object> values)  
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EntryFee

        public EntryFee()
      • EntryFee

        public EntryFee​(java.util.Map<java.lang.String,​java.lang.Object> values)
    • Method Detail

      • setDefaults

        protected void setDefaults()
        Specified by:
        setDefaults in class me.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.