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
This instance only represents the info of a layout. The actual logic is located in
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 TypeMethodDescriptionReturns the handler of itgetName()
Returns the name of the layout that will be shown inter alia in the shop configReturns the plugin that has created the layoutdefault ShopLayoutType
getType()
Returns the type of the layout to make it easier to differentiate to default onesboolean
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
-
Method Details
-
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
-