2022-05-12 09:36:43 -04:00
|
|
|
CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket
|
|
|
|
COMMENT A packet used to execute commands on the server.
|
|
|
|
COMMENT
|
2022-05-23 08:07:30 -04:00
|
|
|
COMMENT <p>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.
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT <p>If the command contains an invalid character (see {@link
|
2024-02-29 21:50:01 -05:00
|
|
|
COMMENT net.minecraft.util.StringHelper#isValidChar}) or if the server receives
|
2022-07-06 07:57:17 -04:00
|
|
|
COMMENT the commands in improper order, the server will reject the command and disconnect
|
|
|
|
COMMENT the client.
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT <p>Commands that took more than {@link
|
|
|
|
COMMENT net.minecraft.network.message.SignedMessage#SERVERBOUND_TIME_TO_LIVE}
|
2022-07-06 07:57:17 -04:00
|
|
|
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
|
2022-07-15 10:12:43 -04:00
|
|
|
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.
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT
|
2022-10-23 11:18:41 -04:00
|
|
|
COMMENT @see net.minecraft.client.network.ClientPlayNetworkHandler#sendCommand(String)
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution
|
2022-05-23 08:07:30 -04:00
|
|
|
FIELD comp_809 timestamp Ljava/time/Instant;
|
2022-07-20 12:54:35 -04:00
|
|
|
FIELD comp_969 acknowledgment Lnet/minecraft/class_7635$class_7636;
|
2024-01-17 14:51:34 -05:00
|
|
|
FIELD field_48178 CODEC Lnet/minecraft/class_9139;
|
2022-10-19 13:11:34 -04:00
|
|
|
METHOD <init> (Ljava/lang/String;Ljava/time/Instant;JLnet/minecraft/class_7450;Lnet/minecraft/class_7635$class_7636;)V
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 2 timestamp
|
2022-07-15 10:12:43 -04:00
|
|
|
ARG 3 salt
|
|
|
|
ARG 5 argumentSignatures
|
2022-05-12 09:36:43 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_2540;)V
|
|
|
|
ARG 1 buf
|
2022-05-23 08:07:30 -04:00
|
|
|
METHOD comp_809 timestamp ()Ljava/time/Instant;
|
2022-07-20 12:54:35 -04:00
|
|
|
METHOD comp_969 acknowledgment ()Lnet/minecraft/class_7635$class_7636;
|
2024-01-17 14:51:34 -05:00
|
|
|
METHOD method_55964 write (Lnet/minecraft/class_2540;)V
|
2024-01-17 22:28:29 -05:00
|
|
|
ARG 1 buf
|