CommandManager

public class CommandManager implements CommandOwner

Class CommandManager. Provides commandmanager functionality for the Hytale server.

java.lang.Object > CommandManager

Field Summary

permissionsForGroup

final Set permissionsForGroup

Field permissionsForGroup.

name

final String name

Field name.

messageText

final String messageText

Field messageText.

remove

final AbstractCommand remove

Field remove.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

playerComponent

final Player playerComponent

Field playerComponent.

future

final CompletableFuture future

Field future.

thread

final Thread thread

Field thread.

oldName

final String oldName

Field oldName.

endIndex

final int endIndex

Field endIndex.

commandName

final String commandName

Field commandName.

key

final String key

Field key.

parseResult

final ParseResult parseResult

Field parseResult.

tokens

final List tokens

Field tokens.

parserContext

final ParserContext parserContext

Field parserContext.

commandFuture

final CompletableFuture commandFuture

Field commandFuture.

errorMsg

final Message errorMsg

Field errorMsg.

Method Detail

get

static CommandManager get ()

Method get.

CommandManager

public public CommandManager ()

Method CommandManager.

shutdown

public void shutdown ()

Method shutdown.

getCommandRegistration

public AbstractCommand> getCommandRegistration ()

Method getCommandRegistration.

registerCommands

public void registerCommands ()

Method registerCommands.

ChunkCommand

public new ChunkCommand ()

Method ChunkCommand.

LogCommand

public new LogCommand ()

Method LogCommand.

PIDCheckCommand

public new PIDCheckCommand ()

Method PIDCheckCommand.

PingCommand

public new PingCommand ()

Method PingCommand.

WorldGenCommand

public new WorldGenCommand ()

Method WorldGenCommand.

HitDetectionCommand

public new HitDetectionCommand ()

Method HitDetectionCommand.

PacketStatsCommand

public new PacketStatsCommand ()

Method PacketStatsCommand.

AssetsCommand

public new AssetsCommand ()

Method AssetsCommand.

PacksCommand

public new PacksCommand ()

Method PacksCommand.

ServerCommand

public new ServerCommand ()

Method ServerCommand.

StressTestCommand

public new StressTestCommand ()

Method StressTestCommand.

HitboxCollisionCommand

public new HitboxCollisionCommand ()

Method HitboxCollisionCommand.

DebugPlayerPositionCommand

public new DebugPlayerPositionCommand ()

Method DebugPlayerPositionCommand.

MessageTranslationTestCommand

public new MessageTranslationTestCommand ()

Method MessageTranslationTestCommand.

HudManagerTestCommand

public new HudManagerTestCommand ()

Method HudManagerTestCommand.

RepulsionCommand

public new RepulsionCommand ()

Method RepulsionCommand.

StopNetworkChunkSendingCommand

public new StopNetworkChunkSendingCommand ()

Method StopNetworkChunkSendingCommand.

ShowBuilderToolsHudCommand

public new ShowBuilderToolsHudCommand ()

Method ShowBuilderToolsHudCommand.

VersionCommand

public new VersionCommand ()

Method VersionCommand.

ParticleCommand

public new ParticleCommand ()

Method ParticleCommand.

TagPatternCommand

public new TagPatternCommand ()

Method TagPatternCommand.

GameModeCommand

public new GameModeCommand ()

Method GameModeCommand.

HideCommand

public new HideCommand ()

Method HideCommand.

KillCommand

public new KillCommand ()

Method KillCommand.

DamageCommand

public new DamageCommand ()

Method DamageCommand.

SudoCommand

public new SudoCommand ()

Method SudoCommand.

WhereAmICommand

public new WhereAmICommand ()

Method WhereAmICommand.

WhoAmICommand

public new WhoAmICommand ()

Method WhoAmICommand.

ReferCommand

public new ReferCommand ()

Method ReferCommand.

ToggleBlockPlacementOverrideCommand

public new ToggleBlockPlacementOverrideCommand ()

