Class OpSelfCommand
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractPlayerCommand
com.hypixel.hytale.server.core.permissions.commands.op.OpSelfCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Messageprivate static final Messageprivate static final Messageprivate static final Messageprivate static final MessageFields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidexecute(CommandContext context, Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef, World world) Methods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractPlayerCommand
executeAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
execute, runAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, completeRegistration, countParents, generatePermissionNode, getAliases, getDescription, getFullyQualifiedName, getName, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommands, getUsageShort, getUsageString, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requirePermission, setAllowsExtraArguments, setOwner, setPermissionGroup, setPermissionGroups, setUnavailableInSingleplayer, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Field Details
-
MESSAGE_COMMANDS_OP_ADDED
-
MESSAGE_COMMANDS_OP_REMOVED
-
MESSAGE_COMMANDS_NON_VANILLA_PERMISSIONS
-
MESSAGE_COMMANDS_SINGLEPLAYER_OWNER_REQ
-
MESSAGE_COMMANDS_MULTIPLAYER_TIP
-
-
Constructor Details
-
OpSelfCommand
public OpSelfCommand()
-
-
Method Details
-
canGeneratePermission
protected boolean canGeneratePermission()- Overrides:
canGeneratePermissionin classAbstractCommand
-
execute
protected void execute(@NonNullDecl CommandContext context, @NonNullDecl Store<EntityStore> store, @NonNullDecl Ref<EntityStore> ref, @NonNullDecl PlayerRef playerRef, @NonNullDecl World world) - Specified by:
executein classAbstractPlayerCommand
-