Interface ShopLayout


public interface ShopLayout
A ShopLayout is what's dealing with the look-and-feel of a shop.
By default MBedwars delivers types such as ShopLayoutType.HYPIXEL.
This instance only represents the info of a layout. The actual logic is located in ShopLayoutHandler.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the handler of it
    Returns the name of the layout that will be shown inter alia in the shop config
    Returns the plugin that has created the layout
    Returns the type of the layout to make it easier to differentiate to default ones
    boolean
    Returns whether or not the layout is in beta state
    Beta meaning that the layout hasn't been completely finished yet or hasn't been tested
  • Method Details

    • getType

      default ShopLayoutType getType()
      Returns the type of the layout to make it easier to differentiate to default ones
      Returns:
      The type
    • getName

      String getName()
      Returns the name of the layout that will be shown inter alia in the shop config
      Returns:
      The name
    • isBeta

      boolean isBeta()
      Returns whether or not the layout is in beta state
      Beta meaning that the layout hasn't been completely finished yet or hasn't been tested
      Returns:
      If it's in beta state
    • getPlugin

      Plugin getPlugin()
      Returns the plugin that has created the layout
      Returns:
      The plugin that created the layout
    • getHandler

      ShopLayoutHandler getHandler()
      Returns the handler of it
      Returns:
      The handler of the layout