Method ToggleBlockPlacementOverrideCommand.

GiveCommand

public new GiveCommand ()

Method GiveCommand.

InventoryCommand

public new InventoryCommand ()

Method InventoryCommand.

ItemStateCommand

public new ItemStateCommand ()

Method ItemStateCommand.

AuthCommand

public new AuthCommand ()

Method AuthCommand.

KickCommand

public new KickCommand ()

Method KickCommand.

MaxPlayersCommand

public new MaxPlayersCommand ()

Method MaxPlayersCommand.

StopCommand

public new StopCommand ()

Method StopCommand.

WhoCommand

public new WhoCommand ()

Method WhoCommand.

BackupCommand

public new BackupCommand ()

Method BackupCommand.

ConvertPrefabsCommand

public new ConvertPrefabsCommand ()

Method ConvertPrefabsCommand.

HelpCommand

public new HelpCommand ()

Method HelpCommand.

NotifyCommand

public new NotifyCommand ()

Method NotifyCommand.

EventTitleCommand

public new EventTitleCommand ()

Method EventTitleCommand.

ValidateCPBCommand

public new ValidateCPBCommand ()

Method ValidateCPBCommand.

WorldMapCommand

public new WorldMapCommand ()

Method WorldMapCommand.

SoundCommand

public new SoundCommand ()

Method SoundCommand.

StashCommand

public new StashCommand ()

Method StashCommand.

SpawnBlockCommand

public new SpawnBlockCommand ()

Method SpawnBlockCommand.

EntityCommand

public new EntityCommand ()

Method EntityCommand.

PlayerCommand

public new PlayerCommand ()

Method PlayerCommand.

LightingCommand

public new LightingCommand ()

Method LightingCommand.

SleepCommand

public new SleepCommand ()

Method SleepCommand.

NetworkCommand

public new NetworkCommand ()

Method NetworkCommand.

CommandsCommand

public new CommandsCommand ()

Method CommandsCommand.

UpdateCommand

public new UpdateCommand ()

Method UpdateCommand.

createVirtualPermissionGroups

public Set> createVirtualPermissionGroups ()

Method createVirtualPermissionGroups.

HashSet

public new HashSet ()

Method HashSet.

registerSystemCommand

public void registerSystemCommand (@Nonnull final AbstractCommand command)

Method registerSystemCommand.

Parameters:
@Nonnull final AbstractCommand command

register

Method register.

Parameters:
@Nonnull final AbstractCommand command

CommandRegistration

public new CommandRegistration (command, ()

Method CommandRegistration.

Parameters:
command command
( (

handleCommand

public CompletableFuture handleCommand (@Nonnull final PlayerRef playerRef, @Nonnull final String command)

Method handleCommand.

Parameters:
@Nonnull final PlayerRef playerRef
@Nonnull final String command

runCommand

private void runCommand (@Nonnull final CommandSender commandSender, @Nonnull final String commandInput, @Nonnull final AbstractCommand abstractCommand, @Nonnull final CompletableFuture future)

Method runCommand.

Parameters:
@Nonnull final CommandSender commandSender
@Nonnull final String commandInput
@Nonnull final AbstractCommand abstractCommand
@Nonnull final CompletableFuture future

SkipSentryException

public new SkipSentryException (throwable)

Method SkipSentryException.

Parameters:
throwable throwable

isInternalException

static boolean isInternalException (@Nonnull final Throwable throwable)

Method isInternalException.

Parameters:
@Nonnull final Throwable throwable

handleCommands

public CompletableFuture handleCommands (@Nonnull final CommandSender sender, @Nonnull final Deque commands)

Method handleCommands.

Parameters:
@Nonnull final CommandSender sender
@Nonnull final Deque commands

handleCommands0

private CompletableFuture handleCommands0 (@Nonnull final CommandSender sender, @Nonnull final Deque commands)

Method handleCommands0.

Parameters:
@Nonnull final CommandSender sender
@Nonnull final Deque commands

getName

public String getName ()

Method getName.