public class CommandManager implements CommandOwner
Class CommandManager. Provides commandmanager functionality for the Hytale server.
java.lang.Object > CommandManager
Field Summary
permissionsForGroup
Field permissionsForGroup.
name
Field name.
messageText
Field messageText.
remove
Field remove.
ref
Field ref.
store
Field store.
playerComponent
Field playerComponent.
future
Field future.
thread
Field thread.
oldName
Field oldName.
endIndex
Field endIndex.
commandName
Field commandName.
key
Field key.
parseResult
Field parseResult.
tokens
Field tokens.
parserContext
Field parserContext.
commandFuture
Field commandFuture.
errorMsg
Field errorMsg.
Method Detail
CommandManager
public
CommandManager
()
Method CommandManager.
shutdown
void
shutdown
()
Method shutdown.
getCommandRegistration
AbstractCommand>
getCommandRegistration
()
Method getCommandRegistration.
registerCommands
void
registerCommands
()
Method registerCommands.
ChunkCommand
new
ChunkCommand
()
Method ChunkCommand.
LogCommand
new
LogCommand
()
Method LogCommand.
PIDCheckCommand
new
PIDCheckCommand
()
Method PIDCheckCommand.
PingCommand
new
PingCommand
()
Method PingCommand.
WorldGenCommand
new
WorldGenCommand
()
Method WorldGenCommand.
HitDetectionCommand
new
HitDetectionCommand
()
Method HitDetectionCommand.
PacketStatsCommand
new
PacketStatsCommand
()
Method PacketStatsCommand.
AssetsCommand
new
AssetsCommand
()
Method AssetsCommand.
PacksCommand
new
PacksCommand
()
Method PacksCommand.
ServerCommand
new
ServerCommand
()
Method ServerCommand.
StressTestCommand
new
StressTestCommand
()
Method StressTestCommand.
HitboxCollisionCommand
new
HitboxCollisionCommand
()
Method HitboxCollisionCommand.
DebugPlayerPositionCommand
new
DebugPlayerPositionCommand
()
Method DebugPlayerPositionCommand.
MessageTranslationTestCommand
new
MessageTranslationTestCommand
()
Method MessageTranslationTestCommand.
HudManagerTestCommand
new
HudManagerTestCommand
()
Method HudManagerTestCommand.
RepulsionCommand
new
RepulsionCommand
()
Method RepulsionCommand.
StopNetworkChunkSendingCommand
new
StopNetworkChunkSendingCommand
()
Method StopNetworkChunkSendingCommand.
ShowBuilderToolsHudCommand
new
ShowBuilderToolsHudCommand
()
Method ShowBuilderToolsHudCommand.
VersionCommand
new
VersionCommand
()
Method VersionCommand.
ParticleCommand
new
ParticleCommand
()
Method ParticleCommand.
TagPatternCommand
new
TagPatternCommand
()
Method TagPatternCommand.
GameModeCommand
new
GameModeCommand
()
Method GameModeCommand.
HideCommand
new
HideCommand
()
Method HideCommand.
KillCommand
new
KillCommand
()
Method KillCommand.
DamageCommand
new
DamageCommand
()
Method DamageCommand.
SudoCommand
new
SudoCommand
()
Method SudoCommand.
WhereAmICommand
new
WhereAmICommand
()
Method WhereAmICommand.
WhoAmICommand
new
WhoAmICommand
()
Method WhoAmICommand.
ReferCommand
new
ReferCommand
()
Method ReferCommand.
ToggleBlockPlacementOverrideCommand
new
ToggleBlockPlacementOverrideCommand
()
Method ToggleBlockPlacementOverrideCommand.
GiveCommand
new
GiveCommand
()
Method GiveCommand.
InventoryCommand
new
InventoryCommand
()
Method InventoryCommand.
ItemStateCommand
new
ItemStateCommand
()
Method ItemStateCommand.
AuthCommand
new
AuthCommand
()
Method AuthCommand.
KickCommand
new
KickCommand
()
Method KickCommand.
MaxPlayersCommand
new
MaxPlayersCommand
()
Method MaxPlayersCommand.
StopCommand
new
StopCommand
()
Method StopCommand.
WhoCommand
new
WhoCommand
()
Method WhoCommand.
BackupCommand
new
BackupCommand
()
Method BackupCommand.
ConvertPrefabsCommand
new
ConvertPrefabsCommand
()
Method ConvertPrefabsCommand.
HelpCommand
new
HelpCommand
()
Method HelpCommand.
NotifyCommand
new
NotifyCommand
()
Method NotifyCommand.
EventTitleCommand
new
EventTitleCommand
()
Method EventTitleCommand.
ValidateCPBCommand
new
ValidateCPBCommand
()
Method ValidateCPBCommand.
WorldMapCommand
new
WorldMapCommand
()
Method WorldMapCommand.
SoundCommand
new
SoundCommand
()
Method SoundCommand.
StashCommand
new
StashCommand
()
Method StashCommand.
SpawnBlockCommand
new
SpawnBlockCommand
()
Method SpawnBlockCommand.
EntityCommand
new
EntityCommand
()
Method EntityCommand.
PlayerCommand
new
PlayerCommand
()
Method PlayerCommand.
LightingCommand
new
LightingCommand
()
Method LightingCommand.
SleepCommand
new
SleepCommand
()
Method SleepCommand.
NetworkCommand
new
NetworkCommand
()
Method NetworkCommand.
CommandsCommand
new
CommandsCommand
()
Method CommandsCommand.
UpdateCommand
new
UpdateCommand
()
Method UpdateCommand.
createVirtualPermissionGroups
Set>
createVirtualPermissionGroups
()
Method createVirtualPermissionGroups.
HashSet
new
HashSet
()
Method HashSet.
registerSystemCommand
Method registerSystemCommand.
- Parameters:
@Nonnull final AbstractCommandcommand
CommandRegistration
new
CommandRegistration
(command, ()
Method CommandRegistration.
- Parameters:
commandcommand((
handleCommand
CompletableFuture
handleCommand
(@Nonnull final PlayerRef playerRef, @Nonnull final String command)
Method handleCommand.
- Parameters:
@Nonnull final PlayerRefplayerRef@Nonnull final Stringcommand
runCommand
void
runCommand
(@Nonnull final CommandSender commandSender, @Nonnull final String commandInput, @Nonnull final AbstractCommand abstractCommand, @Nonnull final CompletableFuture future)
Method runCommand.
- Parameters:
@Nonnull final CommandSendercommandSender@Nonnull final StringcommandInput@Nonnull final AbstractCommandabstractCommand@Nonnull final CompletableFuturefuture
SkipSentryException
new
SkipSentryException
(throwable)
Method SkipSentryException.
- Parameters:
throwablethrowable
isInternalException
boolean
isInternalException
(@Nonnull final Throwable throwable)
Method isInternalException.
- Parameters:
@Nonnull final Throwablethrowable
handleCommands
CompletableFuture
handleCommands
(@Nonnull final CommandSender sender, @Nonnull final Deque commands)
Method handleCommands.
- Parameters:
@Nonnull final CommandSendersender@Nonnull final Dequecommands
handleCommands0
CompletableFuture
handleCommands0
(@Nonnull final CommandSender sender, @Nonnull final Deque commands)
Method handleCommands0.
- Parameters:
@Nonnull final CommandSendersender@Nonnull final Dequecommands
getName
String
getName
()
Method getName.