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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents the information that the server shall display. -
Method Summary
Modifier and TypeMethodDescriptionvoidApply the given information to the cloud system.default HookCategoryGet 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:HookGet the category of the hook.- Specified by:
getCategoryin 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
-