Class Pufferfish

java.lang.Object
net.lewmc.kryptonite.kos.config.Pufferfish

public class Pufferfish extends Object
The Pufferfish class manages the pufferfish.yml configuration file.
  • Constructor Details

    • Pufferfish

      public Pufferfish(Kryptonite plugin, org.bukkit.command.CommandSender user)
      Constructor for the Pufferfish class.
      Parameters:
      plugin - Kryptonite - Reference to the main plugin class.
      user - CommandSender - The user who sent the command.
  • Method Details

    • setInt

      public void setInt(Pufferfish.Key key, int value)
      Sets a requested key to a requested value.
      Parameters:
      key - Key - The requested key.
      value - int - The requested value.
    • getInt

      public int getInt(Pufferfish.Key key)
      Gets a requested key's value.
      Parameters:
      key - Key - The requested key.
    • setBoolean

      public void setBoolean(Pufferfish.Key key, boolean value)
      Sets a requested key to a requested value.
      Parameters:
      key - Key - The requested key.
      value - int - The requested value.
    • getBoolean

      public boolean getBoolean(Pufferfish.Key key)
      Gets a requested key's value.
      Parameters:
      key - Key - The requested key.
    • setString

      public void setString(Pufferfish.Key key, String value)
      Sets a requested key to a requested value.
      Parameters:
      key - Key - The requested key.
      value - int - The requested value.