Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accepted(String) - Static method in record class de.rexlcloud.core.api.module.ModuleApiResult
- ACCEPTED - Enum constant in enum class de.rexlcloud.core.api.module.ModuleApiResult.Status
-
The action was accepted and continues in the background.
- add(double, double, double) - Method in class de.rexlcloud.core.api.ServerLocation
-
Moves this location.
- add(ServerLocation) - Method in class de.rexlcloud.core.api.ServerLocation
-
Moves this location by the coordinates of another one.
- addConsoleAnimation(ConsoleAnimation) - Static method in class de.rexlcloud.core.console.Console
- addListener(BiConsumer) - Method in class de.rexlcloud.core.api.MessageChannel
-
Adds a listener for messages on this channel.
- addWrapper(String, UUID) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Registers credentials for a new wrapper.
- Argument - Annotation Interface in de.rexlcloud.core.command
-
Marks a parameter of a
CommandMethodmethod as the argument with this name in the command, e.g.
C
- callEvent(Event) - Method in class de.rexlcloud.core.api.events.EventManager
-
Calls the listeners of the event's exact class, ordered by priority.
- clear() - Static method in class de.rexlcloud.core.console.Console
- clearListeners() - Method in class de.rexlcloud.core.api.MessageChannel
-
Removes all listeners.
- CloudException - Exception Class in de.rexlcloud.core.api.exceptions
-
Base of the exceptions of the rexlCloud API.
- CloudException() - Constructor for exception class de.rexlcloud.core.api.exceptions.CloudException
- CloudException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.CloudException
- CloudModule - Class in de.rexlcloud.core.api.module
-
Base class of a module: an extension that runs inside the master, e.g.
- CloudModule() - Constructor for class de.rexlcloud.core.api.module.CloudModule
- CloudText - Class in de.rexlcloud.core.api
-
Text that admins write (messages, MOTD): MiniMessage, plus the classic
&and§colour codes. - CommandDescription - Annotation Interface in de.rexlcloud.core.command
-
A short description of a
CommandMethodcommand, shown in the console's help. - CommandManager - Class in de.rexlcloud.core.command
-
Registers console commands of modules; get it with
CloudModule.getCommandManager(). - CommandManager(CommandRegistry) - Constructor for class de.rexlcloud.core.command.CommandManager
-
Internal: created by the master.
- CommandMethod - Annotation Interface in de.rexlcloud.core.command
-
Marks a method as a console command; the value is the command with its arguments, e.g.
- CommandMethode - Annotation Interface in de.rexlcloud.core.command
-
Deprecated.
- CommandPreProcessor - Annotation Interface in de.rexlcloud.core.command
-
@CommandPreProcessor public String processedCommand(String input) { return "processed command"; } - conflict(String) - Static method in record class de.rexlcloud.core.api.module.ModuleApiResult
- CONFLICT - Enum constant in enum class de.rexlcloud.core.api.module.ModuleApiResult.Status
-
The action conflicts with the current state (e.g.
- connect(Server) - Method in class de.rexlcloud.core.api.Player
-
Sends the player to another server.
- connect(Channel, int, String) - Static method in class de.rexlcloud.core.api.RexlCloudApi
-
The API of this server: the existing one with the new connection, or a new one on the first connection.
- connect(String) - Method in class de.rexlcloud.core.api.Player
-
Sends the player to another server.
- connectAndTeleport(Server, ServerLocation) - Method in class de.rexlcloud.core.api.Player
-
Sends the player to another server and teleports them there once they arrived.
- connectAndTeleport(String, ServerLocation) - Method in class de.rexlcloud.core.api.Player
-
Sends the player to another server and teleports them there once they arrived.
- connectToFallbackServer() - Method in class de.rexlcloud.core.api.Player
-
Sends the player to a fallback server (a server of a group marked as fallback, e.g.
- Console - Class in de.rexlcloud.core.console
- Console(CommandRegistry) - Constructor for class de.rexlcloud.core.console.Console
- createRequest(PacketType, Z...) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Internal: sends a request to the master and completes with its answer.
- createServerGroup(String, String, int, boolean, String, int, boolean, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Creates a group, installs the server jar and starts its servers in the background.
- createTemplateFolder(String, String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Creates a folder in a template (
"."creates the variant itself).
D
- data() - Method in record class de.rexlcloud.core.api.module.ModuleApiResult
-
Returns the value of the
datarecord component. - de.rexlcloud.core.api - package de.rexlcloud.core.api
- de.rexlcloud.core.api.events - package de.rexlcloud.core.api.events
- de.rexlcloud.core.api.events.events - package de.rexlcloud.core.api.events.events
- de.rexlcloud.core.api.events.events.player - package de.rexlcloud.core.api.events.events.player
- de.rexlcloud.core.api.events.events.server - package de.rexlcloud.core.api.events.events.server
- de.rexlcloud.core.api.events.events.wrapper - package de.rexlcloud.core.api.events.events.wrapper
- de.rexlcloud.core.api.exceptions - package de.rexlcloud.core.api.exceptions
- de.rexlcloud.core.api.module - package de.rexlcloud.core.api.module
- de.rexlcloud.core.command - package de.rexlcloud.core.command
- de.rexlcloud.core.console - package de.rexlcloud.core.console
- de.rexlcloud.core.server - package de.rexlcloud.core.server
- debug(String) - Static method in class de.rexlcloud.core.console.Console
- debug(String, Object...) - Static method in class de.rexlcloud.core.console.Console
- deleteServerGroup(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Deletes a group and stops its servers for good.
- deleteTemplateFile(String, String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Deletes a file or folder; with an empty path a whole variant (not "default").
- disableModule(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Disables a loaded module.
E
- editServerGroup(String, Integer, Integer, Integer, Boolean, Boolean) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Changes the given values of a group;
nullvalues are left unchanged. - enable(ModuleInfo, File, EventManager, CommandManager, ServerJarManager, ModuleApi) - Method in class de.rexlcloud.core.api.module.CloudModule
-
Internal: called by the master to start the module.
- equals(Object) - Method in record class de.rexlcloud.core.api.module.ModuleApiResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class de.rexlcloud.core.api.Server
- equals(Object) - Method in class de.rexlcloud.core.api.ServerLocation
- equals(Object) - Method in class de.rexlcloud.core.api.Wrapper
- equals(Object) - Method in class de.rexlcloud.core.server.ServerGroup
- error(String) - Static method in class de.rexlcloud.core.console.Console
- error(String, Object...) - Static method in class de.rexlcloud.core.console.Console
- Event - Class in de.rexlcloud.core.api.events
-
Base of the cloud's events.
- Event() - Constructor for class de.rexlcloud.core.api.events.Event
- EventHandler - Annotation Interface in de.rexlcloud.core.api.events
-
Marks a method of a listener (see
EventManager.registerEvent(Object)) that takes exactly one event as parameter. - EventManager - Class in de.rexlcloud.core.api.events
-
Calls the listeners of the cloud's events; a module gets it with
CloudModule.getEventManager(). - EventManager() - Constructor for class de.rexlcloud.core.api.events.EventManager
-
Internal: created by the master.
- execute(String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Runs a console command on a server.
- executeOnServer(Server, String) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Runs a console command on a server.
G
- getAllServerNames() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getAllServers() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getAllServersByGroup(ServerGroup) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getAllWrapperNames() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getAuthor() - Method in class de.rexlcloud.core.api.module.ModuleInfo
-
Author of the module.
- getBlockX() - Method in class de.rexlcloud.core.api.ServerLocation
- getBlockY() - Method in class de.rexlcloud.core.api.ServerLocation
- getBlockZ() - Method in class de.rexlcloud.core.api.ServerLocation
- getCachedPlayers() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getCachedServer(String) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getCachedServers() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getChannel() - Method in class de.rexlcloud.core.api.MessageChannel
- getChannel() - Method in class de.rexlcloud.core.api.RexlCloudApi
-
The connection to the wrapper; replaced when the plugin connects again (e.g.
- getCommandCompleter() - Method in class de.rexlcloud.core.console.Console
- getCommandManager() - Method in class de.rexlcloud.core.api.module.CloudModule
-
Registers console commands of the module.
- getCommandRegistry() - Method in class de.rexlcloud.core.console.Console
- getConsoleAnimations() - Method in class de.rexlcloud.core.console.Console
- getCpuUsage() - Method in class de.rexlcloud.core.api.Wrapper
-
CPU load of the wrapper's machine from 0 to 1; negative if unknown.
- getCpuUsagePercent() - Method in class de.rexlcloud.core.api.Wrapper
- getData() - Method in class de.rexlcloud.core.api.Player
-
The stored data entries of the player; read them with
Player.getData(String). - getData(String) - Method in class de.rexlcloud.core.api.Player
-
Data a plugin stored for this player.
- getDataFolder() - Method in class de.rexlcloud.core.api.module.CloudModule
-
The module's own folder for its files,
modules/<name>/. - getDefaultTemplateFolder() - Method in class de.rexlcloud.core.server.ServerGroup
-
Template every server of the group starts from.
- getEventManager() - Method in class de.rexlcloud.core.api.module.CloudModule
-
The cloud's events (see
Event). - getFileWriter() - Method in class de.rexlcloud.core.console.Console
- getFreeMemory() - Method in class de.rexlcloud.core.api.Wrapper
- getFreeMemoryString() - Method in class de.rexlcloud.core.api.Wrapper
- getFrom() - Method in class de.rexlcloud.core.api.events.events.player.PlayerServerChangeEvent
-
The server the player came from,
nullif unknown. - getId() - Method in class de.rexlcloud.core.api.PlayerDatabaseData
- getInstance() - Static method in class de.rexlcloud.core.api.RexlCloudApi
-
The API of this server,
nulluntil the plugin connected to its wrapper the first time. - getJavaArguments() - Method in class de.rexlcloud.core.server.ServerGroup
-
Extra JVM arguments of the servers, e.g.
- getJavaCommand() - Method in class de.rexlcloud.core.server.ServerGroup
-
The Java the servers run with:
javafrom the wrapper's PATH or the path of an installed runtime. - getJavaRuntimes() - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Java installations reported by the connected wrappers, one entry per executable path with
path,version,major,vendor,nameand thewrappershaving it. - getKey() - Method in class de.rexlcloud.core.api.PlayerDatabaseData
-
Name of the value.
- getKey() - Method in class de.rexlcloud.core.api.Server
-
Identifies this run of the server; a new run (after a restart) gets a new key.
- getLocation() - Method in class de.rexlcloud.core.api.Player
- getLogin() - Method in class de.rexlcloud.core.api.Player
-
When the player joined the network, in milliseconds since the epoch.
- getLogList() - Method in class de.rexlcloud.core.console.Console
- getMainClass() - Method in class de.rexlcloud.core.api.module.ModuleInfo
-
The class that extends
CloudModule. - getMaxPlayers() - Method in class de.rexlcloud.core.server.ServerGroup
-
Player slots shown in the server list.
- getMemory() - Method in class de.rexlcloud.core.server.ServerGroup
-
Memory of each server in MB.
- getMessage() - Method in exception class de.rexlcloud.core.api.exceptions.CloudException
- getMessageChannel(String) - Method in class de.rexlcloud.core.api.MessageChannelManager
- getMessageChannelManager() - Static method in class de.rexlcloud.core.api.RexlCloudApi
-
Message channels for sending own objects between servers (see
MessageChannelManager). - getMessageChannels() - Method in class de.rexlcloud.core.api.MessageChannelManager
- getMinServers() - Method in class de.rexlcloud.core.server.ServerGroup
-
How many servers the cloud keeps running.
- getModuleApi() - Method in class de.rexlcloud.core.api.module.CloudModule
-
Reads and changes servers, groups, players, wrappers and more.
- getModuleInfo() - Method in class de.rexlcloud.core.api.module.CloudModule
-
What the module's
module.jsonsays. - getModules() - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Loaded modules and the jar files available in the module folder.
- getMotd() - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
The MOTD the proxies show, as MiniMessage:
motd,maintenance_motd(shown during maintenance) andmaintenance. - getName() - Method in class de.rexlcloud.core.api.module.ModuleInfo
-
Name of the module, also the name of its data folder.
- getName() - Method in class de.rexlcloud.core.api.Player
-
The player's name.
- getName() - Method in class de.rexlcloud.core.api.Server
-
Name of the server, e.g.
- getName() - Method in class de.rexlcloud.core.api.Wrapper
-
Name of the wrapper, e.g.
- getName() - Method in class de.rexlcloud.core.server.ServerGroup
-
Name of the group; its servers are called
<name>-1,<name>-2, ... - getOverview() - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Counts of servers, players, wrappers and groups plus the maintenance state.
- getPacketContainer() - Method in class de.rexlcloud.core.api.events.events.PacketReceivedEvent
-
The packet.
- getPitch() - Method in class de.rexlcloud.core.api.ServerLocation
- getPlayer() - Method in class de.rexlcloud.core.api.events.events.player.PlayerEvent
-
The player.
- getPlayer(String) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getPlayer(UUID) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getPlayerName() - Method in exception class de.rexlcloud.core.api.exceptions.PlayerNotFoundException
- getPlayers() - Method in interface de.rexlcloud.core.api.module.ModuleApi
- getPlayers() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getPlayersOnServer(Server) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getPlayersOnServerGroup(ServerGroup) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getPlayerUUID() - Method in exception class de.rexlcloud.core.api.exceptions.PlayerNotFoundException
- getPort() - Method in class de.rexlcloud.core.api.Server
-
The port players (or the proxy) connect to.
- getProxyServer() - Method in class de.rexlcloud.core.api.Player
-
The proxy the player is connected through.
- getReader() - Method in class de.rexlcloud.core.console.Console
- getRegisteredCommands() - Method in class de.rexlcloud.core.command.CommandManager
-
The command objects each module registered.
- getServer() - Method in class de.rexlcloud.core.api.events.events.server.ServerEvent
-
The server.
- getServer() - Method in class de.rexlcloud.core.api.Player
-
The server the player is on.
- getServer(String) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getServerConsole(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
- getServerGroup() - Method in class de.rexlcloud.core.api.Server
-
The group the server belongs to.
- getServerGroup(String) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getServerGroupName() - Method in exception class de.rexlcloud.core.api.exceptions.ServerGroupNotFoundException
- getServerGroups() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getServerGroupsInfos(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
- getServerInfos(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
- getServerJarManager() - Method in class de.rexlcloud.core.api.module.CloudModule
-
The server jars the cloud can install.
- getServerJars() - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Server jars that can be installed into a new group.
- getServerName() - Method in exception class de.rexlcloud.core.api.exceptions.ServerNotFoundException
- getServerName() - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Name of the server this plugin runs on, e.g.
- getServerStats(int) - Method in interface de.rexlcloud.core.api.module.ModuleApi
- getState() - Method in class de.rexlcloud.core.api.Server
-
A free-form state the server set with
Server.setState(String), e.g. - getTemplateFolder() - Method in class de.rexlcloud.core.server.ServerGroup
- getTemplates() - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Templates that can be edited: every non-static group with its variants, and global/server and global/proxy.
- getTerminal() - Method in class de.rexlcloud.core.console.Console
- getTo() - Method in class de.rexlcloud.core.api.events.events.player.PlayerServerChangeEvent
-
The server the player is on now.
- getTotalMemory() - Method in class de.rexlcloud.core.api.Wrapper
- getTotalMemoryString() - Method in class de.rexlcloud.core.api.Wrapper
- getType() - Method in class de.rexlcloud.core.server.ServerGroup
-
Servers or proxies.
- getUsedMemory() - Method in class de.rexlcloud.core.api.Wrapper
-
Memory of the machine in bytes: in use, available to new servers (including the page cache the system gives back) and in total.
- getUsedMemoryString() - Method in class de.rexlcloud.core.api.Wrapper
- getUuid() - Method in class de.rexlcloud.core.api.Player
-
The player's UUID.
- getUuid() - Method in class de.rexlcloud.core.api.PlayerDatabaseData
-
The player.
- getValue() - Method in class de.rexlcloud.core.api.PlayerDatabaseData
-
The serialized value; read it with
Player.getData(String). - getVersion() - Method in class de.rexlcloud.core.api.module.ModuleInfo
-
Version of the module.
- getWorldName() - Method in class de.rexlcloud.core.api.ServerLocation
-
Name of the world (Minestom: the UUID of the instance),
nullfor the player's current one. - getWrapper() - Method in class de.rexlcloud.core.api.events.events.wrapper.WrapperEvent
-
The wrapper.
- getWrapper() - Method in class de.rexlcloud.core.api.Server
-
The wrapper the server runs on.
- getWrapper() - Method in class de.rexlcloud.core.server.ServerGroup
-
The wrapper of a static group,
nullotherwise. - getWrapper(String) - Method in class de.rexlcloud.core.api.RexlCloudApi
- getWrapperName() - Method in exception class de.rexlcloud.core.api.exceptions.WrapperNotFoundException
- getWrappers() - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Registered wrappers with their connection state, resource usage and servers.
- getWrappers() - Method in class de.rexlcloud.core.api.RexlCloudApi
- getX() - Method in class de.rexlcloud.core.api.ServerLocation
-
X coordinate.
- getY() - Method in class de.rexlcloud.core.api.ServerLocation
-
Y coordinate.
- getYaw() - Method in class de.rexlcloud.core.api.ServerLocation
-
Viewing direction in degrees.
- getZ() - Method in class de.rexlcloud.core.api.ServerLocation
-
Z coordinate.
- greedy() - Element in annotation interface de.rexlcloud.core.command.Argument
-
only possible for the last argument in a command.
H
- handelPacket(PacketContainer) - Method in class de.rexlcloud.core.api.MessageChannel
-
Internal: passes a received message to the listeners.
- hasData(String) - Method in class de.rexlcloud.core.api.Player
- hashCode() - Method in record class de.rexlcloud.core.api.module.ModuleApiResult
-
Returns a hash code value for this object.
- hashCode() - Method in class de.rexlcloud.core.api.Server
- hashCode() - Method in class de.rexlcloud.core.api.ServerLocation
- hashCode() - Method in class de.rexlcloud.core.api.Wrapper
- hashCode() - Method in class de.rexlcloud.core.server.ServerGroup
I
- info(String) - Static method in class de.rexlcloud.core.console.Console
- info(String, Object...) - Static method in class de.rexlcloud.core.console.Console
- infoOnScreenOnly(String, Object...) - Static method in class de.rexlcloud.core.console.Console
-
Shows an info line on the screen but keeps it out of the log files, e.g.
- invalid(String) - Static method in record class de.rexlcloud.core.api.module.ModuleApiResult
- INVALID - Enum constant in enum class de.rexlcloud.core.api.module.ModuleApiResult.Status
-
The input was invalid.
- isCanceled() - Method in class de.rexlcloud.core.api.events.events.PacketReceivedEvent
-
Whether the master ignores the packet.
- isCustomJar() - Method in class de.rexlcloud.core.server.ServerGroup
-
The group's servers run the
server.jarthe user put into the template (e.g. - isDebug() - Method in class de.rexlcloud.core.console.Console
- isFallback() - Method in class de.rexlcloud.core.server.ServerGroup
-
Whether players are sent to this group's servers when they join or are kicked from another server.
- isMaintenance() - Method in interface de.rexlcloud.core.api.module.ModuleApi
- isOnline() - Method in class de.rexlcloud.core.api.Server
-
Whether the server is online: started and its cloud plugin is connected.
- isOnline() - Method in class de.rexlcloud.core.api.Wrapper
-
Whether the wrapper is connected to the master.
- isRemoveOldLogs() - Method in class de.rexlcloud.core.server.ServerGroup
-
Whether the logs of a static server are deleted when it starts.
- isRunning() - Method in class de.rexlcloud.core.console.Console
-
falseonce "stop" was entered. - isStaticServer() - Method in class de.rexlcloud.core.server.ServerGroup
-
Whether the group has one server that keeps its files on a fixed wrapper instead of starting fresh from the template.
- isSuccess() - Method in record class de.rexlcloud.core.api.module.ModuleApiResult
K
- kick(String) - Method in class de.rexlcloud.core.api.Player
-
Disconnects the player from the network.
- kickPlayer(UUID, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Disconnects a player from the network.
- kill(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Forcefully kills the server process on its wrapper.
L
- listTemplateFiles(String, String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Entries of a folder in a template (
pathempty for the template itself); data is the array. - loadModule(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Loads a module jar from the
modules/folder.
M
- message() - Method in record class de.rexlcloud.core.api.module.ModuleApiResult
-
Returns the value of the
messagerecord component. - MessageChannel<T> - Class in de.rexlcloud.core.api
-
A named channel for sending objects between servers of the network; register it on every server that uses it with
MessageChannelManager.registerMessageChannel(String, Class). - MessageChannel(String, Class) - Constructor for class de.rexlcloud.core.api.MessageChannel
-
Creates a new
MessageChannelinstance. - MessageChannelAlreadyRegisteredException - Exception Class in de.rexlcloud.core.api.exceptions
-
A message channel with this name is registered already.
- MessageChannelAlreadyRegisteredException() - Constructor for exception class de.rexlcloud.core.api.exceptions.MessageChannelAlreadyRegisteredException
- MessageChannelAlreadyRegisteredException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.MessageChannelAlreadyRegisteredException
- MessageChannelManager - Class in de.rexlcloud.core.api
-
The message channels of this server; get it with
RexlCloudApi.getMessageChannelManager(). - MessageChannelManager() - Constructor for class de.rexlcloud.core.api.MessageChannelManager
- MessageChannelNotRegisteredException - Exception Class in de.rexlcloud.core.api.exceptions
-
No message channel with this name is registered.
- MessageChannelNotRegisteredException() - Constructor for exception class de.rexlcloud.core.api.exceptions.MessageChannelNotRegisteredException
- MessageChannelNotRegisteredException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.MessageChannelNotRegisteredException
- messagePlayer(UUID, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Sends a chat message (MiniMessage) to a player.
- ModuleApi - Interface in de.rexlcloud.core.api.module
-
What a module can do with the cloud; get it with
CloudModule.getModuleApi(). - ModuleApiResult - Record Class in de.rexlcloud.core.api.module
-
Outcome of a state-changing
ModuleApicall. - ModuleApiResult(ModuleApiResult.Status, String, JsonElement) - Constructor for record class de.rexlcloud.core.api.module.ModuleApiResult
-
Creates an instance of a
ModuleApiResultrecord class. - ModuleApiResult.Status - Enum Class in de.rexlcloud.core.api.module
- ModuleInfo - Class in de.rexlcloud.core.api.module
-
The contents of a module's
module.json. - ModuleInfo(String, String, String, String) - Constructor for class de.rexlcloud.core.api.module.ModuleInfo
-
Creates a new
ModuleInfoinstance. - multiply(double) - Method in class de.rexlcloud.core.api.ServerLocation
-
Multiplies all coordinates.
- multiply(double, double, double) - Method in class de.rexlcloud.core.api.ServerLocation
-
Multiplies each coordinate.
N
- NoConnectionException - Exception Class in de.rexlcloud.core.api.exceptions
-
The plugin is not connected to its wrapper (e.g.
- NoConnectionException() - Constructor for exception class de.rexlcloud.core.api.exceptions.NoConnectionException
- NoConnectionException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.NoConnectionException
- NOT_FOUND - Enum constant in enum class de.rexlcloud.core.api.module.ModuleApiResult.Status
-
The referenced server, group, player, wrapper or module does not exist.
- notFound(String) - Static method in record class de.rexlcloud.core.api.module.ModuleApiResult
O
- ObjectParser - Annotation Interface in de.rexlcloud.core.command
-
@ObjectParser public Object parsObject(String input) { return object; } - ok() - Static method in record class de.rexlcloud.core.api.module.ModuleApiResult
- ok(JsonElement) - Static method in record class de.rexlcloud.core.api.module.ModuleApiResult
- ok(String) - Static method in record class de.rexlcloud.core.api.module.ModuleApiResult
- OK - Enum constant in enum class de.rexlcloud.core.api.module.ModuleApiResult.Status
-
The action was executed.
- onDisable() - Method in class de.rexlcloud.core.api.module.CloudModule
-
Called when the module is disabled or the master stops.
- onEnable() - Method in class de.rexlcloud.core.api.module.CloudModule
-
Called when the master loads the module.
- onReload() - Method in class de.rexlcloud.core.api.module.CloudModule
-
Called when the module is reloaded with
module reload.
P
- PacketReceivedEvent - Class in de.rexlcloud.core.api.events.events
-
A packet from a wrapper reached the master.
- PacketReceivedEvent(PacketContainer) - Constructor for class de.rexlcloud.core.api.events.events.PacketReceivedEvent
- parse(String) - Static method in class de.rexlcloud.core.api.CloudText
- Player - Class in de.rexlcloud.core.api
-
A player who is online on the network: on which proxy and server, and since when.
- Player(String, UUID, Server, Server, long, ArrayList) - Constructor for class de.rexlcloud.core.api.Player
-
Internal: players come from
RexlCloudApi. - PlayerCloudJoinEvent - Class in de.rexlcloud.core.api.events.events.player
-
A player joined the network.
- PlayerCloudJoinEvent(Player) - Constructor for class de.rexlcloud.core.api.events.events.player.PlayerCloudJoinEvent
- PlayerCloudQuitEvent - Class in de.rexlcloud.core.api.events.events.player
-
A player left the network.
- PlayerCloudQuitEvent(Player) - Constructor for class de.rexlcloud.core.api.events.events.player.PlayerCloudQuitEvent
- PlayerDatabaseData - Class in de.rexlcloud.core.api
-
One value a plugin stored for a player (see
Player.setData(String, java.io.Serializable)). - PlayerDatabaseData() - Constructor for class de.rexlcloud.core.api.PlayerDatabaseData
- PlayerDatabaseData(UUID, String, byte[]) - Constructor for class de.rexlcloud.core.api.PlayerDatabaseData
-
Internal: created by
Player.setData(String, java.io.Serializable). - PlayerEvent - Class in de.rexlcloud.core.api.events.events.player
-
An event about a player.
- PlayerEvent(Player) - Constructor for class de.rexlcloud.core.api.events.events.player.PlayerEvent
-
Creates a new
PlayerEventinstance. - PlayerNotFoundException - Exception Class in de.rexlcloud.core.api.exceptions
-
No player with this name or UUID is online.
- PlayerNotFoundException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.PlayerNotFoundException
- PlayerNotFoundException(UUID) - Constructor for exception class de.rexlcloud.core.api.exceptions.PlayerNotFoundException
- PlayerServerChangeEvent - Class in de.rexlcloud.core.api.events.events.player
-
A player switched to another server.
- PlayerServerChangeEvent(Player, Server, Server) - Constructor for class de.rexlcloud.core.api.events.events.player.PlayerServerChangeEvent
- priority() - Element in annotation interface de.rexlcloud.core.api.events.EventHandler
-
Listeners with a lower priority are called first.
- PROXY - Enum constant in enum class de.rexlcloud.core.server.ServerType
-
Velocity or BungeeCord proxies.
R
- receivePacket(PacketContainer) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Internal: called by the cloud plugin for every packet from the wrapper; keeps the cache up to date and completes requests.
- reconnect(Channel) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
The plugin's connection to its wrapper was re-established: requests go over the new one.
- registerCommands(CloudModule, Object) - Method in class de.rexlcloud.core.command.CommandManager
- registerEvent(Object) - Method in class de.rexlcloud.core.api.events.EventManager
-
Registers every method of the object that is annotated with
EventHandlerand takes one event. - registerMessageChannel(String, Class) - Method in class de.rexlcloud.core.api.MessageChannelManager
- reloadModule(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Reloads a loaded module (calls
CloudModule.onReload()). - removeData(String) - Method in class de.rexlcloud.core.api.Player
-
Removes the player's data under this key from the database.
- removeListeners(BiConsumer) - Method in class de.rexlcloud.core.api.MessageChannel
-
Removes a listener added with
MessageChannel.addListener(BiConsumer). - renderText(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Renders MiniMessage (and
&colour codes) to a JSON chat component, exactly as players see it. - replaceColorCodes(String) - Static method in class de.rexlcloud.core.api.CloudText
-
&a/§ato MiniMessage colours. - restart(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Stops the server and starts a new one from the same group.
- restoreMessage(String) - Method in exception class de.rexlcloud.core.api.exceptions.CloudException
-
Internal: restores the message of an exception received from another component.
- RexlCloudApi - Class in de.rexlcloud.core.api
-
Entry point of the rexlCloud API for plugins on cloud servers and proxies (Bridge, proxy plugin, MinestomBridge).
- RexlCloudApi(Channel, int, String) - Constructor for class de.rexlcloud.core.api.RexlCloudApi
-
Internal: created by the cloud plugin when it connects to its wrapper; use
RexlCloudApi.getInstance(). - run() - Method in class de.rexlcloud.core.console.Console
S
- saveServerToTemplate(String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Saves the files of a running server into a template variant of its group (e.g.
- sendMessage(String) - Method in class de.rexlcloud.core.api.Player
-
Sends a plain text message to the player.
- sendMessage(Component) - Method in class de.rexlcloud.core.api.Player
-
Sends a chat message to the player, e.g.
- sendMessage(T, Server...) - Method in class de.rexlcloud.core.api.MessageChannel
-
Sends an object to servers; their listeners on this channel receive it.
- sendPlayerDataUpdate(Player, String, byte[]) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Internal: sends changed player data to the master.
- Server - Class in de.rexlcloud.core.api
-
A server or proxy of the network as the API sees it.
- Server(AbstractServer, Wrapper) - Constructor for class de.rexlcloud.core.api.Server
-
Internal: servers come from
RexlCloudApi. - Server(String, UUID, ServerGroup, int, Wrapper, String, boolean) - Constructor for class de.rexlcloud.core.api.Server
-
Creates a new
Serverinstance. - SERVER - Enum constant in enum class de.rexlcloud.core.server.ServerType
-
Minecraft servers (Paper, Spigot or a custom jar).
- ServerEvent - Class in de.rexlcloud.core.api.events.events.server
-
An event about a server or proxy.
- ServerEvent(Server) - Constructor for class de.rexlcloud.core.api.events.events.server.ServerEvent
-
Creates a new
ServerEventinstance. - ServerGroup - Class in de.rexlcloud.core.server
-
A group of servers or proxies started from the same template with the same settings, e.g.
- ServerGroup(String, ServerType, int, boolean, String, int, boolean, boolean, String, int, String) - Constructor for class de.rexlcloud.core.server.ServerGroup
-
Internal: groups are created by the master.
- ServerGroupNotFoundException - Exception Class in de.rexlcloud.core.api.exceptions
-
There is no group with this name.
- ServerGroupNotFoundException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.ServerGroupNotFoundException
- ServerLocation - Class in de.rexlcloud.core.api
-
A position in a world of a server, independent of the server software (Bukkit
Location, MinestomPos); the Bridge and MinestomBridge convert it. - ServerLocation(double, double, double) - Constructor for class de.rexlcloud.core.api.ServerLocation
-
A position in the player's current world, looking straight ahead.
- ServerLocation(double, double, double, float, float) - Constructor for class de.rexlcloud.core.api.ServerLocation
-
A position and viewing direction in the player's current world.
- ServerLocation(String, double, double, double) - Constructor for class de.rexlcloud.core.api.ServerLocation
-
A position in a world, looking straight ahead.
- ServerLocation(String, double, double, double, float, float) - Constructor for class de.rexlcloud.core.api.ServerLocation
-
A position and viewing direction in a world.
- ServerNotFoundException - Exception Class in de.rexlcloud.core.api.exceptions
-
There is no server with this name.
- ServerNotFoundException(Server) - Constructor for exception class de.rexlcloud.core.api.exceptions.ServerNotFoundException
- ServerNotFoundException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.ServerNotFoundException
- ServerStartEvent - Class in de.rexlcloud.core.api.events.events.server
-
A server came online (its cloud plugin connected).
- ServerStartEvent(Server) - Constructor for class de.rexlcloud.core.api.events.events.server.ServerStartEvent
- ServerStopEvent - Class in de.rexlcloud.core.api.events.events.server
-
An online server is stopping.
- ServerStopEvent(Server) - Constructor for class de.rexlcloud.core.api.events.events.server.ServerStopEvent
- ServerType - Enum Class in de.rexlcloud.core.server
-
Whether a group runs servers or proxies.
- setCanceled(boolean) - Method in class de.rexlcloud.core.api.events.events.PacketReceivedEvent
-
Whether the master ignores the packet.
- setCustomJar(boolean) - Method in class de.rexlcloud.core.server.ServerGroup
-
The group's servers run the
server.jarthe user put into the template (e.g. - setData(String, T) - Method in class de.rexlcloud.core.api.Player
-
Stores data for the player in the cloud's database, replacing a value with the same key.
- setDebug() - Method in class de.rexlcloud.core.console.Console
- setFallback(boolean) - Method in class de.rexlcloud.core.server.ServerGroup
-
Whether players are sent to this group's servers when they join or are kicked from another server.
- setJavaArguments(String) - Method in class de.rexlcloud.core.server.ServerGroup
-
Extra JVM arguments of the servers, e.g.
- setJavaCommand(String) - Method in class de.rexlcloud.core.server.ServerGroup
-
The Java the servers run with:
javafrom the wrapper's PATH or the path of an installed runtime. - setMaintenance(boolean) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Turns maintenance mode on or off for the whole network.
- setMaxPlayers(int) - Method in class de.rexlcloud.core.server.ServerGroup
-
Player slots shown in the server list.
- setMemory(int) - Method in class de.rexlcloud.core.server.ServerGroup
-
Memory of each server in MB.
- setMinServers(int) - Method in class de.rexlcloud.core.server.ServerGroup
-
How many servers the cloud keeps running.
- setMotd(String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Changes the MOTD of all proxies;
nullvalues stay unchanged. - setRemoveOldLogs(boolean) - Method in class de.rexlcloud.core.server.ServerGroup
-
Whether the logs of a static server are deleted when it starts.
- setServerGroupJavaRuntime(String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Sets the Java runtime the servers of a group run with:
"java"for the one on the wrapper's PATH, or the path of a runtime listed byModuleApi.getJavaRuntimes(). - setState(String) - Method in class de.rexlcloud.core.api.Server
-
Sets the state of the server this plugin runs on, e.g.
- setValue(byte[]) - Method in class de.rexlcloud.core.api.PlayerDatabaseData
-
The serialized value; read it with
Player.getData(String). - start(String, int) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Starts more servers of a group.
- startServer(ServerGroup) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Starts one more server of a group.
- startServer(ServerGroup, int) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Starts more servers of a group.
- status() - Method in record class de.rexlcloud.core.api.module.ModuleApiResult
-
Returns the value of the
statusrecord component. - stop(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Stops a server; its group starts a new one if it needs it for its minimum.
- stopLogging() - Method in class de.rexlcloud.core.console.Console
- stopServer(Server) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Stops a server.
- stopServer(String) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Stops a server.
- stopWrapper(Wrapper) - Method in class de.rexlcloud.core.api.RexlCloudApi
-
Shuts a wrapper down; it stops its servers.
- stopWrapper(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Shuts a wrapper down; it stops its servers.
- subscribeConsole(String, Consumer) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Calls the listener for every new console line of the server until the returned handle is closed.
- subtract(double, double, double) - Method in class de.rexlcloud.core.api.ServerLocation
-
Moves this location back.
- subtract(ServerLocation) - Method in class de.rexlcloud.core.api.ServerLocation
-
Moves this location back by the coordinates of another one.
- Suggestion - Annotation Interface in de.rexlcloud.core.command
-
Default implementation:
- suggestions() - Element in annotation interface de.rexlcloud.core.command.Argument
-
Name of the
Suggestionthat completes this argument in the console. - syncServerGroupTemplate(String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Makes all wrappers check the group's template again and repair differences.
T
- teleport(ServerLocation) - Method in class de.rexlcloud.core.api.Player
-
Teleports the player on the server they are on.
- templateFile(String, String, String) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Data is the absolute path of the file, for reading it.
- TimeOutException - Exception Class in de.rexlcloud.core.api.exceptions
-
The master did not answer the request within 10 seconds.
- TimeOutException() - Constructor for exception class de.rexlcloud.core.api.exceptions.TimeOutException
- TimeOutException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.TimeOutException
- toJson(String) - Static method in class de.rexlcloud.core.api.CloudText
-
The text as JSON chat component, the format messages are sent to players in.
- ToManyRequestsException - Exception Class in de.rexlcloud.core.api.exceptions
-
Too many requests of this server are waiting for an answer; try again later.
- ToManyRequestsException() - Constructor for exception class de.rexlcloud.core.api.exceptions.ToManyRequestsException
- ToManyRequestsException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.ToManyRequestsException
- toString() - Method in record class de.rexlcloud.core.api.module.ModuleApiResult
-
Returns a string representation of this record class.
- toString() - Method in class de.rexlcloud.core.api.ServerLocation
U
- unregisterAllCommands(CloudModule) - Method in class de.rexlcloud.core.command.CommandManager
-
Removes all commands of a module.
- unregisterCommands(CloudModule, Object) - Method in class de.rexlcloud.core.command.CommandManager
-
Removes the commands of one object.
- unregisterMessageChannel(MessageChannel) - Method in class de.rexlcloud.core.api.MessageChannelManager
-
Unregisters a channel; it receives no more messages.
- unregisterMessageChannel(String) - Method in class de.rexlcloud.core.api.MessageChannelManager
-
Unregisters a channel; it receives no more messages.
- update(Player, Server) - Method in class de.rexlcloud.core.api.Player
-
Internal: applies a newer state of the player.
- update(Server, Wrapper) - Method in class de.rexlcloud.core.api.Server
-
Internal: applies a newer state of the server.
- update(Wrapper) - Method in class de.rexlcloud.core.api.Wrapper
-
Internal: applies a newer state of the wrapper.
- updateData(String, byte[]) - Method in class de.rexlcloud.core.api.Player
-
Internal: applies data changed on another server.
- updateWrapper(Wrapper) - Method in class de.rexlcloud.core.api.Server
-
Internal: replaces the wrapper with the cached object.
V
- value() - Element in annotation interface de.rexlcloud.core.command.Argument
-
Name of the argument in the command, without the angle brackets.
- value() - Element in annotation interface de.rexlcloud.core.command.CommandDescription
-
The description.
- value() - Element in annotation interface de.rexlcloud.core.command.CommandMethod
-
The command: fixed words and
<arguments>, e.g. - value() - Element in annotation interface de.rexlcloud.core.command.CommandMethode
-
Deprecated.
- value() - Element in annotation interface de.rexlcloud.core.command.ObjectParser
-
The parameter type this method converts arguments to.
- value() - Element in annotation interface de.rexlcloud.core.command.Suggestion
-
Name the arguments refer to with
Argument.suggestions(). - valueOf(String) - Static method in enum class de.rexlcloud.core.api.module.ModuleApiResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.rexlcloud.core.server.ServerType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.rexlcloud.core.api.module.ModuleApiResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.rexlcloud.core.server.ServerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Static method in class de.rexlcloud.core.console.Console
- warn(String, Object...) - Static method in class de.rexlcloud.core.console.Console
- Wrapper - Class in de.rexlcloud.core.api
-
A wrapper (a machine that runs servers) as the API sees it, with the resource usage it last reported.
- Wrapper(String, boolean, double, long, long, long) - Constructor for class de.rexlcloud.core.api.Wrapper
-
Creates a new
Wrapperinstance. - WrapperConnectedEvent - Class in de.rexlcloud.core.api.events.events.wrapper
-
A wrapper connected to the master.
- WrapperConnectedEvent(Wrapper) - Constructor for class de.rexlcloud.core.api.events.events.wrapper.WrapperConnectedEvent
- WrapperDisconnectedEvent - Class in de.rexlcloud.core.api.events.events.wrapper
-
A wrapper's connection to the master ended.
- WrapperDisconnectedEvent(Wrapper) - Constructor for class de.rexlcloud.core.api.events.events.wrapper.WrapperDisconnectedEvent
- WrapperEvent - Class in de.rexlcloud.core.api.events.events.wrapper
-
An event about a wrapper.
- WrapperEvent(Wrapper) - Constructor for class de.rexlcloud.core.api.events.events.wrapper.WrapperEvent
-
Creates a new
WrapperEventinstance. - WrapperNotFoundException - Exception Class in de.rexlcloud.core.api.exceptions
-
There is no wrapper with this name.
- WrapperNotFoundException(String) - Constructor for exception class de.rexlcloud.core.api.exceptions.WrapperNotFoundException
- write(String) - Static method in class de.rexlcloud.core.console.Console
- write(String, Object...) - Static method in class de.rexlcloud.core.console.Console
- writeTemplateFile(String, String, String, InputStream) - Method in interface de.rexlcloud.core.api.module.ModuleApi
-
Creates or replaces a file with the content (at most 1 GB).
All Classes and Interfaces|All Packages|Serialized Form
CommandMethod; still works for existing modules