public interface IPlugin
  • Method Details

    • disableChecks

      void disableChecks()
      Disables authentication checks
    • enableChecks

      void enableChecks()
      Enables authentication checks
    • onReload

      default void onReload()
      Called when the plugin is reloaded
    • wrapPlayer

      <T> IPlayer wrapPlayer(T player)
      Wraps a platform specific player to a IPlayer.
      Type Parameters:
      T - the platform specific player type
      Parameters:
      player - the player wrap
      Returns:
      the wrapped IPlayer
    • wrap

      <T> ISender wrap(T sender)
      Wraps a platform specific command sender to a ISender.
      Type Parameters:
      T - the platform specific sender type
      Parameters:
      sender - the command sender t9o wrap
      Returns:
      the wrapped ISender
    • getPlaceholderService

      PlaceholderService getPlaceholderService()
      Returns the placeholder service.
      Returns:
      the placeholder service