Package de.marcely.bedwars.api.hook
Interface CloudSystemHook
- All Superinterfaces:
Hook
Represents a hook that is used to interact with the cloud system.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Represents the information that the server shall display. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply the given information to the cloud system.default HookCategory
Get the category of the hook.Get the name of the server.Methods inherited from interface de.marcely.bedwars.api.hook.Hook
getHookedPlugin, getManagingPlugin, isActive
-
Method Details
-
getCategory
Description copied from interface:Hook
Get the category of the hook.- Specified by:
getCategory
in interfaceHook
- Returns:
- The category of the hook
-
getServerName
String getServerName()Get the name of the server.This is usually also the name that the cloud system uses within the Bungee settings as the server's channel name.
- Returns:
- The name of the server
-
applyInfo
Apply the given information to the cloud system.This method is used to update the cloud system's status, player amounts and extra information that is displayed to the user.
- Parameters:
info
- The information that shall be displayed
-