CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket COMMENT A packet used to execute commands on the server. COMMENT COMMENT

This truncates the command to at most 256 characters before sending to the COMMENT server on the client. If the server receives the command longer than 256 characters, COMMENT it will reject the message and disconnect the client. COMMENT COMMENT

If the command contains an invalid character (see {@link COMMENT net.minecraft.SharedConstants#isValidChar}) or if the server receives COMMENT the commands in improper order, the server will reject the command and disconnect COMMENT the client. COMMENT COMMENT

Commands that took more than {@link COMMENT net.minecraft.network.message.SignedMessage#SERVERBOUND_TIME_TO_LIVE} COMMENT to reach the server are considered expired and log warnings on the server COMMENT if it contains signed message arguments. If the message takes more than COMMENT {@link net.minecraft.network.message.SignedMessage#CLIENTBOUND_TIME_TO_LIVE} to COMMENT reach the clients (including the time it took to reach the server), the message COMMENT is not considered secure anymore by the clients, and may be discarded depending COMMENT on the clients' options. COMMENT COMMENT @see net.minecraft.client.network.ClientPlayNetworkHandler#sendCommand(String) COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution FIELD comp_809 timestamp Ljava/time/Instant; FIELD comp_969 acknowledgment Lnet/minecraft/class_7635$class_7636; FIELD field_48178 CODEC Lnet/minecraft/class_9139; METHOD (Ljava/lang/String;Ljava/time/Instant;JLnet/minecraft/class_7450;Lnet/minecraft/class_7635$class_7636;)V ARG 2 timestamp ARG 3 salt ARG 5 argumentSignatures METHOD (Lnet/minecraft/class_2540;)V ARG 1 buf METHOD comp_809 timestamp ()Ljava/time/Instant; METHOD comp_969 acknowledgment ()Lnet/minecraft/class_7635$class_7636; METHOD method_55964 write (Lnet/minecraft/class_2540;)V