Klasse Core

java.lang.Object
de.smoofy.core.api.Core

public abstract class Core extends Object
  • Konstruktordetails

    • Core

      public Core()
  • Methodendetails

    • instance

      protected static void instance(@NotNull @NotNull Core instance)
      Set the instance of the core.
      Parameter:
      instance - the Core instance
    • isPaper

      public abstract boolean isPaper()
      Check if the server is running on paper.
      Gibt zurück:
      true if the server is running on paper, false otherwise
    • config

      public abstract IConfig config(File directory, String fileName)
      Get the config.
      Parameter:
      directory - the directory
      fileName - the file name
      Gibt zurück:
      the IConfig
    • uuidFetcher

      public abstract IUUIDFetcher uuidFetcher()
      Get the UUID fetcher.
      Gibt zurück:
      the IUUIDFetcher
    • countdownProvider

      public abstract ICountdownProvider countdownProvider()
      Get the countdown provider.
      Gibt zurück:
      the ICountdownProvider
    • phaseHandler

      public abstract IPhaseHandler phaseHandler()
      Get the phase handler.
      Gibt zurück:
      the IPhaseHandler
    • gameConfiguration

      public abstract IGameConfiguration gameConfiguration(int minPlayers, int maxPlayers, int teams, int teamSize)
      Create the game configuration.
      Parameter:
      minPlayers - the amount of minimum players
      maxPlayers - the amount of maximum players
      teams - the amount of teams
      teamSize - the amount of players per team
      Gibt zurück:
      the created IGameConfiguration
    • localize

      public abstract ILocalize localize()
      Get the localization.
      Gibt zurück:
      the ILocalize
    • logger

      public abstract ILogger logger(@Nullable @Nullable org.bukkit.plugin.java.JavaPlugin plugin)
      Get the logger.
      Parameter:
      plugin - the plugin
      Gibt zurück:
      the ILogger
    • messageBuilder

      public abstract IMessageBuilder messageBuilder(String text)
      Get the message builder.
      Parameter:
      text - the text
      Gibt zurück:
      the IMessageBuilder
    • hologramProvider

      public abstract IHologramProvider hologramProvider()
      Get the hologram provider.
      Gibt zurück:
      the IHologramProvider
    • coreTask

      public abstract ICoreTask coreTask()
      Get the core task.
      Gibt zurück:
      the ICoreTask
    • corePlayerProvider

      public abstract ICorePlayerProvider corePlayerProvider()
      Get the core player provider.
      Gibt zurück:
      the ICorePlayerProvider
    • timeHandler

      public abstract ITimeHandler timeHandler()
      Get the time handler.
      Gibt zurück:
      the ITimeHandler