Class PlanetConfig

java.lang.Object
ua.mcchickenstudio.opencreative.planets.PlanetConfig

public class PlanetConfig extends Object

PlanetConfig

This class represents a config of planet.
  • Constructor Details

    • PlanetConfig

      public PlanetConfig(@NotNull @NotNull Planet planet)
  • Method Details

    • load

      @NotNull public @NotNull CompletableFuture<Void> load()
    • set

      public void set(@NotNull @NotNull String key, Object value)
    • getConfig

      @NotNull public @NotNull org.bukkit.configuration.file.FileConfiguration getConfig()
    • remove

      public void remove(@NotNull @NotNull String key)
    • unload

      public void unload()
    • isChanged

      public boolean isChanged()
    • setChanged

      public void setChanged(boolean changed)
    • save

      public CompletableFuture<Void> save()