Class PaperWorld

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

public class PaperWorld extends Object
The PaperWorld class manages the paper-world-defaults.yml configuration file.
  • Constructor Details Link icon

    • PaperWorld Link icon

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

    • setInt Link icon

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

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

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

      public boolean getBoolean(PaperWorld.Key key)
      Gets a requested key's value.
      Parameters:
      key - Key - The requested key.
    • getObject Link icon

      public Object getObject(PaperWorld.Key key)
      Gets a requested key's value.
      Parameters:
      key - Key - The requested key.
    • getString Link icon

      public String getString(PaperWorld.Key key)
      Gets a requested key's value.
      Parameters:
      key - Key - The requested key.
    • setString Link icon

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